5 ms·
>People who try alternative networks such as Mastodon or, God forbid, Gemini. People who poke fun at the modern web by building true HTML and JavaScript-less pa
by superkuh 3y ago
>People who try alternative networks such as Mastodon or, God forbid, Gemini. People who poke fun at the modern web by building true HTML and JavaScript-less pages.
Mastodon is actually part of the "HTTP as a secure application delivery protocol" and is no longer part of the "HTTP as website document delivery" team.
To me that seems the biggest split: self contained application versus hyperlinked documents.
- the_gipsy 3y agoI am ignorant of the underlying mastodon protocol, but couldn't there be a (mostly) HTML-only frontend for mastodon, or something like that? I really hated that about twitter too, that for reading a goddamn SMS-lenghty tiny text it couldn't just have been "prerendered" on the server, no, you have to fetch a million things and watch different spinners before you get at it.
- steinuil 3y agoSure, you can write or run your own fediverse server that renders HTML-only page, and every time you see a Mastodon link you paste it in your server's lookup form and browse it from there. Honk (https://humungus.tedunangst.com/r/honk https://humungus.tedunangst.com/r/honk) is HTML only and very minimalistic. I'm sure there's frontends or clients for Mastodon that use less HTML as well, so you can also swap out Mastodon's default frontend for a less heavy one.
- deleted 3y ago[deleted]
- doublepg23 3y agoGoToSocial exposes an API for basic frontends pretty much. https://github.com/superseriousbusiness/gotosocial https://github.com/superseriousbusiness/gotosocial
- aendruk 3y agoThe awful thing about Mastodon is it used to serve inert HTML but this behavior was removed. https://github.com/mastodon/mastodon/issues/19953 https://github.com/mastodon/mastodon/issues/19953
- anthk 3y agoThere is: https://brutaldon.org https://brutaldon.org
- superkuh 3y agoI must be misunderstanding this site. Is it really a third party you give your login/password to who then uses it to log into the instance and handle the activitypub? And people do this?
- tannhaeuser 3y agoYou can thank W3C's ActivityPub charter for that, who, in their infinite wisdom, have decided it woukd make sense to use JSON for sending hypertext around, rather than, you know, HTML.
- mschuster91 3y agoHow else would you deliver the metadata accompanying the content? HTTP headers are too flat, they don't support nested elements. In contrast, JSON parsers are a dime a dozen, and HTTP+JSON has been the standard in APIs for well over a decade now. Be happy Mastodon isn't based on XML-SOAP, that would have been a right fucking mess and depending how rigid the clients would parse it, you'd end up with immediate ossification of the protocol instead of people just adding new fields for new functions (e.g. polls).
- mike_hearn 3y agoWhy would you get ossification? The point of XML based RPC protocols was that XML had lots of extension features like namespaces and parsers were dime a dozen. The forgotten 2000-era web had solutions for all of this in the form of XML and XSLT. The server serves XML, which is "semantic" (data structures). The XML has a header pointing to an XSLT file, which defines a functional transform of the XML to HTML. You could use namespaces to embed semantic info inside other schemas like XHTML if you wanted, also. It never took off, partly because XSLT was a pretty unpleasant programming language (I actually built a product with it back in the day), partly due to latency reasons and partly because the XML vision wasn't sufficiently backwards compatible with regular HTML. These days browsers don't support such tech anymore, so you need to treat HTML+JS as an app platform, HTTP as an RPC protocol and JSON as the serialization format but because that arrangement was never really designed per se there are lots of little missing pieces, like being able to discover the RPC protocol a web app uses without actually executing that app.
- tannhaeuser 3y agoAh the obsession with "metadata". Looks like W3C spent too much time on non-problems of the "meta" kind first with XML and then RDF/JSON-LD, now they're looking for problems to their "solutions".
- masfuerte 3y agoIt's such a shame. I stopped reading twitter links when they went js only. Mastodon is actually worse because there's no way I'm enabling js from some random domain I've never heard of before. It would take literally a couple of hours to add an unstyled html feed but, apart from me, who wants that?
- seabass-labrax 3y agoMastodon is fully usable without any JavaScript at all; there are a number of 'client' applications that you can install entirely locally[1]. If you're using the 'normal' Web interface to Mastodon, you'll only ever need to run JavaScript from the server you registered for, even if you read posts from other servers. [1]: https://joinmastodon.org/apps https://joinmastodon.org/apps
- zzo38computer 3y agoOK, but there are many instances and you should be able to somehow make it automatically work with all of them when you access the URL (even in browsers that somehow do not render HTML). You could use <link rel='alternate' type='application/activity+json'> but that only specifies that it is using Activty Stream and not that it is using Mastodon.
- seabass-labrax 3y agoAbsolutely - your browser should ideally handle it for you and offer to open any Mastodon link in the client of your choice. However, my comment was to indicate that this isn't an inherent issue with Mastodon or ActivityPub. It's just a 'plumbing' issue, a matter of the rest of the Web ecosystem catching up with the rapid pace of the Fediverse's development.
- zzo38computer 3y agoWhat should be needing then is standardized commands to indicate which APIs it implements (which might be more than one) for any kind of web app services that may be available on multiple instances on multiple servers, that you can identify them and be able to work. Unfortunately, it seem that some do not do that (including Fossil; I tried to tell them to add such a thing but they don't want to do; I run my own Fossil and would want to expose some command to indicate its presence instead of being forced to use the built-in user interface).