Skip to main content Help Control Panel

Aubagne HipHop

Tout le Hip Hop d'Aubagne et des alentours

Home «   Server software «  

Documentation: feeds/rss_2.0.php

feeds/rss_2.0.php - Provide news in the RSS 2.0 format

This script lists newest published articles, providing following information: [removed because of spammers] - author - last contributor to the article

Also, several meta-links are provided to help client software to do its job correclty:

Basically, these meta-links mean that YACS fully support trackback and Comment API specifications.

If the geographical position of the server has been set through the configuration panel for skins, it is included into the feed as well.

Additionally, the provided XML links to a cascaded style sheet, enabling further rendering enhancements.

You will find below an excerpt of a real RSS 2.0 feed from Yahoo! News:
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
<channel>
<title>Yahoo! News - Technology</title>
<link>http://news.yahoo.com/news?tmpl=index&cid=738</link>
<description>Yahoo! News - Technology</description>
<language>en-us</language>
<lastBuildDate>Sun, 19 Oct 2003 15:11:25 GMT</lastBuildDate>
<ttl>5</ttl>
<image>
<title>Yahoo! News</title>
<width>142</width>
<height>18</height>
<link>http://news.yahoo.com/</link>
<url>http://us.i1.yimg.com/us.yimg.com/i/us/nws/th/main_142.gif</url>
</image>
<item>
<title>Programs: 'Ghostmaster' Offers a Boo-Tiful Fright (Reuters)</title>
<link>http://us.rd.yahoo.com/dailynews/rss/738/*http://story.news.yahoo.com/news?tmpl=story2&u=/nm/20031018/tc_nm/column_programs_dc</link>
<guid isPermaLink="false">nm/20031018/column_programs_dc</guid>
<pubDate>Sat, 18 Oct 2003 11:57:39 GMT</pubDate>
<description>Reuters - Most spooky computer and
console games require players to fight off ghosts, goblins, and
poltergeists. But "Ghost Master" turns -- and sometimes upturns
-- the tables.</description>
</item>
...
<item>
<title>Apple/Analysts on the iTunes Music Store, iPod (MacCentral)</title>
<link>http://us.rd.yahoo.com/dailynews/rss/738/*http://story.news.yahoo.com/news?tmpl=story2&u=/mc/20031017/tc_mc/appleanalystsontheitunesmusicstoreipod</link>
<guid isPermaLink="false">mc/20031017/appleanalystsontheitunesmusicstoreipod</guid>
<pubDate>Fri, 17 Oct 2003 17:16:32 GMT</pubDate>
<description>MacCentral - Hell may have frozen over, as Apple's Web site says, but the battle for supremacy in the digital music distribution market is just heating up. With the release of iTunes Music Store for Windows, Apple is confident that they have the solution to beat the competition. With the help of the iPod digital music player, analysts agree that Apple has an edge.</description>
</item>
</channel>
</rss>


If following features are enabled, this script will use them:

This script is a reference file of this system.

Voir aussi:

Licence: GNU Lesser General Public License

Auteurs:

Reste à faire:

Tools
Browse the source of this script
Server software