3 ms·
> Cant you just do the xslt transformation server-side? For my Atom feed, sure. I'm already special-casing browsers for my Atom feed [0], so it wouldn't really
by gucci-on-fleek 1y ago
> Cant you just do the xslt transformation server-side?
For my Atom feed, sure. I'm already special-casing browsers for my Atom feed [0], so it wouldn't really be too difficult to modify that to just return HTML instead. And as others mentioned, you can style RSS/Atom directly with CSS [1].
For my Stardew Valley Item Finder web app, no. I specifically designed that web app to work offline (as an installable PWA), so anything server-side won't work. I'll probably end up adding the JS/wasm polyfill [2] to that when Chrome finally removes support, but the web app previously had zero dependencies, so I'm a little bit annoyed that I'll have to add a 2MB dependency.
[0]: https://github.com/gucci-on-fleek/maxchernoff.ca/blob/8d3538b4/web/caddy/etc/base.caddyfile#L229-L236 https://github.com/gucci-on-fleek/maxchernoff.ca/blob/8d3538...
[1]: https://news.ycombinator.com/item?id=45874305 https://news.ycombinator.com/item?id=45874305
[2]: https://github.com/mfreed7/xslt_polyfill https://github.com/mfreed7/xslt_polyfill