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
@prologic@twtxt.net here is your reminder in form of my Notes on Webmetions for Twtxt
@prologic@twtxt.net To outline what is needed for implementing webmetnion in a twtxt-webapp like twtxt-php/timeline or yarnd
@prologic@twtxt.net 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@twtxt.net 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
@darch@neotxt.dk webmentions are dispatched from here https://git.mills.io/yarnsocial/yarn/src/branch/main/internal/post_handler.go#L160-L169
@xuu 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 ?
Trying to post from good old twtxt.txt. Should this trigger a webmention to @sorenpeter@darch.dk ?
@prologic@twtxt.net it does not😢
@prologic@twtxt.net 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
Yarns does not generate a link back to the site that is being mentioned (eg. <a href="http://darch.dk/social">look here</a>
) which is needed for validating that it is indeed a real webmention, ant not just spam. Try rereading the specs😉
It need to be a proper link to the domain. And mention is linking to a profile page on the pod, so it doesn’t validate.