File Names and types

Instamatic Web currently supports either text files (ending in .txt) or html files (ending in .html).1 The main difference between the two is that html files will assume that you know what you’re doing, and have formatted the contents of the file in html already, whereas text files will generally not contain html (although they can!) and will be formatted according to Textile’s web text generator rules.

All files should go in the your_files_go_here/ directory.

Your files should be named beginning with a number followed by an underscore. The number will indicate in what order you’d like the file to appear in your navigation. The numbers can be one digit (up to 10 files, 0-9), or two digits (up to 100 files), but cannot be a mix between the two, or your ordering will be screwed up. Note: You must include a file beginning with either a 1 or 01, as that will be your “default” (or home) page.

You can use underscores in your file names and they will be translated into spaces in your navigation. Please do not use any spaces in your file names.

Here are some example file names:

page layout and design

All formatting and design should go in styles.css, also located in the your_files_go_here/ directory. You shouldn’t need to edit anything in that file for Instamatic Web to work, but if you want to change anything like the color of your webpages, or add a background image, or change the font your webpages use, all of that information is located in your style sheet. You should never have to edit anything outside of the your_files_go_here/ directory, but if for some strange reason you really want to edit the xhtml template, it’s located in the xhtml_template.php file, one directory above your_files_go_here/.

1 Note: files ending in .html should not actually be strict html files. Instamatic web will generate most of the page formatting automatically, so things like your tag, and tags shouldn’t appear in these files.


Instamatic Website in php© 2002-2003 Martin Grider