Hacker News new | ask | show | jobs
by Avamander 301 days ago
I still can't see how browser support is useful for that.

Now to think of it, I'd like to see one useful example of its usage. Haven't seen one in a long long time.

1 comments

Take a look at this feed:

https://interconnected.org/home/feed

You’ll see if you view source that it’s an RSS (XML) file that your browser doesn’t know how to render. But at the top, there is this:

    <?xml-stylesheet href="/home/static/styles/pretty-feed-v3.xsl" type="text/xsl"?>
Your browser loads that XSLT and uses it to transcode the XML into HTML, which your browser can now render. The source is here:

https://github.com/genmon/aboutfeeds/blob/main/tools/pretty-...

Thank you for that example, it does help understand how it could be useful.

Though I'm still unsure if supporting that use-case indefinitely is worth the long-term effort. In the same way that FTP support was dropped.