Home « Server software «
Documentation: articles/fetch_for_palm.php
articles/fetch_for_palm.php - Download one article into a Palm device
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
If a secret handle has been provided, and if the surfer has not been authenticated, he is automatically logged in as the article creator. This is necessary to authorize the handling of items attached to the anchor, such as comments, file, links or actions.
If following features are enabled, this script will use them:
- compression - using gzip
- cache - supported through ETag and by setting Content-Length; Also, Cache-Control enables caching for some time, even through HTTPS
Accept following invocations:
- fetch_as_palm.php/12
- fetch_as_palm.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