Home « Server software «
Documentation: comments/feed.php
comments/feed.php - List comments in the RSS 2.0 format
List up to ten fresh comments for one anchor only. At the moment, this script gives the list of the newest posted comments, with following information:- title - the title of the article
- url - the absolute url to fetch the comment
- time - the date and time of comment last modification
- author - the last contributor to the comment
If following features are enabled, this script will use them:
- compression - Through gzip, we have observed a shift from 3098 bytes to 751 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
Access is granted only if the surfer is allowed to view the anchor page.
Accept following invocations:
- feed.php -- list of last comments
- feed.php/12 -- list of last comments for article #12
- feed.php?id=12
- feed.php/article/12 -- list of last comments for given anchor
- feed.php?anchor=article:12
If the anchor for this item specifies a specific skin (option keyword '
skin_xyz'),
or a specific variant (option keyword 'variant_xyz'), they are used instead default values.This script is a reference file of this system.
Voir aussi:
Licence: GNU Lesser General Public License
Auteurs:
- Bernard Paques bernard.paques@bigfoot.com