Best Practices in Syndication

ziggy on 2004-12-16T13:57:48

delegatrix pointed me to these RSS Feeds over at http://www.defenselink.mil/news/rss. Load one of them in your browser, and it looks like HTML. But it's really RSS.

How'd they do that? Here's the secret:


Yep. All of the HTML fluff is statically defined in a stylesheet, comon to half a dozen news feeds. Aggregators are happy, and reasonable browsers do something useful. Feeds change, and there's no work to be done. Change the shell once, and it's used for all six feeds.

And that's the way it should be. ;-)

</soapbox>


Another needed practice

jdavidb on 2004-12-16T14:51:23

But when they generate the HTML, they need to add the tag that tells Firefox to add the little RSS button at the bottom corner, so I can subscribe to the feed as a live bookmark.

not in safari

merlyn on 2004-12-16T15:26:09

must work in some "other" browser. Safari just sits there displaying a little ugly text.

Re:not in safari

delegatrix on 2004-12-16T21:33:11

Yeah, Safari just displays the text of the feed as contained in the xml. It should still work correctly as a feed.

Re:not in safari

Aristotle on 2004-12-17T02:53:42

Safari doesn't have an XSLT engine built in. All other contemporary browsers do, as does Internet Explorer. But I know they're working on sticking libxslt into some future release of Safari.

CSS Styled RSS Feeds

DarkBlue on 2004-12-17T00:25:12

While not common, CSS-styled RSS feeds are out there. FeedBurner has been offering this service for quite a while. I use the service for my own RSS.

Uh&hellip;

Aristotle on 2004-12-17T02:52:28

You been to our own TorgoX's Interglacial yet? Try any click any of his feeds… :-)