Home « Server software «
Documentation: feeds/atom_0.3.php
feeds/atom_0.3.php - Provide news in the atom 0.3 format
This script lists the ten newest published articles, providing following information:- title - the title of the article
- url - the absolute url to fetch the article
- time - the date and time of article last modification
- author - the last contributor to the article
- section - the label of the section from where the article is originated
- image - the absolute url to fetch a related image, if any
Additionally, the provided XML links to a cascaded style sheet, enabling further rendering enhancements.
If following features are enabled, this script will use them:
- compression - Through gzip, we have observed a shift from 2900 bytes to 909 bytes, meaning one Ethernet frame rather than two
- 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:
- Bernard Paques bernard.paques@bigfoot.com