Style an RSS feed with CSS: what still works in Chrome

https3A2F2Fdev-to-uploads.s3.us-east-2.amazonaws.com2Fuploads2Farticles2Fb4xng9d5j9pomxa98mib

A CSS stylesheet linked from a feed keeps working in Chrome after XSLT is removed, as long as the server sends the feed as application/xml or text/xml. Sent as application/rss+xml, the same feed shows as raw text and the CSS is ignored. We checked this in Chromium 156 and on a WordPress test site, and the setup takes three steps. Can you style an RSS feed with CSS once XSLT is gone? Yes, if the server sends the feed with the right content type. Chrome’s XSLT announcement says that the <?xml-stylesheet … ?> processing instruction remains supported with CSS, using type=”text/css”. Only XSLT is removed, in Chrome 158 on 17 November 2026. That affects publishers whose feed uses an XSL stylesheet today. Chrome notes that many RSS and Atom feeds use XSLT so that people can read…

Continue reading at DEV Community dev.to
Advertisement