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@twtxt.net here is your reminder in form of my Notes on Webmetions for Twtxt
@darch@neotxt.dk Thanks! 🙏 What’s the end goal here? 🤔
@prologic@twtxt.net 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@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@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@twtxt.net 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@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
@darch@neotxt.dk Hmm need to look into this 🤔
@darch@neotxt.dk I needn an example of where this breaks down I think. Do you happen to have one? 🤔 By all rights, looking at the code paths, the issue raised really doesn’t make sense to me. The Source is the Twt permalink on the source pod that contains an @-mention
of the target’s Twtxt feed. So that should validate just fine hmm 🤔
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😉
@darch@neotxt.dk But this is what I’m confused about. Why would my Twt contains a reference to http://darch.dk/social
instead of http://darch.dk/twtxt.txt
– which the later is what I @-mentioned
? 🤔
Does this make sense? Like my post will contain something like:
Hey @<darch http://darch.dk/twtxt.txt> blah blah
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.
@darch@neotxt.dk Got an example request?