#dev 2019-06-09

2019-06-09 UTC
KartikPrabhu, snarfed, gRegorLove_ and gRegorLove__ joined the channel
#
jacky
what is duplication
#
Loqi
It looks like we don't have a page for "duplication" yet. Would you like to create it? (Or just say "duplication is ____", a sentence describing the term)
[Michael_Beckwit, [xavierroy], snarfed, argovaerts and [kevinmarks786] joined the channel
[Rose], ben_thatmustbeme, argovaerts, oodani and [smerrill] joined the channel
#
[smerrill]
I’m still poking iOS Shortcuts. When I supply a valid Bearer token, I can upload a file to my media endpoint. But that endpoint returns a 201 response with a Location header that the Shortcut Get Content of URL does not expose to me in any way I can find. Does my endpoint need to actually present text in the body of the response in addition to the Location header?
#
Zegnat
I think for Shortcuts it will need to have a body, yes, [smerrill]. sebsel, [Rose], or a handful of other iOS Shortcuts user will be able to give you the definitive answer :)
#
Zegnat
I think the WordPress media endpoint is actually set up to return a JSON body with the link, maybe worth copying what it does
#
GWG
It is
[jgmac1106] joined the channel
#
GWG
It also returns some other random data
#
Loqi
[dshanske] #13 Response from Media Endpoint
#
sebsel
Zegnat, [smerrill]: yea, last time I checked this was the case. The Micropub spec says nothing about the body, so I return HTML with an <a href=“”>, so shortcuts can get the link of the post
#
sebsel
but that does not work with all endpoints :(
argovaerts, snarfed and [schmarty] joined the channel
#
[schmarty]
[smerrill] i updated my micropub media endpoint to return a JSON response containing the new URL
#
GWG
Hi, schmarty
[Rose], [kevinmarks786], [aaronpk] and [mifga] joined the channel
#
@ton_zylstra
Letterpress printed QSL cards for successfully sent and received Webmentions must be the most finely targeted joke. The audience very likely not larger than 3 people. (https://www.zylstra.org/blog/2019/06/7290/)
(twitter.com/_/status/1137778157522685953)
gRegorLove__, [Rose] and [schmarty] joined the channel
#
[schmarty]
aaargh, Hugo's (Go's) date parsing is making me grumpy again today.
#
[schmarty]
(apparently "2019-06-22 13:00" is not parseable but "2019-06-22 13:00:00" is! 🙄)
BenLubar joined the channel
#
@aaronpk
↩️ @Cambridgeport90 hmm, they are sent just like regular webmentions, are they getting flagged by akismet or something?
(twitter.com/_/status/1137819707602493440)
KartikPrabhu and [jgmac1106] joined the channel
#
@jonathanprozzi
↩️ Hello! Not sure how I received the tag line credit for that article — that was from a retweet I did earlier of an awesome @chrisbiscardi article on webmentions. Just want to make sure the actual author is credited.
(twitter.com/_/status/1137829153577820161)
KartikPrabhu, [tantek], [chrisaldrich], BenLubar, gRegorLove__, [Rose], chrisaldrich and [jgmac1106] joined the channel