←back to thread

418 points akagusu | 2 comments | | HN request time: 0s | source
Show context
dfabulich ◴[] No.45955306[source]
In part 1 of this article, the author wrote, "XSLT is an essential companion to RSS, as it allows the feed itself to be perused in the browser"

Actually, you can make an RSS feed user-browsable by using JavaScript instead. You can even run XSLT in JavaScript, which is what Google's polyfill does.

I've written thousands of lines of XSLT. JavaScript is better than XSLT in every way, which is why JavaScript has thrived and XSLT has dwindled.

This is why XSLT has got to go: https://www.offensivecon.org/speakers/2025/ivan-fratric.html

replies(7): >>45955537 #>>45955587 #>>45955938 #>>45955985 #>>45956639 #>>45956745 #>>45958606 #
LtWorf ◴[] No.45956745[source]
No you can't, since opening an RSS feed won't run a javascript.
replies(1): >>45962121 #
1. dfabulich ◴[] No.45962121[source]
https://github.com/dfabulich/style-xml-feeds-without-xslt
replies(1): >>45970046 #
2. LtWorf ◴[] No.45970046[source]
You mean if instead of generating a feed you rewrite your server to generate a webpage then it will be a webpage?

What will feed readers do with it?