by gradientsrneat · 6mo ago · 0 comments
I recently became aware of RSS stylesheets. Apparently there is a specification for that called XSLT which is distinct from CSS in both form and function. However, there are plans by Google/Mozilla to remove XSLT from their browser engines for security/maintainability reasons. Apparently RSS supports javascript though, so it's possible to manipulate the RSS DOM that way. One could imagine a javascript polyfill that interprets XSLT, although I'm not sure if there's some cross-site security issues that would make that impractical.
More like a little island in the XML archipelago.
> RSS stylesheets. Apparently there is a specification for that called XSLT
XSLT is a bit more than just “RSS stylesheets”.
No need to imagine a polyfil, they already exist: https://github.com/mfreed7/xslt_polyfill
I made a site with to get people started: https://www.rss.style/
Example RSS feed: https://www.rss.style/changelog.xml
Cross-site is fine by default, though the script is small enough to easily self-host. If you have a content-security-policy, you'll need to allow the host in script-src.