64 points · by gmays · 5y ago · 56 comments
* Webmentions are like pingbacks, but use a simple POST instead of an XMLRPC call;
* They're not particularly new (2013ish);
* Webmention.io is a service to make it easier to participate in webmentions without operating your own POST endpoint.
† https://indiewebify.me - linked in the article as "a quick start to becoming a citizen of the IndieWeb"
That meta chat room is something. Is that how you came to this thread? It's strange to see dismissive comments in there but no outreach to the sources of them. Feels very cliquey.
Is SSG a static site generator? I'm pretty sure Known is a SQL database backed dynamic kind of thing. I looked at it several years ago and I don't remember it being static.
> unless WordPress has grown a lot I doubt it's a complete solution (not theme dependant, etc)
I know very little about WordPress. I do know there are IndieWeb plugins for it. To what extent WordPress might be a solution for you, I wouldn't have any idea.
> That meta chat room is something. Is that how you came to this thread?
I wasn't in the chat room. IndieWeb is something that I've had some interest in and I generally look at posts here about IndieWeb related stuff when they show up from time to time.
What would you think of an onboarding experience like at https://demo.mro.name/shaarligo/o/p/ac2gthz
Hm. I consider that crucial for a user's control (agency) over it's digital property. To not depend on my tool for the existencial moments of creation and deletion of what is in between populated by my (other) tool.
Not sure how viable it is since it was actually more work than I thought it'd be, but at least I feel better now about my site not loading external stuff and setting unnecessary cookies. Now I guess I should actually write more stuff to see if I get mentions (and to test how vulnerable to spam it is, I suppose). I haven't ruled out looking into other ways to implement federated comment systems—or similar, like web mentions—though[2].
[1]: That said, I'm using cloudflare so I guess I do get its analytics.
[2]: And there's always the self-hosted option.
Congratulations on that! I personally believe it should be the foundation for any website, but well...
> how vulnerable to spam it is, I suppose
This depends on how you implement it. You may implement simple rate-limiting/quotas, manual verification, or go the fancy way and implement signatures and/or vetting (not widely implemented yet in the ecosystem).
> I'm using cloudflare
Please consider not doing that. It's even worse than having 3rd party JS on your website. At least with 3rd party JS, i can disable JS in my browser or use an adblocker. When you use Cloudflare, you ask a private company to strip & search every person who'd like to access your website, and many persons are stuck in the process.
Cloudflare does have an option to let users from Tor access your website. But if you don't tick it, the default setting will leave all privacy-sensitive people at your doorstep, with a bad experience of your site. If JS is enabled, the CAPTCHA will loop forever driving us insane. If JS is disabled, the CAPTCHA won't even load.
Cloudflare is one of the worst things that can happen to Internet freedom, by centralizing all communications (especially as part of a free tier that encourages many non-profits to move over) and terminating TLS connections on there. If you enjoy free-software, privacy and computing ethics, please never use any Cloudflare product or equivalent. If you have problems with DDOS, many hosting providers have very good solutions that do not infringe on your or your readers' privacy.
I personally run a catch-all for POSTs on my webmention endpoint so I can do pingback and arbitrary stuff with it too. In terms of spam, yeah, old trackback/pingback spammers are still doing their thing. I get a dozen or so a day. It's easy to filter most out by looking for any triplicate or greater POSTs but that requires doing batch processing.
Overall I think webmention would fall to spam if it became popular but right now it's a wonderful time. This applies to all systems open enough to be useful. It's the natural lifecycle.
You may be thinking of Vouch.
These are the implementations that come to mind:
- re-render entire site on receipt of new mention (live data, but dangerous)
- re-render site on a schedule (less dangerous, nearly live data)
- fetch mentions client-side (live data, safe, but requires javascript enabled in the browser)
[UPDATED] - use cloud edge worker to insert the live data as the page is being returned to client (live data, safe, works with JS disabled in browser)
Are there some implementations that I’m missing?
What do you mean? XSS? SQL injection? What are you afraid would get hacked?
> use cloud edge worker
So you let a 3rd party private company interfere in serving your website? Of course we rely on third parties for some things, but that's a pretty dramatic course of action to let one of those edit your webpages on the fly.
Perhaps hacked isn’t the right way to describe it. The issue is that if you setup a re-build if your static site on receipt of a mention, that means anyone on the internet can rebuild your site whenever just by creating a mention. That has the potential to take your site down because for example you might run out of build monthly minutes. There are probably other ways such a setup could be used to cause issues.
> that's a pretty dramatic course of action to let one of those edit your webpages on the fly
The way I have been thinking of cloud edge workers is just another place you can run some compute when you get a request. I think I can see why you might be hesitant, so you might have a valid point, I haven’t spent a huge amount of time analysing the threat vectors that are inherent with edge workers.
In your opinion, why are edge workers more dangerous than the usual hosting provider that ‘interferes’ with the request by rendering and returning the page?
- use edge workers to fetch and insert data as the page is being returned to the client
That would work in browsers with JS disabled.
You could also have client-side code to update with live data as it comes in.
The downside is that it’s not very portable code, but that’s the same for most serverless stuff, and it’s probably not that difficult to re-implement on another platform.
The nature of the interaction is not contained within the webmention, but rather the site on the other site will fetch and parse your page to figure that out. That information is within the HTML itself, such as `<a class="u-in-reply-to" href="foo.bar/baz">Commenting on this article</a>` to express a commenting/reply relationship.
Urg. Nevermind...found the repo, and it appears to. https://github.com/remy/wm/search?q=canonical
Since you want to use the open web standards, you probably have heard of the indieweb movement. They have been working in this field, have standardized a bunch of protocols, among which webmention is only one (see https://indieweb.org/graphics#Illustrations_and_Sketch_Notes) and are all about doing first. I think there's a lot more you can reuse from their work! Kalaksi could be a nice demonstration of what the openness could bring. In particular it seems Kalaksi could become a social reader (https://indieweb.org/social_reader). This is exactly what we need to remove the importance that siloed private social networks.
Small comment: it seems the planets don't have the <link rel="alternate"> in the header that allows the browser to detect the rss feed, so one can't use the page directly but has to copy-paste the link to be able to subscribe outside of Kalaksi
i really love the whole concept of news aggregation and reoutputting a new RSS feed so other users can subscribe to your feed(s) is great!
how would you say it compares to hubzilla? (apart from not supporting many other protocols)
Somewhat similar story with how 'WebSub sure looks a lot like PubSubHubBub' https://www.w3.org/TR/websub/ https://pubsubhubbub.github.io/PubSubHubbub/pubsubhubbub-cor...
Or how "ActivityPub targeting and delivery sure looks like Linked Data Notifications" https://www.w3.org/TR/activitypub/#h-note-9 https://www.w3.org/TR/ldn/
They insist on microformats which are no use for any content other than html, in my case atom: https://demo.mro.name/shaarligo
Plz prove me wrong.
Is this a good alternative?
I guess it doesn’t allow comments unless you mention it from your site?
That is the principle yes. However with or without webmention, you can build a public commenting system on your website. All it takes is form-processing on a server-side endpoint (to receive comments and filter out spam) and retrieving/formatting comments either on the server site (querying the endpoint whether per-request for dynamic sites, or as part of your build pipeline for static sites).
Webmention is a technology that enables websites to federate using semantic HTML. Comments are an order of magnitude simpler and never ever required any JavaScript or third party service. I never understood why people use Disqus, and i certainly will never enable JavaScript to comment on a website.