diff options
| author | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2008-12-31 19:29:50 +0100 |
|---|---|---|
| committer | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2008-12-31 19:29:50 +0100 |
| commit | dc66e451a966e5ab320451c87ad912a741a71d4e (patch) | |
| tree | d6e002d12d895517481612b699e5eaecb39e4258 /sample | |
| parent | e57e8ac7b198cd02331f0b66c12c9166641d373b (diff) | |
| download | cataract-dc66e451a966e5ab320451c87ad912a741a71d4e.tar.xz | |
Use image title as meta description
Allow per-album meta tags
Diffstat (limited to 'sample')
| -rw-r--r-- | sample/src/CIAF_1/index.xml | 9 | ||||
| -rw-r--r-- | sample/src/setup.xml | 9 |
2 files changed, 17 insertions, 1 deletions
diff --git a/sample/src/CIAF_1/index.xml b/sample/src/CIAF_1/index.xml index 7e89297..5d40936 100644 --- a/sample/src/CIAF_1/index.xml +++ b/sample/src/CIAF_1/index.xml @@ -18,6 +18,15 @@ <images quality="60" landscape_w="640" landscape_h="480" portrait_w="480" portrait_h="640" /> <!-- override global preview image border style --> <border style="border_none" /> + + <meta> + <!-- custom meta tags valid for this album page and all listed items --> + <!-- this will override global meta settings, however --> + <!-- the <use_title_as_meta> global setting has even higher priority --> + <author>John Doe Jr.</author> + <description>CIAF - Czech International Air Fest 2007</description> + <keywords>ciaf,aircraft,military,exhibition</keywords> + </meta> </general> <items> diff --git a/sample/src/setup.xml b/sample/src/setup.xml index ef37f9a..234e8f0 100644 --- a/sample/src/setup.xml +++ b/sample/src/setup.xml @@ -41,12 +41,19 @@ <erase_embed_thumbnail value="yes" /> </images> - <!-- META tags in html head section --> <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 --> <author>John Doe</author> <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" /> </meta> <footer><