#dev 2018-08-14

2018-08-14 UTC
strugee, jjuran, eli_oat and [jgarber] joined the channel
#
[jgarber]
Good morning/afternoon/evening!
#
[jgarber]
If there are any Ruby folks with a spare moment or two, I’ve got a PR open on webmention-client-ruby that’s been hanging around for over a month. Feedback would be greatly appreciated: https://github.com/indieweb/webmention-client-ruby/pull/16
#
Loqi
[jgarber623] #16 Refactor Endpoint Discovery
romangeeko, jgmac1106, globbot and NinjaTrappeur joined the channel
#
@ChrisAldrich
↩️ Welcome! @wiobyrne & I have been experimenting on using our websites as commonplace books to own data including reads/annotations. @jgmac1106 and I have been self-dogfooding how to use websites with Webmention capability for open pedagogy in [more...] https://boffosocko.com/2018/08/13/my-open-textbook-pedagogy-and-practice-robin-derosa/?replytocom=70930#respond
(twitter.com/_/status/1029173194614132736)
[jgmac1106] and jjuran joined the channel
#
@jackysee
Implementing Webmention on a static website – Deluvi's website https://deluvi.com/blog/webmention/
(twitter.com/_/status/1029182756100689921)
renem, elimisteve, Humvee21, MartesZibellina, [chrisaldrich], kek918, [jgmac1106], strugee, cweiske and slackjeff joined the channel
#
@chillybindesign
Webmentions: Enabling Better Communication on the Internet http://bit.ly/2Nt7KYs #design #sidebar
(twitter.com/_/status/1029262607805558784)
[pfefferle], michagogo29, jeremych_, Ellenor8, barpthewire and [kevinmarks] joined the channel
ecrist1 joined the channel
#
[kevinmarks]
Over in #social, @Gargron said https://chat.indieweb.org/social/2018-08-14/1534213177640000 that no-one is using rel-me verification. That's not true, as indieauth uses it. You do have to be a bit careful with twitter, and Facebook is a lost cause, but it works with WordPress and github as well as personal sites. Here's how it works with a browser plug in http://www.kevinmarks.com/distributed-verify.html previously
#
Loqi
[Gargron] of course we already have *a* form of verification: each link in the profile fields is marked up with rel="me" so if the page linked contains a link back also with rel="me", that's a verification. of course, nobody uses that, and you couldn't make it...
#
Loqi
[kevinmarks] #121 No URL in profile
[jgmac1106] and jgmac1106 joined the channel
#
jgmac1106
[kevinmarks] is social som kind of private channel? Keep seeing it cited but can’t join indieweb-social or just social
#
cweiske
w3c channel
#
[jgmac1106]
but archived through chat.indieweb.org?
#
cweiske
yes, because aaronpk and others are/were members
#
Loqi
[Kevin Marks] @cwebber that system sounds very like xfn rel=contact. If you publish a following list/blog roll with h-card and xfn links (along with your rel=me ones) you can build this web of trust on the Web. The challenge of these has always been maintaining th...
[metbril] joined the channel
#
[kevinmarks]
Crossing the streams
#
@jgmac1106
↩️ @autmm  Here is my class https://edu522.networkedlearningcollabortive.com using webmentions as part of class is awesome and release of some new #IndieWeb plugins makes it easier  with WordPress.. though I am still tempted to try @microdotblog (http://jgregorymcverry.com/5990-2/)
(twitter.com/_/status/1029328667737026560)
#
Zegnat
With the silos obfuscating and/or removing rel-me, it doesn’t have a great future for authentication, [kevinmarks] :( But still strong for verification, especially among indie stuff and possible fediverse! :D
#
Zegnat
just spent 15 minutes trying to parse Link headers with regex
#
Zegnat
So ... surely someone has done this better? https://regex101.com/r/DXfwzl/1
#
Loqi
[Christian Weiske] Web Linking support in PEAR
#
Zegnat
RFC8288 actually has a recommended statemachine-ish parser it describes. I was really hoping I could get away with not needing it.
#
Zegnat
But the regex is just getting way too unwieldy.
#
Zegnat
Maybe I’ll pull in HTTP2
#
cweiske
should be composer-installable
#
Zegnat
I thought I would try to do what jgarber did and write a small module that just handles webmention endpoint discovery. In the end I’ll be pulling in PEAR’s Net_URL2 & HTTP2, as well as a userland HTML parser. This just makes it clear to me once again how fragile this whole web business is :P
jgmac1106 joined the channel
#
Zegnat
Fragile is maybe the wrong word ... I could write my own Link parsing state-machine and URL resolver if I really wanted or needed to. Convoluted is maybe a better descriptor
#
Zegnat
cweiske++ for that lib
#
Loqi
cweiske has 24 karma in this channel over the last year (33 in all channels)
#
aaronpk
Zegnat: I managed to create a Regex that passes all the webmention.rocks tears anyway
#
cweiske
tears is the right word
#
aaronpk
Haha oops
#
Zegnat
Do we have a test with multiple rel keywords in one rel attribute? Or one that sends a Link header containing multiple links and one tagged ;rel="nothing webmention something" in the list?
#
Zegnat
So many weird edge cases on Web Linking ...
#
Zegnat
Tempting to see if I can create a Link header that fails, hehe
marig joined the channel
#
aaronpk
Do it, I'll update the library to fix it
#
aaronpk
so far that library has served me very well
liste0 joined the channel
#
Zegnat
It would probably be a lot of theoretical wrangling of things, not sure if it is worth it aaronpk. But it I can come up with a somewhat obvious one, I’ll report
#
Zegnat
I think my discovery script now passes all the webmention.rocks tests, woop
eli_oat, SleePy5, iasai and tantek__ joined the channel
#
Zegnat
Here we go, inspired by jgarber who did this in Ruby: https://github.com/Zegnat/php-webmention-endpoint-discovery
#
Loqi
[Zegnat] php-webmention-endpoint-discovery: A straight forward implementation of webmention endpoint discovery.
#
Zegnat
Passes all webmention.rocks discovery tests
#
tantek__
Zegnat++
#
Loqi
Zegnat has 53 karma in this channel over the last year (143 in all channels)
eli_oat joined the channel
#
aaronpk
Zegnat++
#
Loqi
Zegnat has 54 karma in this channel over the last year (144 in all channels)
#
aaronpk
what is rel-payment
#
Loqi
It looks like we don't have a page for "rel-payment" yet. Would you like to create it? (Or just say "rel-payment is ____", a sentence describing the term)
#
aaronpk
rel-payment is /payment
#
loqi.me
created /rel-payment (+20) "prompted by aaronpk and redirect added by aaronpk"
(view diff)
eli_oat1 joined the channel
#
Loqi
ok, I added "https://twitter.com/mijustin/status/1029230847373668352" to the "See Also" section of /payment https://indieweb.org/wiki/index.php?diff=50870&oldid=50842
#
aaronparecki.com
edited /payment (+201) "add transistor.fm example of rel=payment"
(view diff)
#
@call_user_func
[New]zegnat/webmention-endpoint-discovery A straight forward implementation of webmention endpoint discovery. https://github.com/Zegnat/php-webmention-endpoint-discovery
(twitter.com/_/status/1029359598438952966)
eli_oat1 joined the channel
#
Zegnat
Ohno, are the bots watching me now too :o
#
tantek__
dat tumblr comment nesting tho 😂
#
petermolnar
let's not talk about Tumblr technical details :D
#
Zegnat
There isn’t actually any nesting, tantek__, just a failed `float` on the avatars in the list.
#
Zegnat
Atleast if you are talking about the same thing I am seeing :P
#
tantek__
Zegnat, seems to happen a lot on Tumblr
Deusdeorum13, eli_oat1 and [jgmac1106] joined the channel
#
[jgmac1106]
[aaronpk] new standard.. That's cute
#
aaronpk
hehe yea
#
aaronpk
maybe he was talking about the standard (convention) for podcasts rather than the standard of the format
#
Zegnat
I thought jsonfeed was supposed to be the new podcasting feed standard? :P
#
Zegnat
(Although, sadly, no rel="payment" there ... https://github.com/brentsimmons/JSONFeed/issues/44)
#
Loqi
[voxpelli] #44 Support link relations
#
aaronpk
this goes inside the html show notes, so it would work regardless of whether it's an xml or json feed
#
aaronpk
that was the trick to make this actually possible to roll out almost instantly, since anyone who writes html into their show notes (many many podcasters on many many platforms) can just add the new <a> link
#
aaronpk
rather than waiting for all the podcast publishing software to update to add a new xml tag to the feed
#
tantek__
this ^^^ is the problem with new xml for new things
#
tantek__
also s/xml/json and the problem is still true today
snarfed joined the channel
#
petermolnar
but it's more readable today
#
tantek__
is there more we can recommend for the html in their show notes?
#
tantek__
what are show notes
#
Loqi
It looks like we don't have a page for "show notes" yet. Would you like to create it? (Or just say "show notes is ____", a sentence describing the term)
#
aaronpk
not unless there is a really compelling consuming use case for it
#
tantek__
and that page doesn't mention "show notes"
#
aaronpk
hm also that "how" header is incorrect, you don't publish a feed on itunes, itunes is a directory
#
aaronpk
that makes it sound like itunes hosts the feed
#
tantek__
doesn't it?
#
tantek__
yeah that's confusing
#
aaronpk
to add a podcast to itunes you have to give it your feed URL
#
tantek__
maybe that needs a separate how to get listed in iTunes
#
aaronpk
you can't enter any information in the apple interface, it pulls everything from your feed
#
tantek__
also does Atom enclosures actually work for podcasting?
#
tantek__
really wondering about that how to publish advice there
#
aaronpk
if by atom enclosure you mean the <enclosure> tag then i believe that is the *only* way to do it
eli_oat1 joined the channel
#
tantek__
needs an update from someone who actually publishes a podcast
#
aaronparecki.com
edited /podcast (-15) "/* Brainstorming */ update my example"
(view diff)
#
aaronparecki.com
edited /podcast (+176) "/* How */ expand and clarify somewhat"
(view diff)
#
aaronpk
don't have energy for a proper fix of that section right now
#
tantek__
aaronpk++ thanks for the quick patch
#
Loqi
aaronpk has 104 karma in this channel over the last year (316 in all channels)
tbbrown joined the channel
#
jeremycherfas
!tell aaronpk So can I just add a hidden rel="payment" to every show note?
#
aaronpk
Yea but even better make it visible so that players that don't support it still show your link!
#
jeremycherfas
That means styling and everything, but yet ...
#
tantek__
just added rel=payment to his tip link on his home page FWIW
#
jeremycherfas
s/yet/yes/
#
aaronpk
Styling? It can just be in the text
#
aaronpk
Like "support this podcast on patreon" as the link text
#
jeremycherfas
What it looks like in the player.
#
aaronpk
A lot of podcasts do that already
#
jeremycherfas
I need to find time away from doing a daily podcast to experiment. Completely exhausting.
#
aaronpk
Daily is so much work!
jackjamieson joined the channel
#
aaronparecki.com
edited /IRC (+55) "/* Advanced / Admin notes */"
(view diff)
#
aaronparecki.com
edited /indiechat (+77) "indieweb-chat"
(view diff)
#
aaronparecki.com
edited /IRC (+50) "/* Advanced / Admin notes */"
(view diff)
[iambismark], [schmarty] and [keithjgrant] joined the channel
#
[keithjgrant]
How would I post a bookmark via micropub? I see Quill supports it, but I don't `bookmark-of` or anything like that in the spec
#
sknebel
The spec doesn't describe that stuff
#
sknebel
That's in microformats
#
aaronpk
technically bookmark-of is "under consideration" http://microformats.org/wiki/h-entry#Proposed_Additions
#
Loqi
[Tantek Çelik] h-entry is a simple, open format for episodic or datestamped content on the web. h-entry is often used with content intended to be syndicated, e.g. blog posts. h-entry is one of several open microformat standards suitable for embedding data in HTML. ...
#
[keithjgrant]
Ah, cool. So I'll look to do it like quill does
#
aaronpk
but basically micropub doesn't define any vocab, that's all defined by microformats
#
[keithjgrant]
like-of and repost-of are defined in micropub, though, aren't they?
#
aaronpk
no they are just examples in the spec
#
[keithjgrant]
Ah, I see. That makes sense
#
[keithjgrant]
Does any clients use/support additional comments along with likes & reposts?
iasai and eli_oat1 joined the channel
#
aaronpk
i don't think so
#
aaronpk
typically those are one-click actions
[chrisaldrich] joined the channel
#
eddiehinkle.com
edited /ActivityPub (+1862) "/* Bridging */ Add workflow and tips for sending ActivityPub notifications from an IndieWeb website"
(view diff)
iasai, Gabemo28, [jgmac1106], tantek, tantek__, nandub, cloud-maingo and snarfed joined the channel
#
@ChrisAldrich
↩️ A WordPress plugin to help facilitate setting up these types of feed readers using Microsub was released yesterday: https://wordpress.org/plugins/aperture/ It's obviously much more powerful if you've got Webmention and Micropub functionality set up too. https://boffosocko.com/2018/08/14/reply-to-stephen-downes-on-microsub-readers/
(twitter.com/_/status/1029400137427181568)
[eddie] and [cleverdevil] joined the channel
#
@jgmac1106
@wiobyrne Now that you are back on radar look at how @chrisaldrich has interacted with post kinds and webmentions in my class.. (https://jgregorymcverry.com/6001-2/)
(twitter.com/_/status/1029400908109631488)
tantek__, eli_oat1, iasai, [tantek], [metbril], [iambismark], [chrisaldrich] and [grantcodes] joined the channel
#
[cleverdevil]
[grantcodes] how do you handle the redirect after publish?
#
Loqi
[cleverdevil]: [grantcodes] left you a message 1 day, 1 hour ago: Yeah it's a bit iffy for me too. Don't know if anyone knows any other image proxy services that support resizing on the fly like that
#
[cleverdevil]
Since the headless side won't know what the frontend is going to use for its permalink.
#
[grantcodes]
Nothing clever. When you run the backend you need to provide a pattern for your permalinks
#
[cleverdevil]
I was thinking of making consumers just provide a well-known endpoint for rendering posts from the backend.
#
[cleverdevil]
Then, the frontend could do another redirect after it generated its own permalink however it wanted.
#
[grantcodes]
Then wouldn't the frontend also need a backend?
#
[grantcodes]
I don't quite get it 😛
#
[cleverdevil]
Yes, the frontend would also need a backend
#
[cleverdevil]
But, it would be a separation of concerns.
#
[cleverdevil]
One microservice for micropub stuff.
#
[cleverdevil]
One for just rendering content from the CMS microservice.
#
[grantcodes]
My version works, until you have a static site or something that needs compiled. Then the returned permalink may not exist, but it would exist in the future.
#
[cleverdevil]
I actually want/prefer dynamic sites.
#
[grantcodes]
How would you then map from the url to get the correct mf2 json from the backend?
#
[grantcodes]
In particular if you change the slug or something
#
[cleverdevil]
So, the render-side microservice would need to maintain that mapping.
#
[cleverdevil]
Or, would need to be able to tell the cms-side to update its mapping.
#
[cleverdevil]
(I suppose that's another way to do it)
#
[grantcodes]
Hmm still sounds more complicated than a permalink pattern 😛
#
[cleverdevil]
You're probably right.
#
[cleverdevil]
But, then the microservice would be for a single tenant.
#
[cleverdevil]
I'd like to make it support multiple sites.
#
[cleverdevil]
And have as little configuration as possible.
#
[grantcodes]
Ah yes, mine is one instance per user
#
[grantcodes]
Actually could the headless server not actually spit out plain html in response to the micropub request? That way it could also send webmentions. There is probably a million issues with that once I actually think about it though
#
[cleverdevil]
Yeah, this is sort of the issue with trying to completely decouple, unfortunately 😕
[pfefferle] joined the channel
#
[grantcodes]
Yes. My site will be fine, since it is dynamic. In my backend I would just have to figure out a way to delay sending webmentions for people that need compilation. Probably webhook all the things
tantek__ and [eddie] joined the channel
#
[eddie]
hmmm aaronpk snarfed seems like something’s off with my activity pub http signature surprise, surprise? I’m getting Signature is missing headers or signature parts from your server aaronpk 😕
#
[eddie]
aaronpk do you think you could email me your ActivityPub php files you they are separate from the rest of your site?
#
aaronpk
what's the exact response you're getting from my server?
#
[eddie]
error: ‘Signature is missing headers or signature parts’ }
#
[eddie]
I’ve gotten other errors as I’ve tried fiddling with stuff, but that seems the most successful error message lol
#
aaronpk
oh your signature line is all wack
#
aaronpk
i got: "(request-target): post activitypub/inbox aaronparecki.com Tue, 14 Aug 2018 13:18:41 GMT"
#
aaronpk
that should be the list of things you've signed, like "(request-target) user-agent host date accept-encoding digest content-type"
#
[eddie]
you don’t put the header values you put the header attribute names
#
aaronpk
literally what's in that example haha
#
[eddie]
that makes a lot more sense
#
[eddie]
lol I read it as if they were variables
#
[eddie]
Success!
#
[eddie]
Well partial success but i understand what to fix based on the current response 🙂
[jgmac1106], [iambismark], Syfer, [chrisaldrich] and strugee joined the channel
#
loqi.me
created /decentralised (+26) "prompted by tantek__ and redirect added by tantek__"
(view diff)
#
loqi.me
created /decentralisation (+29) "prompted by tantek__ and redirect added by tantek__"
(view diff)
#
boffosocko.com
edited /Aperture (+710) "pagelogo; WordPress plugin; shifted dgold article; Category:WordPress_plugins"
(view diff)
Stryyker16 joined the channel
#
boffosocko.com
edited /refback (+81) "link to WordPress plugin"
(view diff)
#
tantek.com
edited /dwebsummit (+0) "update for 2018"
(view diff)
kicks, jgmac1106 and snarfed joined the channel
#
Loqi
[aaronpk] not sure what you mean by the URL citation block at the bottom. The way that Monocle renders posts is it includes the quoted post in the UI if `quotation-of` is present. That ends up incorrectly looking like a QT in cases like this. ![screenshot 2...
#
snarfed
aaronpk i was talking about the u-quotation-of h-cite div at the bottom of granary's html
#
aaronpk
only sees microformats
#
snarfed
the one you said doesn't have anything beyond the url, so it's not useful, which is true
#
snarfed
i'm guessing the core idea in your issue was that i should probably drop that div entirely, not just the u-quotation-of, right?
#
aaronpk
oh, uh
#
aaronpk
i don't really care because i parse this for microformats so i don't see the html
#
snarfed
you may be happy with it now then
[metbril] joined the channel
#
snarfed
even if i probably still need to improve the mf2/html output in general
eli_oat1 joined the channel
#
aaronpk
cool, will wait for something to pop up in my reader!
#
vanderven.se martijn
edited /litepub (+507) "Links, citations, that sort of thing."
(view diff)
jgmac1106__ joined the channel
CrunchyChewie18, snarfed, leg, barpthewire, eli_oat1, kaptin22, [pfefferle], Zooklubba17, [iambismark], tantek__, TripFandango, [metbril], calumryan, [eddie], jgmac1106__, [kevinmarks] and KartikPrabhu joined the channel
#
gregorlove.com
edited /webring (+101) "/* Examples */ +Blog Lane"
(view diff)
snarfed, [jgmac1106], [iambismark] and [eddie] joined the channel
#
[eddie]
starts to think using fed.brid.gy might be the right choice over handrolling everything
#
aaronpk
bridgy fed needs a few more things before it can completely take the place of handrolling evrything
tantek__ joined the channel
#
[eddie]
decisions decisions
#
[eddie]
Cryptography is hard