Opened 16 years ago
Last modified 14 years ago
#7855 new enhancement
Support CSS stylesheets in RSS
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | unscheduled |
Component: | general | Version: | 0.10 |
Severity: | normal | Keywords: | rss consider |
Cc: | Thijs Triemstra | Branch: | |
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
When outputting RSS, Trac doesn't produce xml-stylesheet PIs. (See http://www.w3.org/Style/styling-XML for details.)
If it did, the appearance of its RSS feeds would match more closely the appearance of the website, which I think would be an improvement.
Attachments (0)
Change History (4)
comment:1 by , 16 years ago
Keywords: | rss consider added |
---|---|
Milestone: | → 2.0 |
comment:2 by , 16 years ago
Yes and no. An RSS reader, just like a web browser, has at least three levels at which CSS is applied: the default stylesheet (usually hardcoded into the client), the document stylesheet (specified by the page or feed), and the user stylesheet (specified by the user). Each one of them has its own purpose, and the fact that an RSS client will always have a default stylesheet doesn't mean that there's no point in providing a document stylesheet.
Some use cases which would make a document stylesheet appropriate for Trac feeds:
- Displaying ticket numbers of closed tickets with a strikethrough
- Differentiating between internal and external links by using the external link icon in front of external links
- Correctly coloring source code inside WikiFormatted text
comment:4 by , 14 years ago
Cc: | added |
---|
Replying to ben@…:
If it did, the appearance of its RSS feeds would match more closely the appearance of the website, which I think would be an improvement.
+1
Well, presenting the RSS data, isn't that the job of the RSS reader?
Other opinions welcomed.