Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Support Salmentions #21
With #18 fixed and the comments now being curlable the next step would be to utilize that curlability by becoming part of the salmentions ecosystem and both receive salmentions from others and forward them.
This moves this endpoint closer to be able to take part in a SWAT0 dance.
So this more or less means that rather than just simply fetching a single page, the source, per WebMention the script would, in the worst case scenario, have to fetch four different types of pages: The source, the target, all comments included in the source and all targets of the target.
And when all that is done it has to send WebMentions to all the WebMentions endpoints of the targets targets.
So a source with a single comment on a target with a single target would mean fetching 4 pages and doing 1 WebMention rather than just fetching 1 page as is done today. And 4 times the metadata will be stored. This metadata will be possible to use to better present reply-context and such on eg. the standalone embed pages and such though and could perhaps be used in other ways as well.
referenced this issue
Aug 24, 2015
A first full implementation, with tests, of Salmentioning – fetching and sending – is now in master.
It still does some excessive fetching and pinging and it is possible for it to get stuck in an infinite loop – and there's yet no way to opt-in a site through the UI – but the basis is there and it works – now it's just a matter of refining it.