![]() ![]() |
The Script[ Sample ] A SiteLite script is a series of lines of different types. The order of pagelines and asociated block-lines must be according to the inherent dependencies and sitestructure. Except from that lines may appear in any order. Blank lines and lines starting with // are ignored. Click on the bullet to see a full explanation of the scriptline and its intended use. SampleA very simple script without own templatedefinitions. The site use only pagetypes (I,P,PRINTALL) which will produce "standard" templates automatically. No replaces, no collections, no options. Note that the printpage has level 0. This indicates that the page will be built, but not included in the sitestructure, it will not appear in tables of contents. // Scriptfile for website MySite // General site section SITEVERSION:3 SITECATALOG:C:\mysite3\ KEYWORDS:sitelite,website SITENAME:MySite SITEEDITOR:<a href="mailto:my.self@home.net">My Self</a> // Page section 1,Home,I,index.html BLOCKS:blocks\b-index.html 1,Sitemap,P,pages\toc.html BLOCKS:blocks\b-toc.html 1,Page1,P,pages\pageone.html PAGETIP:This page describes the fundamental issues BLOCKS:blocks\b-page1.html 1,Page2,P,pages\pagetwo.html BLOCKS:blocks\b-page2.html // a print-page, not included in structure 0,All Pages,PRINTALL,pages\allpages.html BLOCKS:blocks\b-allpages.html
|