diff options
| author | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2010-10-08 17:02:47 +0200 |
|---|---|---|
| committer | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2010-10-08 17:02:47 +0200 |
| commit | 10c6b1f0978710cf5a9f309b6fdcaef922f9b07f (patch) | |
| tree | 00679d479d9554f91f5d3beb4f4e709705ba55df /sample/src/setup.xml | |
| parent | 5fc53d25a171fbd85ee09c9fc771580350d689c8 (diff) | |
| download | cataract-10c6b1f0978710cf5a9f309b6fdcaef922f9b07f.tar.xz | |
Add basic Atom feed writer
Diffstat (limited to 'sample/src/setup.xml')
| -rw-r--r-- | sample/src/setup.xml | 43 |
1 files changed, 28 insertions, 15 deletions
diff --git a/sample/src/setup.xml b/sample/src/setup.xml index 88e7eba..80d04da 100644 --- a/sample/src/setup.xml +++ b/sample/src/setup.xml @@ -3,7 +3,7 @@ <templates> <!-- path to templates (design) --> <path>../../templates</path> - + <!-- index: top level page --> <index>template-index.tmpl</index> <!-- album: list of photos in directory --> @@ -18,12 +18,12 @@ styles.css scripts-general.js ]]></template_files> - + <!-- specify index file name to use (default = index.html) --> <!-- e.g. you may want 'index.php' if your templates are server-side dynamic --> <!-- filename extension is also used for separate image files --> <index_file>index.html</index_file> - + <!-- use root gallery directory to store all support files --> <!-- and relative paths in sub-albums --> <!-- default = no (old behaviour) --> @@ -53,7 +53,7 @@ <!-- erase embedded thumbnail image (both from original and big images)? --> <!-- (allowed values: "yes", "no") default = no --> <erase_embed_thumbnail value="yes" /> - + <!-- don't copy full size (original) images --> <!-- <nofullsize/> can be used globally for whole gallery, --> <!-- for full album or selectively for each image --> @@ -64,31 +64,33 @@ <thumbnail_dir>_thumb</thumbnail_dir> <preview_dir>_big</preview_dir> <original_dir>_orig</original_dir> - + <!-- printf() format-style string of thumbnail file names --> <!-- %s is mandatory, represents file name (with ext.) --> <!-- %d is optional, denotes item index in the album --> <!-- this also avoids conflicts with identical names --> <thumbnail_name_format>thn_%d_%s</thumbnail_name_format> </images> - + <meta> - <!-- global META tags in html head section --> - <!-- these will automatically apply to _all_ pages unless overriden in the album --> - <!-- it's not probably a good idea for large galleries --> + <!-- Global metainformation for use in META tags in html head section --> + <!-- and also for the Atom feed. In case of META tags these will --> + <!-- automatically apply to _all_ pages unless overriden in the album. --> + <!-- This is probably not a good idea for large galleries. --> <author>John Doe</author> + <author_email>johndoe@example.com</author_email> <description>CGG Sample gallery</description> <!-- keywords are usually not needed at all --> <keywords>cataract, sample, gallery</keywords> - + <!-- use item (image) title as <meta description> tag value --> <!-- (allowed values: "yes", "no") default = yes --> <!-- this setting is independent from the global meta tags settings --> <use_title_as_meta value="yes" /> - + <!-- mandatory site name, part of all page titles --> <site title="CGG Testing Site" /> - + <!-- add your copyright string to every picture --> <!-- stored in EXIF::Image::Copyright and IPTC::Application2::Copyright --> <!-- usual format: "Copyright, John Smith, 19xx. All rights reserved." --> @@ -102,20 +104,31 @@ And the second line.</add_copyright> <!-- declared earlier applies to favicons as well --> <favicon type="image/png">apple-red.png</favicon> </meta> - + <navigation> <!-- enabled: jump to the parent item when going up in the structure --> <!-- disabled: links will always go to the top of the parent page --> <use_inpage_links value="yes" /> - + <!-- enabled: show "Go Up..." links if not top-level (default) --> <!-- disabled: never show that link --> <show_go_up value="yes" /> - + <!-- show/hide exif table in single photo view (default = yes) --> <show_exif_table value="yes" /> </navigation> + <feed enable="yes"> + <!-- Atom feed generator, disabled by default. --> + <!-- Feeds are used to keep users informed about site updates. --> + <!-- It's required to add corresponding <news> sections --> + <!-- to particular album index files. --> + <filename>atomfeed.xml</filename> + <title>CGG Sample gallery site news</title> + <!-- It's crucial to set URL of the site. Enter root URL of the gallery. --> + <base_url>http://www.example.com/</base_url> + </feed> + <footer><