#dev 2021-08-19

2021-08-19 UTC
gRegor, shoesNsocks, jacky, gerben, hendursaga and Seirdy joined the channel
#
epilys
Is it a good practice to periodically (like every 2-3 months) resend webmentions to previously unsupported sites in case they set it up later?
astrojuanlu[m] joined the channel
#
Zegnat
I do not think we have documented any sort of best practices like that. But I could totally see how it would be interesting to check periodically if previously undeliverable mentions can be delivered
#
epilys
I think retrying on a more than a month basis is harmless, right?
#
epilys
probably bigger than 2-3 months
jacky joined the channel
#
Zegnat
It should be harmless to retry as often as you want, just do not accidentally turn yourself into a DoS attack
#
epilys
ofc ofc just asking if there was a specific netiquette
#
Zegnat
sort of back-off strategy.
#
Zegnat
Not really. I think there is also the question of different strategies depending on why it failed to deliver a mention. E.g. if a site does not advertise a webmention endpoint at all, just doing the GET request to check if they have implemented one can be done at some regular interval. If they did advertise an endpoint but the endpoint failed to respond to your POST request, maybe you want to try again a little sooner, but have some
#
[tantek]
or wait for them to send you a webmention and then send all yours in return πŸ™‚
#
[tantek]
anyone who flips on receiving webmentions will likely start sending them also
hoenir, Zegnat[d], corenominal[d], aaronpk[d], lahacker[d], wackycity[d], indieweb-irc-bri, hendursa1 and cadeyrn[d] joined the channel
#
epilys
I'm implementing it for a link aggregator, not many sites will probably link to it
#
epilys
at least for now :p
hoenir, Zegnat[d], aaronpk[d], cadeyrn[d], corenominal[d], lahacker[d], indieweb-irc-bri, wackycity[d], neocow, Murray[d], rommudoh[m], hala-bala[m], reed, SamWilson[m], Abhas[m], Lohn, vikanezrimaya, diegov, astrojuanlu[m], lasr[m], cambridgeport90[, astralbijection[, P[m]1, LaBcasse[m], nekr0z and benatkin joined the channel
#
epilys
ok my python tool now seems to pass all discovery tests with webmention.rocks!
angelo, tetov-irc, Guest5155, gRegor, kimberlyhirsh[d] and shoesNsocks joined the channel
nolith joined the channel
#
nolith
aaronpk: I was implementing quill editor features in my micropub. I got confused by content.html not being an array like all the other fields. Is that expected?
#
nolith
aaronpk: also the example request in https://quill.p3k.io/docs/editor is wrong, as type is an array (and quill send an array)
#
sknebel
nolith: content is an array
#
sknebel
with objects in it
#
sknebel
is that what quill does?
#
sknebel
(the docs also show that part wrong)
#
nolith
sknebel: ok so it's an array of objects. Ok then quill is sending the right thing, there are only two errors in the docs (type and the lack ok {} in the content object). Thanks
#
aaronpk
Oh yea typos in the docs πŸ€¦β€β™‚οΈ
#
GWG
aaronpk: Can I ask if you have any brainstorms on https://github.com/indieweb/indieauth/issues/88? I think Zegnat may be right, but not sure where external tokens should be accessed
#
Loqi
[dshanske] #88 Extension to Allow Clients to Get Tokens Secured by Ticket
rockorager joined the channel
#
aaronpk
I'm going to have to look at this later
#
nolith
It works! Yay! https://abisso.org/stream/2021/08/19/p-this-article-was-posted-with-a-href-https-quill/ I'll test the media endpoint another time. But should work
#
Loqi
[Alessio Caiazza] Posting HTML articles with micropub
#
Loqi
πŸ˜ƒ
#
nolith
I think that I messed up my default slug generator :D
#
rockorager
Does anyone know of any micropub clients that publish recipes?
#
GWG
aaronpk: No rush... just mind in many places
hendursaga, [schmarty], jjuran, Ramon[d], KartikPrabhu and capjamesg[d] joined the channel
#
capjamesg[d]
"This post's Webmention endpoint has query string parameters. Your Webmention client must preserve the query string parameters, and not send them in the post body."
#
capjamesg[d]
How did you interpret #21?
#
capjamesg[d]
epilys I may have a question for you πŸ™‚
#
capjamesg[d]
I don't understand this.
#
capjamesg[d]
I was also confused on "3.1.4 Sending Webmentions for updated posts" in the spec. How does this apply to a sender?
#
capjamesg[d]
What does it mean "not send them in the post body"?
#
capjamesg[d]
Is sending updated webmentions not something one should do manually?
#
capjamesg[d]
rockorager aaronpk's Teacup lets you publish food / drinks. Not sure about recipes though.
#
aaronpk
if the endpoint is something like example.com/webmention?foo=bar then you need to not move the foo=bar into the post body, it has to stay in the query string. so you'd make a POST to example.com/webmention?foo=bar with source=X&target=Y in the body
#
sknebel
capjamesg[d]: why wouldnt you do it automatically?
gRegor and gRegorLove_ joined the channel
#
[tantek]
more general dev/inventor/creator methodology related rather than indieweb-specific, however, could very much apply to many things we build here (especially since so much of it is OSS). assume the tools you create can & will fall into the hands of those who may have different values / ethics than yourself: https://theintercept.com/2021/08/17/afghanistan-taliban-military-biometrics/
#
aaronpk
"I don’t think anyone ever thought about data privacy or what to do in the event the system fell into the wrong hands" 🀦
#
capjamesg[d]
sknebel How do you do it automatically?
#
sknebel
have your site check if a post got edited and trigger the webmention sending again
#
capjamesg[d]
Thanks aaronpk for explaining.
#
capjamesg[d]
Well, I suppose I could do it from Micropub.
#
capjamesg[d]
I just hadn't thought about that.
#
sknebel
if you dont have that you can of course do it manually, but then the consideration for when to send mentions still applies, just to you in your head ;)
#
GWG
capjamesg[d]: All photos should NOT be marked as u-photo
#
GWG
A featured photo could use the experimental u-featured
#
[tantek]
^ exactly
#
GWG
u-photo indicates a photo is the main subject of a post. Essentially, a photo post
#
GWG
Multiple u-photos makes it a multi photo post, but again, photos being the main subject of the post
grantcodes[d] joined the channel
#
capjamesg[d]
That's what I thought GWG.
#
capjamesg[d]
Thanks for the clarification!
jacky, KartikPrabhu, vilhalmer, gRegor, ap, [fluffy], tetov-irc and shoesNsocks joined the channel
[snarfed] joined the channel
#
[snarfed]
KevinMarks++ now if only it did video, I could drop my hacky custom CloudFlare Worker for that
#
Loqi
KevinMarks has 13 karma in this channel over the last year (41 in all channels)
#
[snarfed]
"There was an interesting discussion in a working group session at the recent IETF 111 meeting over a proposal that this working group should require at least two implementations (presumably independently developed implementations) of a working group draft before the working group would consider the document ready for submission to the IESG for progression to publication as an RFC. What's going on here?"