-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
Closed
Labels
difficulty: intermediateIssues that are medium difficulty level, e.g. moderate refactoring with a clear test plan.Issues that are medium difficulty level, e.g. moderate refactoring with a clear test plan.good first issueIf you are just getting started with Docusaurus, this issue should be a good place to begin.If you are just getting started with Docusaurus, this issue should be a good place to begin.proposalThis issue is a proposal, usually non-trivial changeThis issue is a proposal, usually non-trivial change
Description
Have you read the Contributing Guidelines on issues?
- I have 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:
<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet href="/rss.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom"
xmlns:media="http://search.yahoo.com/mrss/">
...
</feed>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
- I'd be willing to do some initial work on this proposal myself.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
difficulty: intermediateIssues that are medium difficulty level, e.g. moderate refactoring with a clear test plan.Issues that are medium difficulty level, e.g. moderate refactoring with a clear test plan.good first issueIf you are just getting started with Docusaurus, this issue should be a good place to begin.If you are just getting started with Docusaurus, this issue should be a good place to begin.proposalThis issue is a proposal, usually non-trivial changeThis issue is a proposal, usually non-trivial change

