Scripts (files that end in .php) are the top-level entry points to a Siteframe website. This folder will (hopefully) contain documentation on each of the scripts provided with the system.
rss.php
rss.php is the script that generates all of the page-based RSS feeds for Siteframe. (Some RSS feeds, such as those for search results or all tags, are not a list of pages and are thus generated using a template.) rss.php executes a SQL statement that returns a list of pages, then creates a DOM tree in RSS format for those pages.
Query String Parameters
rss.php, when invoked without any...
0 comment(s)
/ glen
/ Scripts
/ on December 10, 2005 at 16:34
setup.php
This is the installation script for Siteframe Beaumont. Whenever a
page is launched, a check is made to determine if the database table(s)
are accessible; if those tables do not exist, then it is presumed that
the software has not yet been installed and the scripts are redirected
to setup.php . setup.php performs a number of tasks:
It performs a number of "sanity checks" on...
0 comment(s)
/ glen
/ Scripts
/ on November 27, 2005 at 21:08
sitemap.php
This script displays the folder structure ("site map") of the site.
It constructs a list of folders (technically, in "depth-first" order)
and the default templates display each folder as an indented
hierarchical structure. You can see this site's folder structure here .
0 comment(s)
/ glen
/ Scripts
/ on May 28, 2005 at 16:30
xml.php
This script produces an XML version of a Siteframe object. It has two required parameters (query strings):
c= string - the class of object to export
id= number - the id of the object to export
For example, to create an XML version of a Page object with ID=12, you'd use this URL: http://siteframe.info/xml.php?c=Page&id=12 Objects exported in this manner can be...
0 comment(s)
/ glen
/ Scripts
/ on May 28, 2005 at 16:33