Aller au contenu principal Aide Panneau de contrôle

A+   A-

Logiciel serveur «  

Documentation : articles/feed.php

articles/feed.php - Provide full articles in the RSS 2.0 format

This script lists newest published articles, providing following information:
  • title - title of the article
  • link - absolute url to fetch the article
  • description - introduction of the particle, or the first part of the main text
  • content:encoded - article description (up to 500 words)
  • time - date and time of article last modification
[removed because of spammers] - author - last contributor to the article
  • category - label of the section from where the article is originated
  • image - absolute url to fetch a related image, if any
  • comments - absolute url to expose related comments for a human being


Also, several meta-links are provided to help client software to do its job correclty:
  • trackback:about - absolute url to fetch the article (=== link)
  • trackback:ping - absolute url to post links to the article
  • wfw:comment - absolute url to post a new comment
  • wfw:commentRss - absolute url to expose related comments as RSS feed


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

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

To get a simpler regular feed go to feeds/rss_2.0.php.

If following features are enabled, this script will use them:
  • compression - Through gzip, we have observed a shift from 4766 bytes to 1111 bytes,
meaning one Ethernet frame rather than three
  • cache - Cache is supported through ETag and by setting Content-Length; Also, Cache-Control enables caching
for some time, even through HTTPS

This script is a reference file of this system.

Voir aussi :

Licence : GNU Lesser General Public License

Auteurs :


tn