-
-
Notifications
You must be signed in to change notification settings - Fork 7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mastodon should send webmentions to linked sites. #6074
Comments
How many sites support accepting webmentions? |
I'm afraid I don't know right now. It's in the W3C standard process (https://www.w3.org/TR/webmention/), and there are plugins for wordpress and other platforms. It might be interesting to just add a metric collection on which sites have been retrieved for cards that have the appropriate headers, before deciding to write the sending code... |
Any setting like this should be configurable on a per-instance and per-user level. |
Within the past month it's guestimated that over 1 million webmentions have been sent on the internet. There's not really solid research on how many sites physically send and/or receive them, but as of last June the conservative number was in the range of about 5,000 and the number is increasing rapidly, particularly with platforms like micro.blog (5-10,000 accounts) now supporting them out of the box and CMSs like Drupal (via plugin) and Perch having added them since then. This also doesn't take into account an anecdotally sharp uptick of adoption on WordPress via plugin, most notably by several WordPress core developers. Mastodon already supports most microformats for webmention to be implemented more easily. #122 and #965 There are already a number of open source tools that might also be bootstrapped for something like this as well: https://indieweb.org/Webmention#Services |
thanks chris! you all can also try out https://fed.brid.gy/ , an opt in service that translates webmentions to ActivityPub/OStatus and vice versa. i’m happy to answer any q’s on the mapping. (and mastodon is the main use case!) |
Webmentions are popular amongst the IndieWeb crowd (myself included, though my blog is very low traffic). Scroll to the bottom of this example (Jeremy Keith's journal) for an example of them being used. |
Ah, also worth noting, Webmention progressed to a w3c recommendation a couple of months back. https://www.w3.org/TR/webmention/ |
My own blog is hosted on netlify, and their built in form handling is well suited to webmentions (at least until the free limit is hit). Sending is more involved since a webmention endpoint has to be detected (I do this via a hand-rolled cli utility). |
I really like the idea of webmentions in theory, but I feel like in practice people link to blogs for negative reasons as much as positive ones, and would be really surprised/upset if they found out we were telling the author that they were shitting on their post—especially if they thought it was just between them and their followers and didn't want or think the post's author was going to see it (for example, they had a really petty criticism like "good article but I hate this dude because he reminds me of someone i used to know in 3rd grade" and would be really upset if webmentions meant what they thought was just between them + their followers suddenly shoved in the author's face when they totally didn't mean to) anyway like I said I really like the idea but I feel like in practice implementing webmentions would be ......... awkward. |
I see what you mean. I suppose this points to making the feature somehow optional, and the complications that brings... |
Odd, this feature shouldn't be implemented so that people can swear behind the original article's author's back? If they want to do that, just don't include the article's link in the same toot where they swear.. problem solved :D I really think this is a non-issue. The plus is that the author's get motivated seeing they are getting referenced where they didn't expect, and would write more and better. |
That may be the case (and I'd personally be happy with this), but links potentially sending webmentions should not be surprising to a user. Since not all links will have a corresponding webmention receiver, and mastodon hasn't worked this way up to now, there'd be a risk of that. |
FWIW, I think as Gargron is suggesting it, mentions would only be sent on public toots, so if you wanted to insult (or otherwise mention in a discreet way) a blogger to your followers while still linking to them and not having them realize, you could accomplish that through a non-public toot. Nonetheless, I see how this is a privacy issue, even in the case of public toots. Sending a notification is different from just providing a link. Particularly when searching for a link isn't provided functionality, there is a significant meaningful difference in effective publicity. I think users understand that @-mentions do include notifications of the mentioned person. Maybe links could be like that too, where if you put "@" before a link, then the target of the link is notified, and if you don't, then it's just a simple link. That would be the difference between replying to a blog post (functionality which I would love to have for my Mastodon account) and just linking to it. |
You would think this, but as an admin at least once a month a user DMs me with a complaint about another user, and accidentally manages to tag and notify the other user in the process. It's not exactly as unsurprising as you would expect. |
@nightpool yeah, I understand that it's still possible to accidentally notify someone when you didn't want to, I just meant that there is a documented way of actively mentioning someone on Mastodon, and it's the @ sign. |
How about using the existing cw model, so if you don't want webmentions sent you use a cw wrapper? |
I did a poll for public opinion: https://mastodon.social/@Gargron/99798025215868039 And while the actual poll is almost 50:50, a lot of valid privacy concerns were raised
With all this it's easier for me to not spend any effort on implementing them in Mastodon. |
I didn't see your poll, as probably a lot of Webmentions enthusiasts… :-/ I totally respect the fact you are not interested in this and you don't want to spend any effort on implementing it, but I disagree with some of your justifications:
I just hope someone will want it and have the technical knowledge to make a PR… Or maybe it could be a third party service each user could plug on its account. |
IIRC content cards (or h-cards rather) are processed once and the information's pushed down lightly. |
Webmentions could be implemented with a special link syntax. By default links don't send a webmention but if you use the syntax, it does. Then there's not additional option in settings and the user can decide if they want to use them or not per post. |
I made a glitch over lunch to periodically check my own statuses for links, and dispatch webmentions accordingly. It's still pretty crude, but works well so far. It works through old statuses and then new in batches, searches the content of each status for anchors, and dispatches webmentions for those which support them. Feel free to remix it! Edit: Apologies. It was set to private, but public now. |
Is there anything technically preventing users from pasting a link to a Mastodon status in a webmentions form on the original website, as an alternative to automatic processing? Like the "ping" button that says "Have you published a response to this? Let me know the URL:" on the bottom of the example qubyte provided. If there's still concern about automatic webmentioning simply by posting a public toot with a URL pasted, then it's possible to not implement that part (unless anyone wants to make it an optional dependency or an opt-in setting) |
@trwnh Not as such, but the form at the bottom is a bit of a hack. Since webmentions work using a POST with the same encoding, the rendered form just happens to work (with a type="hidden" input for the |
Any chance this could be revisited? |
Can this be revisited, this time? |
Mastodon should send webmentions to linked sites.
Webmentions are a way to notify sites that they have been linked on a blog or social media. While #1384 is focused on Mastodon processing webmentions from outside, I think that it would be easier and more useful in the short term to have Mastodon attempt to send a webmention to sites that are linked in a toot, with the permalink of the toot.
https://webmention.net/draft/
Mastodon already has code to fetch the site (for generating a card), so parsing the result for a webmention endpoint should be a short step. Sending webmentions documents the process:
The text was updated successfully, but these errors were encountered: