Skip to main content Help Control Panel

Aubagne HipHop

Tout le Hip Hop d'Aubagne et des alentours

Home «   Server software «  

Documentation: files/feed.php

files/feed.php - List new files in the RSS 2.0 format

This script gives the list of the newest published files, with following information:

Here is a sample item from a test feed:
<item>
<title>40stars.gif</title>
<link>http://127.0.0.1/yacs/files/view.php/19</link>
<guid isPermaLink="true">http://127.0.0.1/yacs/files/view.php/19</guid>
<description></description>
<dc:creator>Bernard</dc:creator>
<category>40stars.gif</category>
<pubDate>Wed, 22 Dec 2004 23:13:48 GMT</pubDate>
<enclosure url="http://127.0.0.1/yacs/files/article/396/40stars.gif" length="1153" type="application/download"/>
</item>


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

Anonymous access is authorized, but only public files will be listed.

This feeder can be constrained to list files related to articles placed one single section. Therefore, it becomes quite easy to implement podcasting or appcasting. Create a dedicated section and populate it with articles and attached files. Then use this script to fetch files only from the dedicated section.

Accept following invocations:

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