The current foreign foreign website provides online RSS subscription services, whenever you click on the Subscription page, the code view of the XML file will appear in the browser. Of course, this does not have any questions about computer professionals, but for ordinary browsing, the situation is big, they usually do not know where it is or a mist ... Therefore, how to make RSS can be available Subscribe to the XML standard data required, but also give a good "performance" view to non-professional viewers.
Some foreign RSS sites start to try to add the style sheet to the RSS XML document, the effect is significant, the XML document no longer exhibits a single data view without performing the style sheet, and transforms the news index page that enables the viewer. This greatly increases the affinity of the RSS website and the viewer, which can bring a better browsing experience to the viewer.
I also saw similar effects (http://www.xinhuaet.com/rss.htm) on Xinhuanet's RSS subscription page, and their RSS subscription channel will appear a news index, which will present a news index. But it does not affect the reader's subscription. The only place where defective places is that the title in the page cannot be opened by clicking. I think this style clearly can further extend further, and can make more affairive data presentation pages. Similar pages have a lot of blog sites at home and abroad.
The specific implementation is actually very simple, first create a CSS style file, then define the individual standards of the RSS in the file (such as title size, location, coloring, etc.), and finally join within the generated RSS XML document. This CSS style:
xml-stylesheet type = "text / css" href = "my_rss_style.css"?>
This view of such an RSS XML is present.