2 Make RSS and Atom feeds at least semi-legible to folk who accidentally
3 load them in a browser...
7 * Safari 1.2: the RSS <link> text isn't shown
8 * Opera 7.5 uses the style sheet instead of its native RSS mode.
9 * IE/Mac 5.2: none of the :before content works; doesn't get the charset right and displays garbage for non-ASCII.
10 * IE/Win 6.0: No background color, borders, font size, font weight, or :before content.
13 * The Atom <link> puts its actual URL in an attribute. Not sure how to
14 extract that, if it's possible.
18 /* RSS: */ rss
, channel
, title
, link
, description
, language
, generator
, lastBuildDate
, item
, pubDate
, author
, comments
, creator
,
19 /* Atom: */ feed
, modified
, tagline
, entry
, issued
, created
, summary
, comment
{
27 font-family: "Verdana", "Tahoma", "Arial", "Helvetica", sans-serif
;
32 content: "This RSS feed is meant to be read by a syndicated news reader, and isn't ideal for a web browser.";
36 content: "This Atom feed is meant to be read by a syndicated news reader, and isn't ideal for a web browser.";
38 rss:before
, feed:before
{
49 border-bottom: solid
1px #aaa;
52 channel
>title
, feed
>title
{
55 item
>title
, entry
>title
{
63 item
>description
, entry
>summary
{
69 pubDate:before
{ content: "Date: " }
70 link:before
{ content: "Link: " }
71 author:before
, creator:before
{ content: "Author: " }
72 description:before
{ content: "Description: " }
74 generator:before
{ content: "Generator: " }
75 language:before
{ content: "Language: " }
76 lastBuildDate:before
{ content: "Updated: " }
77 comments:before
{ content: "Comments page: " }
79 tagline:before
{ content: "Tagline: " }
80 issued:before
{ content: "Issued: " }
81 created:before
{ content: "Created: " }
82 modified:before
{ content: "Modified: " }
83 summary:before
{ content: "Summary: " }
84 comment:before
{ content: "Comment: " }
86 pubDate:before
, link:before
, author:before
, description:before
,
87 language:before
, generator:before
, lastBuildDate:before
, comments:before
,
88 tagline:before
, issued:before
, created:before
, modified:before
,
89 summary:before
, comment:before
, creator:before
{