Blog feeds render nicely by default (XSLT stylesheet) #9197
Labels
difficulty: intermediate
Issues that are medium difficulty level, e.g. moderate refactoring with a clear test plan.
good first issue
If you are just getting started with Docusaurus, this issue should be a good place to begin.
proposal
This issue is a proposal, usually non-trivial change
Have you read the Contributing Guidelines on issues?
Motivation
It is possible to style how an XML file is rendered by browsers thanks to XML XSLT stylesheets:
https://darekkay.com/blog/rss-styling/
https://x.com/stefanjudis/status/1672230720536756224
I think it could be useful to have a beautiful XML output by default for XML-based feeds.
We could also add an icon in the blog sidebar to link to that feed, helping users know that a feed is available.
(this could become later a "blog sidebar item type", related to #7227)
Also, it can be the occasion to do some additional cleanup in the RSS feed item content:
Are the className attributes set by the Docusaurus theme really needed to be in the feed item content? I doubt it leads to any significant styling difference from RSS readers considering they don't have the stylesheet.
Self-service
The text was updated successfully, but these errors were encountered: