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
@firstname.lastname@example.org 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 @email@example.com 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
@firstname.lastname@example.org Thanks! 🙏 What’s the end goal here? 🤔
@email@example.com To outline what is needed for implementing webmetnion in a twtxt-webapp like twtxt-php/timeline or yarnd
@firstname.lastname@example.org 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.
@email@example.com 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
@firstname.lastname@example.org 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?
@email@example.com webmentions are dispatched from here https://git.mills.io/yarnsocial/yarn/src/branch/main/internal/post_handler.go#L160-L169
@firstname.lastname@example.org 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 @email@example.com ?
@firstname.lastname@example.org It should work with any endpoint but there’s a condition around whether it fires a WebMention or not
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 @email@example.com it might work, bit weird though 😅
@firstname.lastname@example.org it does not😢
@email@example.com Yeah because it doesn’t have a Link header
So this was right all along: #1156 - Webmention: a source doesn’t mention the target - yarn - Mills
@firstname.lastname@example.org Hmm need to look into this 🤔
@email@example.com 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😉
@firstname.lastname@example.org 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
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.
@email@example.com Got an example request?