summaryrefslogtreecommitdiff
path: root/sample
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@users.sourceforge.net>2008-12-30 00:45:45 +0100
committerTomas Bzatek <tbzatek@users.sourceforge.net>2008-12-30 00:45:45 +0100
commit6323cb7f767ba77458384cb35d27315df9af0cb4 (patch)
tree6d9b33509bbe8993c450fc0a91fbcc1f0f4ac571 /sample
parent9d50015682975f1f70e22b4814fe7bf200c60679 (diff)
downloadcataract-6323cb7f767ba77458384cb35d27315df9af0cb4.tar.xz
Retrieve titles and thumbnail from linked album if not defined in index
Fix mem leak
Diffstat (limited to 'sample')
-rw-r--r--sample/src/index.xml2
l---------sample/src/inheritance/img_6802xxx.jpg1
-rw-r--r--sample/src/inheritance/index.xml17
3 files changed, 20 insertions, 0 deletions
diff --git a/sample/src/index.xml b/sample/src/index.xml
index eecca3f..79a90c1 100644
--- a/sample/src/index.xml
+++ b/sample/src/index.xml
@@ -38,5 +38,7 @@
<title_description>hidden</title_description>
</item>
+ <item path="inheritance"></item>
+
</items>
</gallery>
diff --git a/sample/src/inheritance/img_6802xxx.jpg b/sample/src/inheritance/img_6802xxx.jpg
new file mode 120000
index 0000000..9f4b2f7
--- /dev/null
+++ b/sample/src/inheritance/img_6802xxx.jpg
@@ -0,0 +1 @@
+../CIAF_1/img_6802.jpg \ No newline at end of file
diff --git a/sample/src/inheritance/index.xml b/sample/src/inheritance/index.xml
new file mode 100644
index 0000000..8e838e1
--- /dev/null
+++ b/sample/src/inheritance/index.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="utf-8"?>
+<gallery type="album">
+ <general>
+ <ID>non-inherited ID</ID>
+ <title>Inherited title</title>
+ <description> <![CDATA[
+ Inherited description.
+ <br/>
+ Line 2
+ ]]>
+ </description>
+ </general>
+
+ <items>
+ <item src="img_6802xxx.jpg"></item>
+ </items>
+</gallery>