#dev 2020-08-16

2020-08-16 UTC
jonnybarnes, [tw2113], [Emma_Humphries], nickodd, KartikPrabhu, loicm, dhanesh95, moppy, [tonz], dhanesh95_, [tantek], [KevinMarks] and prologic joined the channel
#
prologic
hmm
#
prologic
that was odd
#
prologic
What can I use to test my webmention implementation (reciever) ? (locally that is)
#
GWG
"An extension only becomes an official Micropub extension when it has been published as part of a broader ranged official Spec extension for Micropub. Currently there are no official extensions." How does one publish an official extension?
#
aaronpk
prologic: you can run webmention.rocks locally if you want
#
aaronpk
otherwise just send webmentions manually from curl from static html pages
#
prologic
I found some nodejs tool that does some interesting things
#
prologic
going to use that
nickodd joined the channel
#
prologic
Is it not enough to respond with a Link: rel=webmention header on a resource?
#
aaronpk
Enough for what?
#
prologic
hmm nevermind :)
#
prologic
I had some arguments the wrong way around
#
prologic
swapped source/target URLs :/
jonnybarnes joined the channel
#
@khurtwilliams
↩️ I don’t know what ”best” would mean but I’ve used webmentions with WordPress for several years.
(twitter.com/_/status/1295016764615602179)
#
prologic
In order to make webmentions work between two instances of twtxt.net I had to make this commit to a forked library => https://github.com/prologic/webmention/commit/701c7fc0f9beaaa129492447724a8a9860daaa0c
#
prologic
Can someone familiar with this verify correctness and I haven't completely screwed something up?
[fluffy] joined the channel
#
prologic
Is it possible to also send the server's username/nick as part of the payload?
#
prologic
not just a source uri
jonnybarnes and sp1ff joined the channel
#
prologic
seems like the only wat I can get the source user/nick of a webmention is to initiate a request back to the sender's source URI
#
prologic
and determine who the sender was?
#
sknebel
right, you need to fetch the source to validate the request, and for all information you want about it
#
sknebel
there is no concept of "users" or whatever in WMs
petermolnar joined the channel
#
prologic
gotcha
#
prologic
I kind of expected this library to do that
#
prologic
but it just seems to hit the source webmention endpoint and parse all the <link> tags
#
prologic
which isn't terribly useful if I"m not using them
#
GWG
Afternoon
jonnybarnes joined the channel
#
GWG
prologic: The link tags are where the endpoints are.
#
GWG
Not sure if the library does more
#
prologic
looks like it parses all link tags
#
prologic
which is weird
#
prologic
including css links
#
GWG
prologic: Overly broad, possibly
[schmarty] joined the channel
#
GWG
Admittedly, the library is a few years old
#
[schmarty]
prologic: it looks like the code that processes all header links was added in the commit you linked above https://github.com/prologic/webmention/commit/701c7fc0f9beaaa129492447724a8a9860daaa0c#diff-bf0e06930b326ef89e8e6d62cb88f22dR129
#
GWG
[schmarty]: I had a question for you. Was thinking about media endpoints...am I correct a lot of the issues that concerned you involved media endpoints that were independent of the sites using them?
#
[schmarty]
GWG: my proposal is specifically about micropub media endpoints that are separate from the micropub endpoint for a site.
#
GWG
I was rea
#
[schmarty]
which includes any site that uses Spano
#
GWG
I was rereading and updating Micropub extension issues
#
GWG
I tried to update parts of the extension page
#
[schmarty]
my issue is that the Micropub spec describes only one way for a client to discover a media endpoint
#
[schmarty]
and that is to make sure that the Micropub endpoint includes the media endpoint's URL in a response to q=config
#
GWG
[schmarty]: Yes, was wondering if there were any other media endpoint matters you'd thought about
#
sknebel
prologic: what do you mean? it looks for link headers in HTTP to find the ones pointing to the webmention endpoint. And then uses an mf2 parser to find tags with rel=webmention in the body. that seems correct?
#
[schmarty]
that discovery step is an unnecessary coupling of the media endpoint to the micropub endpoint
#
prologic
I guess so
#
prologic
although maybe the mf2 parsing isn't working for me
#
prologic
yes I'm not really sure I want to do mf2 parsing tbh
#
[schmarty]
GWG: what other matters do you have in mind?
KartikPrabhu joined the channel
#
GWG
[schmarty]: Returns and queries
#
GWG
I'm thinking of proposing a media type to filter q=source on the media endpoints
#
GWG
Specifically either mime type or photo, audio, video
#
[schmarty]
GWG i don't have any strong thoughts on those kinds of queries at the moment. 😄
#
GWG
[schmarty]: I am doing a Micropub review because I need to release some fixes to my plugin. wanted to see what I might quickly add
jonnybarnes, g1 and [Emma_Humphries] joined the channel; nickodd left the channel
#
[Emma_Humphries]
Nat Alison needs a blog.
KartikPrabhu joined the channel
#
GWG
Okay
jonnybarnes, [pfefferle], KartikPrabhu, [schmarty] and [KevinMarks] joined the channel; prologic left the channel