Aller au contenu principal Aide Panneau de contrôle

A+   A-

Logiciel serveur «  

Documentation : articles/describe.php

articles/describe.php - Describe an article 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/articles/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
  • creator is allowed to view the page
  • permission is denied if the anchor is not viewable
  • article 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


If this article, or one of its anchor, 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 :


tn