articles/export.php - Download one article in XML
Accept following invocations:- export.php/12
- export.php?id=12
- anonymous users can see only active articles (the 'active' field == 'Y')
- members can see active and restricted articles ('active field == 'Y' or 'R')
- associates and editors can see all articles
- compression - using gzip
- cache - supported through ETag and by setting Content-Length; Also, Cache-Control enables caching for some time, even through HTTPS
- 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
This script is a reference file of this system.
Licence: GNU Lesser General Public License
Auteurs:
- Bernard Paques