I have added a webmention endpoint to https://darch.dk using https://webmention.io - let see if it work from neotxt.dk to @sorenpeter@darch.dk
did it work? 😮
@eapl.me@eapl.me nope
But I manged to send myself a webmetion using curl -i -d "source=http://algorave.dk&target=http://darch.dk" https://webmention.io/darch.dk/webmention
since I got a link on algorave.dk to darch.dk
@prologic@twtxt.net is there a feature flag to add for webmention support or how does it work?
I excepted if I mentioned my feed on darch.dk @sorenpeter@darch.dk then it would send a webmention to that domain, but where is the link on the yarn pod, that confirms the mention?
EDIT: I found this 7 months old issue: #1156 - Webmention: a source doesn’t mention the target - yarn - Mills
@darch@neotxt.dk I’ll have a look later this week if you can remind me 🙏
@prologic here is your reminder in form of my Notes on Webmetions for Twtxt
@darch@neotxt.dk Thanks! 🙏 What’s the end goal here? 🤔
@prologic To outline what is needed for implementing webmetnion in a twtxt-webapp like twtxt-php/timeline or yarnd
@darch@neotxt.dk No I mean, what do we want to achieve with WebMentions that doesn’t already work across pods in yarnd
? One issue I see is adoption.
@prologic I’m trying to figure out how it works to begin with and how I can make it work with my own domain http://darch.dk – See my questions above in https://neotxt.dk/conv/3x6bsna#jlrsduq
@prologic So I had a look at the yarnd source code, but can’t say that I’m much wiser on how it send out webmention or how to send them to a yarnd pod. Can you break it down?
@darch@neotxt.dk webmentions are dispatched from here https://git.mills.io/yarnsocial/yarn/src/branch/main/internal/post_handler.go#L160-L169
@xuu@txt.sour.is thank you, but does it only work between yarnd pods or also to endpoints like https://webmention.io and does it it detect that I declared such an endpoint on darch.dk when someone mentions @sorenpeter@darch.dk ?
@darch It should work with any endpoint but there’s a condition around whether it fires a WebMention or not
Trying to post from good old twtxt.txt. Should this trigger a webmention to @sorenpeter@darch.dk ?
The reason this is not working, is there is no Link
header on your feed that you’re mentiong: https://gist.mills.io/prologic/fc5290f62c07494590a7e4bc2804c126
If you have a look at any of the feeds on my pod, they all respond with a Link:
header in the response.
I can see that your web page https://darch.dk/social has a <link rel="webmention" href="https://webmention.io/darch.dk/webmention">
in the page’s<head>
which his good. But that is not what you’re linking to in your post, so that won’t get sent a WebMention
If you mention @this@darch.dk it might work, bit weird though 😅
@prologic@twtxt.net it does not😢
@darch@twtxt.net Yeah because it doesn’t have a Link header
@prologic a link header where? It also need a link from here back to the link referred in the webmention
like this http://darch.dk/social/ and @that@darch.dk might work
Jibii!
So this was right all along: #1156 - Webmention: a source doesn’t mention the target - yarn - Mills
@darch@neotxt.dk Hmm need to look into this 🤔