Edgewall Software
Modify

Opened 16 years ago

Last modified 14 years ago

#7855 new enhancement

Support CSS stylesheets in RSS

Reported by: ben@… 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 Christian Boos, 16 years ago

Keywords: rss consider added
Milestone: 2.0

Well, presenting the RSS data, isn't that the job of the RSS reader?

Other opinions welcomed.

comment:2 by ben@…, 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:3 by Christian Boos, 15 years ago

Milestone: 2.0unscheduled

Milestone 2.0 deleted

in reply to:  description comment:4 by Thijs Triemstra, 14 years ago

Cc: Thijs Triemstra 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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.
The ticket will be disowned.
as The resolution will be set. Next status will be 'closed'.
The owner will be changed from (none) to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.