#dev 2017-12-26

2017-12-26 UTC
John___, eli_oat, [tantek], j12t, KartikPrabhu, renem, [chrisaldrich], [miklb], tomasparks, snarfed and tantek joined the channel
#
tantek.com
edited /POSSE (+673) "/* Update */ more details, link out to silo pages for more, capture silo-specific notes / to-dos"
(view diff)
KevinMarks, tbbrown and tantek joined the channel
#
Zegnat
Hmm, have people posted /video posts with embedded videos from e.g. YouTube? I am wondering how I would mark those up.
#
Zegnat
I am leaning towards e-video on the embed code. But that will obviously not be compatible with Post Type Discovery.
#
sknebel
so you want to avoid hosting the video yourself
#
sknebel
(I posted a post with an embedded video recently, but that was only a link-preview so to speak and not a video I am publishing, so not a /video post
#
Zegnat
Yes. I wouldn’t want to host it myself in this case.
#
Zegnat
E.g. I consume a lot of video game content. If I want to post a particular play through that happened on Twitch, those can easily be several hour long videos, that I have no intention of hosting myself. Especially when you want to (or must) offer several encodings.
#
Zegnat
But many of these external platforms do not have simple file links I can point people (or mf2 parsers) to. Last I checked Twitch’s video player is actually backed by a playlist of short clips. They do that so loading times are kept to a minimum when you jump around in a 12 hour live stream.
#
sknebel
so are you creating the external video you want to embed, or are you linking to something somebody else posted? the latter IMHO wouldn't be marked up as a video post, but a like/repost/...
#
sknebel
but the question in the general case is a good one
#
Zegnat
I’d be posting gaming livestreams that I am apart of. So I would like to post those as my own content, not “a like/repost/...”
#
Zegnat
Though maybe it is a repost by default because it went out on a streaming platform
#
Zegnat
It is a PESOS copy but the main content (the video) is still being served by the external platform.
#
sknebel
maybe, on the other hand is PESOS a repost?
#
sknebel
some people link externally hosted images in their PESOS posts/posts in general, and those are not reposts necessarily
#
sknebel
e.g. isn't tantek embedding most of his images from external silos
#
Zegnat
I don’t think anyone is treating PESOS as a repost right now? More like syndication: it went out to platform X, but I am the author there and I am also putting it out on my own site.
#
Zegnat
To stick with the video case: an example would be me going live on Twitch and then making a video post on my site that has the Twitch embed iframe of the live stream.
#
Zegnat
I would say that is PESOS.
#
sknebel
yeah, why not
#
Zegnat
After the stream, I would change the iframe embed to no longer point to the live stream URL, but point to the specific archived-stream-footage on Twitch. On my site the URL never had to change and people can still see what was done.
#
Zegnat
That is basically the use-case I am looking at. Though you can change Twitch for YouTube/Mixer/whatever.
#
sknebel
in a reader, one might automatically generate embeds for linked hosted videos for likes/reposts/... instead of relying on the posting site to do something like that
#
Zegnat
It doesn’t feel like a repost, and I would like it to be a /video post. But everything I am reading assumes u-video with a link to the video file.
#
sknebel
yes, it does
#
Zegnat
And even if it is a repost, the problem extends to the video silos as they have no way to add mf2 to their video pages. Because they too do not have a link to a single video file.
#
sknebel
what is embed?
#
Loqi
It looks like we don't have a page for "embed" yet. Would you like to create it? (Or just say "embed is ____", a sentence describing the term)
#
sknebel
what is embedded?
#
Loqi
It looks like we don't have a page for "embedded" yet. Would you like to create it? (Or just say "embedded is ____", a sentence describing the term)
#
sknebel
so what you want to express is something like "here is content of type X, and since it's complicated here's an embed snippet"
#
Zegnat
That sounds like what I want to do. Yes.
#
Zegnat
And e-* is kinda there for it. Think e-content.
#
Zegnat
So I was leaning towards e-video.
#
sknebel
that sounds quite confusing to consume though.
#
sknebel
I guess e-content is clearly identifyable in parser output
#
Zegnat
mf2 parser output is always confusing to consume. E.g. you never know if something is a URL (u-*) or not without running an URI parser.
#
sknebel
I can't come up with anything nicer right now
#
sknebel
additional question maybe: can you construct it in a way that a client can discover and show the link to the stream page instead, when it doesn't want to/can't do embedding
#
sknebel
(which to me sounds like an additional nested object, that has embedd and alternative url)
#
ancarda
If I want to write a blog post where I mention an IndieWeb user, how should I markup their name? e.g. `<a class="p-name" lang="nl" href="https://vanderven.se/martijn/"><span class="p-given-name">Martijn</span> <span class="p-family-name">van der Ven</span></a>`? This would be inside an h-entry/h-feed. I don't want it confused with my h-card (that won't happen, right?)
#
Loqi
Martijn van der Ven
#
sknebel
you should put an h-card around it, otherwise the p-name would be a property of your post which you don't want
#
ancarda
Ah, ok, thank you!
barpthewire joined the channel
#
Zegnat
ancarda, the usual case would just be: “Yesterday <a class="h-card" href="https://vanderven.se/martijn/">Martijn</a> did a thing.”
#
Loqi
Martijn van der Ven
#
Zegnat
I am not sure why you would want to embed more h-card data from a different person in posts.
#
ancarda
URL and name. For name, I wanted given-name/family-name
#
Zegnat
Though you could add XFN rel values if you want to make stuff social
#
aaronpk
Zegnat: the simple case that would work right now is putting the iframe in e-content
#
Zegnat
ancarda, my example makes use of implied URL and name parsing, so you do not need to specify those.
#
Zegnat
aaronpk, yes, but without a video property (in mf2 or jf2) Post Type Discovery will not differentiate it. Which I think is too bad :(
#
ancarda
That looks good, Zegnat, thank you
#
ancarda
What is hreflang? I don't really understand what that property does
#
Loqi
It looks like we don't have a page for "hreflang" yet. Would you like to create it? (Or just say "hreflang is ____", a sentence describing the term)
#
sknebel
it declares what language the linked document is in
#
Zegnat
Often overlooked attribute, haha
#
Loqi
nice
#
sknebel
(consumed by anything, or just nice for CSS flags?)
#
ancarda
Oh that's pretty sweet
#
Zegnat
I use it for CSS flags. I don’t know if anything consumes it. I feel like software like screenreaders should announce it so you know if it is interesting to click through at all.
#
Zegnat
But not sure if they do.
KevinMarks joined the channel
#
Zegnat
Teaching XRay to speak YouTube: https://i.imgur.com/PZvEMr0.png
#
aaronpk
oh nice
#
Loqi
zegnat has 40 karma in this channel (160 overall)
#
Zegnat
Also a place where I can’t teach it to add a video property because there is no video file to link.
#
Zegnat
Am now using a simple video info access URL that YouTube has. So no need for API tokens. But looks like it will be too limiting.
#
Zegnat
Doesn’t even provide a publish date :/
#
Zegnat
Oh, interesting. The YouTube API has a `player` object in its JSON video resource. With `embedHtml`, `embedHeight`, and `embedWidth` properties.
#
sknebel
sounds like oembed?
#
Zegnat
Probably an inspiration to it, yes
eli_oat joined the channel
#
Zegnat
aaronpk, question: for XRay as a public instance instead of library (as xray.p3k.io) where would one store the API credentials? In the config file?
#
sknebel
isn't the api user supposed to bring their own credentials?
#
Zegnat
If you are offering XRay-as-a-Service then you as hoster are the user and bring the credentials.
#
Zegnat
I am just not sure where they are configured.
#
sknebel
hm, I thought to use xray.p3k.io I need my own credentials
[eddie] joined the channel
#
[eddie]
Yes, you have to supply the credentials through the URL request
#
Loqi
[aaronpk] XRay: X-Ray returns structured data from any URL
#
Zegnat
Oh, hmm
#
Zegnat
aah, you are right
#
aaronpk
yep that's in order to avoid rate limiting issues with everyone sharing the same credentials
#
Zegnat
I don’t know why I even thought public X-Ray worked for tweets etc without separate credentials.
#
aaronpk
maybe cause Loqi auto-expands tweets here using xray?
#
sknebel
aaronpk: do you have some shared code for checking the url and attaching the right api keys, are you using xray internally as an API all the time or how do you handle that?
#
Zegnat
Sounds like sebsel is using something like this: https://github.com/aaronpk/XRay/issues/44
#
Loqi
[sebsel] #44 Add helper `needs_api_tokens()`
#
aaronpk
oh wait, Loqi doesn't use XRay at all! it still has my old code that uses the twitter api directly
#
aaronpk
my site uses XRay to fetch reply contexts tho. I have a regex that checks whether a URL matches a tweet permalink and then it includes the twitter API keys when talking to XRay
#
Zegnat
Huh. I thought Loqi used XRay for everything. The more you know.
#
aaronpk
I thought so too haha
#
Loqi
rofl
#
Zegnat
(Really does look like I need to depend on an API key for YouTube as well, if I want all the data I want :( )
#
aaronpk
bummer
#
sknebel
what data? publish date?
#
Zegnat
oembed is nice because it gives me the author URL, but then that doesn’t give me the categories.
#
Zegnat
Those public endpoint URLs are a bit lacking.
#
sknebel
date is in the page as microdata (schema.org VideoObject)
#
sknebel
but a) complicated b) no time as far as I can see
#
sknebel
jkphl++ for micrometa
#
Loqi
jkphl has 3 karma in this channel (39 overall)
snarfed joined the channel
#
Zegnat
time might just not be exposed at all, not sure actually
#
Zegnat
Interesting how that schema gives me yet another different set of data poinst
#
Zegnat
E.g. gives me “genre”, which I didn’t get before.
#
Zegnat
But then it skips something essential like the author name?!
#
sknebel
tells you how much the individual pieces are used
#
Zegnat
will be happy when XRay handles it
#
sknebel
lol, just founda video with: url:tag: NoIrrelevantTagsTOSftw
#
sknebel
there is also http://iframely.com/debug?uri=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DRaVCeofdZQc parsing some things, but nothing with additional useful data I can see here on first glance
#
Zegnat
Oh, that shows that YouTube also does OpenGraph, apparently?
#
Zegnat
If you go to iframely’s “Origin Data” tab you can see how much YouTube cares about communicating the author. It is literally only within the oEmbed object (which takes an extra HTTP request to get)
#
ancarda
Zegnat: What happens when I send you a WebMention? Do you log it?
#
ancarda
(I just sent my first WebMention ever -- although manually in curl)
#
Zegnat
I log those and let myself know I received one.
#
Zegnat
Though the notification step is sometimes borked...
#
Zegnat
Yours registered as received on 2017-12-26T16:33:15+00:00
#
ancarda
Did I do it correctly? e.g. encoding, didn't get target/source mixed up again?
#
ancarda
If so... 🎉 I sent my first WebMention!
#
Zegnat
Looks correct to me
#
ancarda
(and published my first h-entry blog post, the URL you can find in that mention)
#
Zegnat
Hmmm, I like how YouTube (at least according to iframely) handles the OpenGraph data. For the video URL they link to the embedable URL and specify og:video:type as text/html, per http://ogp.me/#structured
#
aaronpk
interesting
#
aaronpk
where are you seeing these properties? If I view source on a youtube URL I don't see any ogp or schema tags at al
#
Zegnat
That could also work on JSON Feed items, as their `attachments` can also specify a mime_type
#
Zegnat
I am not sure what iframely is pulling. They also make the separate HTTP request for the oEmbed data...
#
Zegnat
Might be trickery involved to get the OpenGraph data. Faking Facebook UA maybe?
#
Zegnat
Let me gist the output for non-FB users
#
sknebel
lool, Googles structured data testing tools complains that youtube's schema.org is invalid
[miklb] joined the channel
#
sknebel
they use a bunch of custom properties that are not in the official schema.org schema
#
Zegnat
Here we go, OpenGraph debugger output for the YouTube link: https://gist.github.com/Zegnat/e5d80af7263d50a37622c8fe1dc726e9
#
Zegnat
wonders if a mime-type sub property could make sense on video / audio mf2 properties
#
ancarda
Can anyone help me debug an Nginx issue? My website is built with Slim, so all requests need to go to index.php, if they don't exist on disk. For instance `/auth/` should load because `/auth/index.php` exists
#
sknebel
there is some argument to reflect the multiple sources that can be in <video> tags
#
aaronpk
I thought I saw some brainstorming of that
#
Loqi
microformats2 parsing brainstorming
#
Zegnat
ancarda how are you doing it? I think I am using try_files ending in /index.php. And haven’t had any trouble
#
aaronpk
oh I know where I saw it recently: https://www.w3.org/TR/jf2/#multiple-urls
#
aaronpk
not sure where that actually came from tho
#
ancarda
I have `try_files $uri /index.php$is_args$args;` in a `location /` block. This will get requests to go through Slim as if the file doesn't exist, it calls index.php instead
#
ancarda
But, now `/auth/` doesn't work, only `/auth/index.php`
#
sknebel
aaronpk: interesting, that's not something you generate from a mf2 parser output right now
#
sknebel
*can generate
#
Zegnat
yeah, you need something like $uriindex.php in there I believe. Because it will not try index files for directory URLs otherwise
#
Zegnat
Let me check my exact try_files
#
ancarda
Cool, thank you
#
Zegnat
`try_files $uri $uri/ /index.php`
#
ancarda
There we go, thank you!
#
Zegnat
Ah, that looks pretty good aaronpk. XRay is supposed to output jf2 right? So I could make it output the embed URL in video and put an HTML mime type with it?
#
Zegnat
That would be interesting... and because you have a video property then, consumers can identify it as a video post!
#
Zegnat
Although the microformats for u-video as shown there don’t sound valid
snarfed joined the channel
#
Zegnat
That should have been class="u-video" on the separate source elements.
#
aaronpk
i'm not sure where that jf2 idea came from so i'd be hesitant to jump into that without first exploring the microformats version of it
#
Zegnat
The microformats version will also need to be updated though, as that brainstorm is about rel-parsing and not u-* parsing.
#
Zegnat
ben_thatmustbeme, you still around on IRC? Any comment on where https://www.w3.org/TR/jf2/#multiple-urls came from?
#
Loqi
aaronpk: lol
#
Zegnat
jf2 also lists kevinmarks (ping) as author, who also wrote the rel-enclosure brainstorm, so if you have any comments please share Kevin!
#
Zegnat
The only problem I see with the mf2 path is that you either start to dangerously overload u-* parsing (if u-* on element W, also include attributes X, Y, and Z in an object) or will require a new prefix (f-* for file? m-* for media? ...)
John___ joined the channel
#
Zegnat
(btw: doing just a curl, no special UA set, on a YouTube URL does give me the meta elements.)
#
ben_thatmustbeme
as to where it came from, thats partly to bridge with jsonfeeds, since they do use multiple formats like that. an adequate translation should get at least one of those though
#
Zegnat
I feel like mime/content-type would be a nice addition, will write-up a brainstorm on the mf wiki after dinner.
#
Zegnat
Would give parity with jf2, JSON Feed, OpenGraph, and possibly more. (Also put those thoughts in #microformats )
eli_oat and [kevinmarks] joined the channel
#
[kevinmarks]
That's how rel-alternate works - should be in the rels list for mf2 parsing, but not in jf2
#
[kevinmarks]
'cos jf2 dropped the rels
#
[kevinmarks]
Also, showing flags with hreflang is a bit dubious, as countries and languages are different things. Yes, de, fr and jp are collisions in the codes that seem to work, but they're anomalies
#
Zegnat
I was more picky, e.g. using UK flag for en-GB. Also since I was napping them to flags manually the language code did not have to be the same as the country code.
#
Zegnat
For my pronouns I actually show the language codes now, instead of flags. Because I do think flags are bad identifies.
#
[kevinmarks]
Right, but there are lots of other languages in the UK, and the Welsh particularly would object 🏴
#
Zegnat
True.
tantek and snarfed joined the channel
#
tantek
reads logs
#
tantek
Hey Zegnat I post /video posts where I don't host the video resource itself. Pretty sure I added myself to the IndieWeb Examples on that page.
#
aaronpk
your video posts still have a direct mp4 file though
#
tantek
yeah, that's kinda by definition though
#
aaronpk
zegnat is talking about video posts that don't have a single video file but require an HTML player, like youtube
#
tantek
that sounds like posting an "app"
#
aaronpk
or twitch.tv replays which can also include chat overlays
#
tantek
that definitely sounds like embedding an app
#
aaronpk
yeah it may be something different from a video post, but is an interesting use case
#
tantek
not "just" a video
#
tantek
better to keep the common cases simple
#
tantek
photo / video / audio just thin h-entry wrappers around actual media files
#
sknebel
so what should a type be? "video with embed source"
#
tantek
sknebel, better to start with real world examples of such posts rather than questions about type
#
tantek
because the latter can only empirically be determined by the former
#
tantek
like collect a bunch of such posts that people are doing on existing silos / social media sites
#
tantek
before even brainstorming about naming any formats / properties etc.
#
tantek
otherwise it's the plumbing first error
#
sknebel
okay, what's the place to collect them? (finding examples of people posting yt embeds isn't going to be difficult, but lets go through the motions)
#
tantek
BTW re: Youtube, I too link to Youtube videos once in a while, and the CASSIS auto_link function automatically embeds them for me in my notes
#
tantek
no need for a separate "type"
#
tantek
how is linking to youtube videos an interesting different use-case at all compared to just linking to anything?
#
sknebel
how is linking an mp4 file different than just linking to anything?
#
tantek
sknebel: because lots of existing sites have explicitly different UI for both posting and viewing video posts
#
tantek
whereas a link is just a link, sometimes with a link preview
#
tantek
distinctly different posting / viewing UI = worth documenting as a use-case
#
tantek
otherwise just treat it as a note until you have good UI reason to do otherwise
#
sknebel
don't see why my viewing UI (=reader) should have a difference between posts that link an mp4 file and posts that link an html file playing the video
#
tantek
sknebel: go look at how /jam evolved. it was just notes for a while, then the example of /ThisIsMyJam and their different UI inspired evolving it
#
tantek
sknebel: not "why" but "does it today?"
#
sknebel
if it doesn't, why does /video exist?
#
tantek
and besides, one kinda obvious answer is, a reader with direct access to mp4 files can play them directly, back to back, without you needing to interact with a bunch of random different HTML UIs from other sites
#
tantek
for audio in particular, that's why podcasting exists
#
tantek
sknebel: already answered above
#
Loqi
[tantek] sknebel: because lots of existing sites have explicitly different UI for both posting and viewing video posts
#
sknebel
then I don't see how that distinction does not exist for embedded videos
#
tantek
you can't really do anything with a double-negative like that
#
tantek
like: without documenting examples of what you're talking about, you can't really reason what does or does not exist about them to come to any conclusions
#
tantek
I offered one example (YouTube links) and gave an example of how it's treated currently (auto-embeds via an auto_link function)
#
tantek
what is autoembed
#
Loqi
An autoembed is an embedding of media, typically of an image or video, that was automatically added from a URL to that media, to provide immediate viewing and or direct interaction with that media https://indieweb.org/autoembed
#
tantek
sknebel do you see the difference between "upload mp4" and "share link" or no?
#
tantek
that's the difference between supporting /video post vs just linking to random things including YouTube links which may themselves have videos to play
#
sknebel
yes, and since you've declared that this difference apparently overrides the use case for making them similar to handle for readers I don't see much point in continuing this right now (also, busy. gotta pack)
#
tantek
sknebel - the difference is that there are no readers doing the latter at all
#
tantek
so it's a completely theoretical example from a UI perspective
#
tantek
it has *nothing* do with formats
#
tantek
no one has built something that will go grab 3rd party HTML player links and then play them sequentially like a podcast app plays podcasts sequentially from 3rd party sites
#
tantek
if you can figure out how to make that work with existing Youtube links great - you don't need a format for that
#
tantek
you can auto-detect that it's a youtube link and hack your prototype up from that
#
tantek
this is not about "declaring" it is about acknowledging. one thing exists (podcast "readers"), the other does not (HTML player link "readers")
#
tantek
and btw, personally I would be very interseted in a solution to that (auto-play a series of youtube videos)
#
tantek
but I have no idea how to build it, so if you figure that out - awesome!
#
tantek
feel free to capture your thoughts along the way to building that on /YouTube#Brainstorming and I'll try to help with anything I figure out
#
[kevinmarks]
I did make a thing that turned a list of MP3 links into a podcast compatible feed (because there was a use case)
#
[kevinmarks]
But I didn't generalise it yet as I haven't seen other cases where it would be useful
[eddie] joined the channel
#
[eddie]
As much as I love to usually debate and disagree with tantek 😉 as far as microformats are concerned, I agree. I haven't come across any different behavior for YouTube video links. In my site I ultimately just detect the youtube URL and the "link preview" is adding the embed code with the given detected YouTube url.
#
[eddie]
I plan on any future reader I build to do the same thing. Detect any url that has youtube and do a link preview with an embed.
#
tantek
read << 2017-12-11 [https://macwright.org/2017/12/11/indieweb-reading.html Owning my reading log]
#
Loqi
ok, I added "2017-12-11 [https://macwright.org/2017/12/11/indieweb-reading.html Owning my reading log]" to the "See Also" section of /read
#
loqi.me
edited /read (+92) "tantek added "2017-12-11 [https://macwright.org/2017/12/11/indieweb-reading.html Owning my reading log]" to "See Also""
(view diff)
#
aaronparecki.com
edited /Microsub-spec (-9) "/* Scopes */"
(view diff)
#
loqi.me
created /Ulysses (+354) "prompted by [eddie] and dfn added by [eddie]"
(view diff)
#
Zegnat
I get the link preview, auto-embedding, etc. But if it is a PESOS post, I would like for it to be identified as a video post, as that is the main thing about the post. That was what I was struggling with.
#
loqi.me
edited /Ulysses (+43) "See Also"
(view diff)
#
loqi.me
edited /Ulysses (+65) "See Also"
(view diff)
#
Zegnat
Guess I’ll see what I do when I get there. Until I fix Micropub I can’t post anything anyway.
#
aaronparecki.com
edited /Microsub-spec (+474) "/* Channels */ delete channels"
(view diff)
KartikPrabhu joined the channel
#
Zegnat
For my YouTube support in XRay I will just follow jf2, which does support content type, and follow the OpenGraph example of linking to the embeddable HTML.
#
tantek
is that like OEmbed?
#
aaronparecki.com
edited /Microsub-spec (+35) "/* Channels */"
(view diff)
#
aaronpk
I'm not convinced about that jf2 syntax yet fwiw
#
aaronpk
because I don't understand where it came from
#
Zegnat
I am not sure if I like it yet, but that’ll become apparent to me when I build it
#
Zegnat
I kinda like what YouTube is going with OpenGraph og:video:url in combination with og:video:type, and I do not mind mapping those to jf2’s structure.
#
Zegnat
Or to JSON Feed for that matter. Which will come in handy, as I want to generate feeds from YouTube Playlists.
#
Zegnat
Basically content-type text/html is going to tell my reader to show the video with an iframe instead of a video element. Works for me.
#
eddiehinkle.com
edited /User:Eddiehinkle.com (+437) "Add blogging process description"
(view diff)
#
aaronpk
what's the reason you can't just use an iframe in the e-content again?
[asteres] joined the channel
#
eddiehinkle.com
edited /micro.blog (+267) "/* Indieweb Examples */ +eddiehinkle.com use of micro.blog"
(view diff)
#
Zegnat
Post Type Discovery
#
aaronpk
what's the user-facing reason
#
Zegnat
Sorting out videos in my reading flow
#
Zegnat
I go through videos whenever I am not at home now, because I do not want to waste my limited bandwidth on video content.
#
Zegnat
Would be great if my reader could automatically sort those. That requires post type discovery.
#
eddiehinkle.com
edited /User:Eddiehinkle.com (+110) "/* Working On */ updates"
(view diff)
#
Zegnat
A long blog post that just happens to embed a video, I might still want to read (just not let the video load). But posts (like those of people I follow on YouTube) where video is the main content I need to sort out and hold until I get WiFi.
#
Zegnat
So I can’t just filter out things with iframes.
#
aaronpk
makes sense
#
Zegnat
Note also that my consuming use-case is actually coming before publications use-case. E.g. if I teach XRay to create the jf2 feed for YouTube channels and playlists, I could subscribe to those (with monocle/together/whatever) or simply convert to JSON Feed to subscribe with Reeder. This means the jf2 option for video properties is actually more imp
#
Zegnat
ortant to me than how we will later do it in HTML with mf2.
#
Zegnat
I have some videos that I would like to post to my blog and backdate, but I am not producing new online video content until March–April when we are expecting to have internet at home again. So posting is several months out still.
KevinMarks and tantek joined the channel
#
tantek
just realized the whole use of "PESOS" in this discussion about linking or iframes is misunderstanding PESOS
#
tantek
linking or embedding something is not the same as publishing or syndicating it
#
tantek
the whole point of PESOS was to provide an alternative model to POSSE for situations when POSSE was too hard (not yet implemented)
#
Zegnat
How do I publish a 5 hour livestream on my site if my server cannot take the space and bandwidth required?
#
Zegnat
I would syndicate them with an iframe...
#
tantek
the whole point of POSSE is to actually own your content so that if all the silos disappear your content still works!
#
tantek
the same with PESOS, just a different path to get there
#
tantek
no, iframe is not syndication
#
tantek
because you have not actually copied the content anywhere
#
tantek
this gets back to site death, content loss etc.
#
tantek
all your youtube links and embeds are WORTHLESS when youtube is offline
#
tantek
you lose everything
#
tantek
therefore it is NOT PESOS
#
Zegnat
I guess. Same goes for all your photo posts though? And I don’t think you are marking those up as reposts?
#
tantek
nope, my photo posts are replicated
#
tantek
and internet archived
#
tantek
lots of copies of the JPGs
#
tantek
same with my /video posts
#
Zegnat
You aren’t serving them from your own hosting though. How is that different from me serving video straight from the silo because I don’t want to host it myself?
#
tantek
what is a SPOF?
#
Loqi
Single points of failure (SPOFs) are aspects or parts of a system which, when they fail, cause crucial parts of (or the entire) system to fail https://indieweb.org/spof
#
Zegnat
If the silo ever goes down I just need to find new hosting. It is not like I do not have the video files...
#
tantek
^^^ that's the difference. your "linking" or "embedding" is not a post at all. it is a link to a SPOF
#
Zegnat
There is just no way I am hosting a 5 hour gaming livestream on my small VPS.
#
tantek
right, host it in multiple silos
#
Zegnat
So are your photo posts though ...
#
tantek
re-read what I said
#
Zegnat
If the silo goes down, you need to manually go and replace the photos
#
Zegnat
If Twitch goes down, I need to manually replace the videos
#
Zegnat
I don’t see the difference.
#
tantek
nope, they're already replicated to multiple silos
#
tantek
if your SPOF goes down, you need to re-upload
#
sknebel
ok, Zegnats uploads to youtube in parallel
#
tantek
all I have to do is change URLs
#
Zegnat
Actually, I can probably point you at a gaming stream I did that is on both Twitch and YouTube
#
Zegnat
All I have to do is change the URL.
#
sknebel
all he has to do then is change urls. doesn't change anything about the initial question
#
tantek
2 is better than 1 yes
#
Zegnat
I didn’t think you could use Internet Archive for copyrighted video before though? So not sure that would be an option for a 3rd fallback.
#
tantek
I have 5 direct URLs to the JPGs of my photos across different services
#
tantek
so yeah, I'm not too worried (still a little worried)
#
tantek
also direct URLs to JPGs = automatic internet archive replication
#
tantek
same with direct URLs to MP4 etc.
#
tantek
whereas link to HTML player = dead iframe on internet archive
#
Zegnat
The real problem isn’t so much getting it on several video hosting platforms. It is that almost no video hosting platform offer direct video-file links.
#
tantek
instagram, flickr, twitter all do
#
Zegnat
Instagram and Twitter definitely do not allow 5 hour livestreams. Unless something changed recently.
KevinMarks joined the channel
#
tantek
pretty sure you could host your 5 hour videos here: https://archive.org/details/opensource_movies
#
Zegnat
The real problem is that this is really long form video content. That’s also the reason why e.g. Twitch doesn’t have a single video file available. To make it quick to seek etc Twitch actually slices video into many small fragment files and streams it to their player as a playlist.
#
tantek
and have direct access to the video files, thus be able to actually post video posts
#
tantek
rather than links / embeds
#
Zegnat
I’ll repeat: “I didn’t think you could use Internet Archive for copyrighted video”
#
tantek
then it's not your content in the first place?
#
Zegnat
I am co-creator of an adventure game stream. But as my partner wants to make a career out of it, those streams are not under an open licence.
#
Zegnat
I am not going to jeopardize him by putting it up under an open licence.
#
tantek
ah ok, yes co-ownership of posts is trickier and not something we've discussed much
#
tantek
ran into a similar question/problem with hosting of large "not quite fully owned" audio files, friends were asking me where they should move their Soundcloud posts to
#
tantek
short answer, there is no good alternative
#
Zegnat
I have the right to publish it, and would love publishing it on my site. But when I looked into Internet Archive for that before they seemed to be saying that I needed to atleast be something like Share Alike. But I don’t want to give *everyone* publishing rights.
#
tantek
yes I believe that is correct
#
tantek
similarly people post stuff like that on Soundcloud
#
tantek
but cannot post on Internet Archive for the same reason
#
tantek
but with the threat of Soundcloud shutting down it scared a lot of people
#
tantek
(meaning, they didn't actually own their posts)
#
tantek
same thing if Twitch shuts down, or when YouTube takes down videos for random reasons
#
tantek
video posts are definitely harder in that regard
AngeloGladding joined the channel
#
tantek
but what's worse is don't pretend to be POSSEing or PESOSing something if you're not actually making a copy of it
#
Zegnat
I am happy to have specialised video silos handle it. It is just that it often means I do not have a specific video file to link to in my u-video. Which then means PTD doesn’t think of my post as a video post. Except the post has no content other than the video... Which loops me back to how I like what YouTube is doing with OpenGraph and defining t
#
Zegnat
heir embeddable HTML link (for iframe) as the video link ;)
#
Zegnat
I have a copy locally, a copy on YouTube, and a copy on Twitch. That doesn’t sound a whole lot different from your photo posts? Except that you maybe trust the Internet Archive more to stay afloat than I trust Twitch :P
#
tantek
no, my act of publishing *makes* the copies, that's the point, and that's why it's POSSEing
#
tantek
automatic to three silos (Flickr, FB, Twitter), manual to one more (Instagram)
#
tantek
all those copies happen when I publish
#
tantek
and all link back to the original
#
tantek
and yes, a static media resource like jpg mp4 mp3 etc that can be auto-downloaded / archived makes a massive difference.
#
tantek
in terms of archivability, recoverability, redirectability etc.
#
tantek
linking / embedding stuff is fine, just don't call it PESOS because it's not. you're not copying the actual thing, when you link or embed it.
#
Zegnat
Yes. And I can automatically have a local copy, a Twitch copy, and a YouTube copy, with minimal manual labour already. Twitch I think even has a button to mirror to YouTube, so I don’t even need to think about that copy.
#
Zegnat
But I do have a copy. I am just not serving that copy on my site. Much like you are doing, where you are not serving the local photo copy but are serving the photo as hosted by a silo?
#
Zegnat
You are just embedding your photos from a silo in your photo posts. Just saying that you have a backup. And so have I.
#
tantek
so local doesn't count, that's the whole point of "web"
#
tantek
local can't be linked to, referenced, cited, etc.
#
Zegnat
I can’t link your last photo posts’ photo URL either. Only a silo URL. Unless I am missing something?
#
tantek
there's a big difference between a static file host (e.g. S3), and depending on an HTML embed
#
tantek
not sure why that is not obvious in terms of reliability, redirectability, re-usability etc.?
#
tantek
and yes it's on my to-do to use image.tantek URLs for the src etc. that are just served from those static file hosts
#
Zegnat
I don’t think there is any reliability difference between your <img src="{photo-path-on-silo}"> and my <iframe src="{video-path-on-silo">, is what I am saying. Not obvious to me at all.
AngeloGladding joined the channel
#
tantek
obvious difference: you can save and view locally
#
tantek
obvious difference, you can save and upload to another file host
#
tantek
reliability difference, JPG is a standard. those HTML players are not
#
tantek
(their underlying video may be, but you're not linking to that)
#
KartikPrabhu
Zegnat presumbably has a local offline copy but not hosted on his site, so he can also upload to another file host
#
Zegnat
I could also download from those links. I download YouTube content all the time.
#
tantek
assuming you keep track of that local vs permalink connection
#
tantek
"download from a link" != "download link"
#
tantek
it's like saying, hey go download that thing from the web
#
tantek
vs a URL to the thing
#
Zegnat
$ youtube-dl $iframelsrc => videofile
#
tantek
what is youtube-dl ?
#
Loqi
It looks like we don't have a page for "youtube-dl " yet. Would you like to create it? (Or just say "youtube-dl is ____", a sentence describing the term)
#
tantek
that doesn't look like a URL to me
#
tantek
run some arbitrary code != stream some static bytes according to a standard protocol
#
Zegnat
Whether I do `curl $imgsrc` or `youtube-dl $iframesrc` makes no difference to me as an end-user
#
Zegnat
Either way. I’ll get to that when I get to it. I am not putting out new video content until I have proper internet again anyway.
#
Zegnat
Working on jf2 feed from XRay first in the mean time.
#
tantek
you really don't get the number of steps involved and limitation of devices?!?
#
tantek
1. install software
#
tantek
2. find out most devices don't support that software
#
ancarda
youtube-dl is a command line program written in Python to download videos from popular video hosting and streaming sites, such as YouTube and Vimeo
#
tantek
those two steps typically make a massive difference to nearly anyone "as an end-user"
#
ancarda
Why didn't Loqi create a page?
#
tantek
it's a pretty big reason why web apps are better than native apps too
#
Zegnat
timed out, ancarda
#
tantek
no it was less than 10 min
#
aaronpk
weird, maybe the -
#
Zegnat
Oh, no
#
Zegnat
It added an extra space to the name
#
Zegnat
“we don't have a page for "youtube-dl " yet.”
#
Zegnat
Watch the extra space within the quotes
#
Zegnat
Probably needs a trim, aaronpk
#
tantek
trim all the inputs
#
tantek
xkcd !app
#
ancarda
I can manually make that page. Should probably be linked to archive, as that's what I suspect most people use `youtube-dl` for (it's my primary use of it)
#
tantek
!xkcd app
#
tantek
this is why it makes a difference to the end user: https://xkcd.com/1174/
#
aaronpk
what is youtube-dl?
#
Loqi
It looks like we don't have a page for "youtube-dl" yet. Would you like to create it? (Or just say "youtube-dl is ____", a sentence describing the term)
#
aaronpk
(and fixed the trim)
#
aaronpk
what is youtube-dl ?
#
Loqi
It looks like we don't have a page for "youtube-dl" yet. Would you like to create it? (Or just say "youtube-dl is ____", a sentence describing the term)
#
ancarda
youtube-dl is a command line program written in Python to download video and audio from popular video and audio hosting and streaming sites, such as YouTube, Vimeo, and SoundCloud
#
loqi.me
created /youtube-dl (+207) "prompted by aaronpk and dfn added by ancarda"
(view diff)
#
ancarda
archive << youtube-dl
#
Loqi
ok, I added "[[youtube-dl]]" to the "See Also" section of /archive
#
loqi.me
edited /archive (+17) "ancarda added "[[youtube-dl]]" to "See Also""
(view diff)
#
tantek
so how come no podcast apps support offline viewing of youtube videos if it's supposedly so easy to download them?
#
Zegnat
Don’t know. I know my brother ran youtube-dl on his (not high-end Moto G) phone. So should definitely be possible for Podcast apps todo.
#
ancarda
For me, youtube-dl frequently fails to work, and every time, a `brew update` fixes the problem. I suspect it's because downloading from YouTube isn't officially supported, and they probably break whatever undocumented APIs it's using on a regular basis
#
tantek
YouTube << youtube-dl
#
Loqi
ok, I added "[[youtube-dl]]" to the "See Also" section of /YouTube
#
loqi.me
edited /YouTube (+17) "tantek added "[[youtube-dl]]" to "See Also""
(view diff)
#
Zegnat
frequently fails? I haven’t had that with YouTube at all, even running some updates behind.
#
ancarda
SoundCloud << youtube-dl
#
Loqi
ok, I added "[[youtube-dl]]" to the "See Also" section of /SoundCloud
#
loqi.me
edited /SoundCloud (+17) "ancarda added "[[youtube-dl]]" to "See Also""
(view diff)
#
tantek
right ancarda, one of the problems with depending on installing separate software
#
tantek
"frequently fails to work" = fragile = !reliable
#
aaronpk
i'm always surprised at how many platforms it supports too, not just youtube
#
ancarda
Vimeo << youtube-dl
#
Loqi
ok, I added "[[youtube-dl]]" to the "See Also" section of /Vimeo
#
loqi.me
edited /Vimeo (+17) "ancarda added "[[youtube-dl]]" to "See Also""
(view diff)
#
tantek
aaronpk: indeed, probably worth a renaming
#
Zegnat
Sites like openload and other ad filled crap has been a lot more fragile for youtube-dl support than actual YouTube
#
ancarda
Yeah, it's absolutely amazing software. The name is very deceptive / out of date
#
tantek
heck they might as well slap a podcast reading/viewing/listening UI on it and rename it
#
Zegnat
I think for openload they currently depend on PhantomJS browser emulation just to download video, that’s how bad that has become.
#
Zegnat
YouTube always just downloads for me, no issue.
#
ancarda
Maybe I'm unlucky, or don't update my software very often
#
Zegnat
mpv (the media player) opens any URL through youtube-dl. I have used that to watch livestreams and listen to podcasts actually
#
ancarda
Actually... my memory is pretty bad, so it may be since they moved to <video> it's been more reliable
#
tantek
to answer sknebel's question from a while ago, because publishing a link or an embed isn't making a copy, and thus is not syndicating and thus neither POSSE nor PESOS.
#
tantek
my use of 4sq src URLs is like use of direct S3 URLs, they're private and one-off for purely a static bytestream. no HTML, no UI.
#
tantek.com
edited /Falcon (+198) "/* improve photo posts */ own photo src URLs"
(view diff)
#
tantek
that being said, that can be improved as well, which I've captured
#
tantek
what is photo hosting
#
Loqi
It looks like we don't have a page for "photo hosting" yet. Would you like to create it? (Or just say "photo hosting is ____", a sentence describing the term)
#
tantek
hmm I thought we had a page about that
#
tantek.com
edited /photo (+220) "/* Hosting */ add current strategy and future thoughts"
(view diff)
#
tantek
photo hosting is /photo#Hosting
#
loqi.me
created /photo_hosting (+26) "prompted by tantek and redirect added by tantek"
(view diff)
#
aaronpk
I should really host my conference videos myself as well as the youtube copy. right now I store the master mov file at home which is like 8gb/hr, and publish them on youtube. if I encoded a web-friendly version of that it would take a lot less space than 8gb/hr and I could host those files myself. just a lot of transcoding to do.
#
Loqi
definitely
#
tantek.com
edited /photo (+144) "/* Hosting */ sometimes static files from wikimedia or indieweb uploads, more details link"
(view diff)
#
gRegorLove
huffduff-video uses youtuble-dl as well
#
tantek
aaronpk, worth adding to your Itches list!
#
gRegorLove
What is huffduff-video?
#
Loqi
huffduff-video is a service that extracts audio from video and sends it to Huffduffer https://indieweb.org/huffduff-video
#
tantek
aaronpk, perhaps start a "Hosting" subsection here https://indieweb.org/video#Brainstorming with at least that note?
#
aaronparecki.com
edited /User:Aaronparecki.com (+100) "/* itching */ videos"
(view diff)
#
gRegorLove
That does bring the audio-only function of youtube-dl to the web
#
tantek
wait how. huffduffer doesn't host audio files itself.
#
aaronpk
huffduff-video hosts them
#
tantek
whoa and they haven't been shut down?!?
#
aaronpk
"Audio files are stored for 30 days, then deleted. Be sure to download them before then!" http://huffduff-video.snarfed.org/
#
tantek
"they" lol oops
#
aaronpk
just long enough to download them into a podcast player
#
tantek
wow that would work for the ThisIsMyJam reader/listener use-case!
#
tantek
(your jams would auto-expire in 7 days unless you explicitly rejammed them)
[kevinmarks] joined the channel
#
[kevinmarks]
Also, by making them podcast files there is a lockss effect as the clients download by default
#
KartikPrabhu
what is lockss?
#
Loqi
LOCKSS is an acronym for Lots Of Copies Keeps Stuff Safe, a mnemonic for the technique of keeping and encouraging many copies of things as a way of improving their longevity https://indieweb.org/LOCKSS
#
tantek
I wish it were the technique but according to Wikipedia it is a specific project :/ https://en.wikipedia.org/wiki/LOCKSS
#
Loqi
LOCKSS
#
aaronpk
whoa I never knew that
leg joined the channel
#
tantek.com
edited /LOCKSS (+182) "fix dfn per actually"
(view diff)
#
tantek
what is lockss
#
Loqi
LOCKSS is an acronym for Lots Of Copies Keeps Stuff Safe, a project and collection of networks for libraries to keep copies of stuff on the web, but often used as a generic mnemonic for the technique of keeping and encouraging many copies of things as a way of improving their longevity https://indieweb.org/LOCKSS
KevinMarks joined the channel
#
[kevinmarks]
Redundant Array of Inexpensive Silos
#
[kevinmarks]
That's almost right
#
tantek
perhaps "Distinct"? as in not just silos that own other silos like FB/IG?
#
tantek
assuming you were going for R.A.I.D.S.
KevinMarks joined the channel
#
tantek
wow we're still looking light on https://indieweb.org/2018-01-01-commitments - will try to pick something small / doable from my existing itches etc.
#
GWG
tantek: I didn't write anything
#
GWG
But I seem to be doing stuff
#
tantek
also missing a lot of days in https://indieweb.org/2017-12-indieweb-challenge - anyone help with filling in stuff launched / shipped on previous days?
#
[kevinmarks]
Redundant Array of Silo Copies Avoiding Load Surges
#
aaronpk
revisits the discussion around removing img tags in the content of photo posts
#
aaronpk
oops tantek left
#
aaronpk
!tell tantek regarding removing img tags in the content of photo posts, I'm curious about your thoughts on handling the use case discussed here https://chat.indieweb.org/dev/2017-12-23#t1514022441624700
#
Loqi
Ok, I'll tell them that when I see them next
#
Loqi
[Zegnat] Re photo posts with other images in their content: what about emoji images? I seem to recall people using plugins in e.g. WordPress to have emoji images. Those would not be .u-photo but dropping a winky-face from text could severely affect tone of th...
#
gRegorLove
Zegnat: Can you confirm if you got a successful wm from https://gregorlove.com/2017/11/martijn-asked-if-i-had/ just now?
#
Loqi
[gRegor Morrill] Martijn asked if I had documented the micropub request I make for read posts. I had not yet, so decided to make some quick notes while it's fresh in my mind. Currently, it sends an h-cite object with properties: status, url, name, author, and isbn....
#
Zegnat
I did receive a WM gRegorLove! :D
#
Zegnat
Including a vouch URL
#
Zegnat
(I register vouch URLs, I do not check them, yet.)
#
Zegnat
Received at 2017-12-26T23:32:16+00:00
#
Zegnat
BTW: another example of a video file that will not work in browser video elements is FLV. I suddenly thought of that while I was sorting and writing down my thoughts on the video thing.
#
Zegnat
Also, fun fact, looks like YouTube offers a link to the application/x-shockwave-flash file to OpenGraph consumers. It really is format on-top-of format over at YouTube.
KevinMarks joined the channel