summaryrefslogtreecommitdiff
path: root/sample
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@users.sourceforge.net>2008-07-31 00:16:12 +0200
committerTomas Bzatek <tbzatek@users.sourceforge.net>2008-07-31 00:16:12 +0200
commit64c8713ab4a64eaf53a764530837bd3ae47a89d2 (patch)
treecf491779baf6f20190fd80c6d04633df5dea776d /sample
parent85cdaaaeafd9eb4ff5e6f6db87e1df5e2e41b431 (diff)
downloadcataract-64c8713ab4a64eaf53a764530837bd3ae47a89d2.tar.xz
The <item src> parameter can now be omitted when preview src is specified
Skip items with no source or preview image src specified.
Diffstat (limited to 'sample')
-rw-r--r--sample/src/CIAF_1/index.xml12
-rw-r--r--sample/src/index.xml2
2 files changed, 12 insertions, 2 deletions
diff --git a/sample/src/CIAF_1/index.xml b/sample/src/CIAF_1/index.xml
index 9d619f5..788fc95 100644
--- a/sample/src/CIAF_1/index.xml
+++ b/sample/src/CIAF_1/index.xml
@@ -26,7 +26,17 @@
<item src="img_6802c.jpg" preview="preview/img_6802.jpg">
<nofullsize />
<title>Photo title</title>
- <title_description>This photo doesn't contain link to original image, though it's still needed for EXIF data extraction.</title_description>
+ <title_description>This photo doesn't contain link to original image, but src parameter is specified.</title_description>
+ </item>
+
+ <item preview="preview/img_6802d.jpg">
+ <title>Photo title</title>
+ <title_description>This photo doesn't contain link to original image nor the src parameter, EXIF data are extracted from the preview image.</title_description>
+ </item>
+
+ <item>
+ <title>Invalid item</title>
+ <title_description>Invalid item (no src specified), will be skipped.</title_description>
</item>
<item src="img_6850.jpg" quality="20">
diff --git a/sample/src/index.xml b/sample/src/index.xml
index fb91c93..ba88e57 100644
--- a/sample/src/index.xml
+++ b/sample/src/index.xml
@@ -3,7 +3,7 @@
<general>
<ID>CGG Sample gallery root</ID>
<title>Welcome to sample gallery for Cataract Gallery Generator!</title>
- <description><![CDATA[
+ <description> <![CDATA[
This demo gallery will show you basic features and configuration possibilities.<br />
Please check the source XML documents for detailed syntax and description.<br />
<br />