<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>singapore - Development</title><link rel="stylesheet" type="text/css" href="docstyle.css" /></head><body><h1>singapore - Development</h1><p>The information in this file is for people who wish to contribute tosingapore, modify it or understand how it works.</p><ul><li><a href="#csvformat">CSV database format</a></li><li><a href="Readme.html">General readme</a></li><li><a href="Advanced.html">Advanced features</a></li><li><a href="Translation.html">Translating singapore</a></li></ul><h2><a name="csvformat">CSV database format</a></h2><p>If you choose to use metadata files then each gallery mustcontain a CSV (comma separated values) file called metadata.csvcontaining the information about images in the gallery and the gallery itself.CSV files can be edited manually (in a text editor such as Notepad)or using a spreadsheet application (such as MS Excel). Care must be taken when usingExcel to save using commas as the separator character and not tabs or semi-colons.</p><p>The first line of each file stores human-readable descriptions of the fieldsand is ignored by singapore. The second line stores information about thisgallery:</p><pre>field 0the filename of the image used to represent the gallery in the gallery listfield 1(not used)field 2the owner of the galleryfield 3space-separated list of usergroupsfield 4gallery permission flagsfield 5space-separated list of categories the gallery belongs in (not used)field 6gallery name/titlefield 7artist name (optional)field 8artist email (optional)field 9copyright holder (optional)field 10description of the gallery (optional)field 11short summary of the gallery (optional)field 12human-readable date (optional)field 13 onwards(not used)</pre><p>Each of the following lines (3 - ...) represents an image in the gallery.The format is as follows:</p><pre>field 0the filename of the imagefield 1the filename of the thumbnail imagefield 2the owner of the imagefield 3space-separated list of usergroupsfield 4image permission flagsfield 5space-separated list of categories the image belongs in (not used)field 6image name/titlefield 7artist name (optional)field 8artist email (optional)field 9copyright holder (optional)field 10description of the image (optional)field 11location that the image was taken/made/represents (optional)field 12date taken/made (optional)field 13make and model of camera used (optional)field 14make and model of lens used (optional)field 15make and type of film used (optional)field 16darkroom manipulation (optional)field 17digital manipulation (optional)</pre><p><em>$Date: 2004/10/15 18:53:36 $</em></p></body></html>