| Summary: | Implement RSS feeds on libsdl.org for automatic news aggregators | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Dmitry Yakimov <support> |
| Component: | website | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | HG 1.2 | ||
| Hardware: | All | ||
| OS: | All | ||
| URL: | http://www.libsdl.org | ||
| Attachments: | PHP script to generate RSS feed from news | ||
|
Description
Dmitry Yakimov
2006-02-07 14:37:29 UTC
Does anyone have pointers on how to set up an RSS feed? Good introduction article about RSS: http://searchenginewatch.com/sereport/article.php/2175271 RSS step by step: http://www.petefreitag.com/item/465.cfm Open source RSS creator: http://softwaregarden.com/products/listgarden/ You can just generate xml file from news with php. Done! http://www.libsdl.org/rss/rss.xml Comments and suggestions are welcome... Created attachment 73 [details]
PHP script to generate RSS feed from news
Sam,
Add this as a child of the <head> tag in the front page's HTML:
<link rel="alternate" type="application/rss+xml" title="SDL news" href="http://www.libsdl.org/rss/rss.xml" />
Then Firefox, Safari on Tiger, and IE7 (etc) will put an RSS icon in the status bar to alert people that there's an RSS feed on the page.
--ryan.
(Whoops, it's already there, ignore this.) --ryan. Done, although Firefox doesn't actually fill in the "live bookmark" generated by it... is there something wrong with the feed? Whoops, I had too many w's in the URL. It works fine now. |