From: Brion Vibber Date: Fri, 30 Apr 2004 07:32:43 +0000 (+0000) Subject: Include the href in display of Atom feed links X-Git-Tag: 1.3.0beta1~180 X-Git-Url: http://git.cyclocoop.org/%22.%24h.%22?a=commitdiff_plain;h=6cb377bba2f1758badb57ee670db4e045da6f99b;p=lhc%2Fweb%2Fwiklou.git Include the href in display of Atom feed links --- diff --git a/stylesheets/feed.css b/stylesheets/feed.css index 1f0e0903a0..fa52a45c22 100644 --- a/stylesheets/feed.css +++ b/stylesheets/feed.css @@ -9,10 +9,6 @@ Compatibility: * IE/Mac 5.2: none of the :before content works; doesn't get the charset right and displays garbage for non-ASCII. * IE/Win 6.0: No background color, borders, font size, font weight, or :before content. -Basic bugs: -* The Atom puts its actual URL in an attribute. Not sure how to - extract that, if it's possible. - */ /* RSS: */ rss, channel, title, link, description, language, generator, lastBuildDate, item, pubDate, author, comments, creator, @@ -29,11 +25,11 @@ rss, feed { } rss:before { - content: "This RSS feed is meant to be read by a syndicated news reader, and isn't ideal for a web browser."; + content: "This RSS feed is meant to be read in a syndicated news reader, and isn't ideal for a web browser."; } feed:before { - content: "This Atom feed is meant to be read by a syndicated news reader, and isn't ideal for a web browser."; + content: "This Atom feed is meant to be read in a syndicated news reader, and isn't ideal for a web browser."; } rss:before, feed:before { color: red; @@ -91,3 +87,6 @@ summary:before, comment:before, creator:before { font-weight: bold; } +feed link:after { + content: attr(href); +}