Home « Server software «
Documentation: categories/describe.php
categories/describe.php - Describe a category in RDF
This script may be used by crawlers to index pages. Therefore, only partial information is provided here.You will find below an example of script result:
<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/">
<rdf:Description rdf:about="http://127.0.0.1/yacs/categories/view.php/4310">
<dc:title>Please this marvellous page</dc:title>
<dc:description>It is really interesting</dc:description>
<dc:date>2004-01-15</dc:date>
<dc:format>text/html</dc:format>
<dc:language>en</dc:language>
</rdf:Description>
</rdf:RDF>
If following features are enabled, this script will use them:
- compression - Using gzip, if accepted by user agent
- cache - Cache is supported through ETag and by setting Content-Length; Also, Cache-Control enables caching for some time, even through HTTPS
Restrictions apply on this page:
- associates and editors are allowed to move forward
- permission is denied if the anchor is not viewable
- access is restricted ('active' field == 'R'), but the surfer is an authenticated member
- public access is allowed ('active' field == 'Y')
- permission denied is the default
Accept following invocations:
- describe.php/12
- describe.php?id=12
This script is a reference file of this system.
Licence: GNU Lesser General Public License
Auteurs:
- Bernard Paques bernard.paques@bigfoot.com