Index: documentation/trunk/tutorial_sample_files/images/image2/gli.col
===================================================================
--- documentation/trunk/tutorial_sample_files/images/image2/gli.col	(revision 27793)
+++ documentation/trunk/tutorial_sample_files/images/image2/gli.col	(revision 27793)
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE GathererCollection [
+  <!ELEMENT GathererCollection (Argument*, GathererConfig, BuildConfig, DirectoryMappings)>
+  <!ELEMENT GathererConfig    (Arguments*)>
+  <!ELEMENT BuildConfig       (Build, Import)>
+  <!ELEMENT Build             (Arguments*)>
+  <!ELEMENT Import            (Arguments*)>
+  <!ELEMENT Schedule          (Arguments*)>
+  <!ELEMENT Argument          (#PCDATA)>
+  <!ATTLIST Argument
+            name              CDATA #REQUIRED
+				enabled           CDATA "true">
+  <!ELEMENT DirectoryMappings (Mapping*)>
+  <!ELEMENT Mapping           (#PCDATA)>
+  <!ATTLIST Mapping 
+            name              CDATA #REQUIRED
+				file              CDATA #REQUIRED>
+]>
+<GathererCollection>
+	<Argument name="built">false</Argument>
+	<Argument name="imported">true</Argument>
+	<GathererConfig/>
+	<BuildConfig>
+		<Build>
+			<Argument enabled="false" name="sections_index_document_metadata">never</Argument>
+			<Argument enabled="false" name="sections_sort_on_document_metadata">never</Argument>
+		</Build>
+		<Import>
+			<Argument enabled="false" name="maxdocs">1</Argument>
+			<Argument enabled="false" name="OIDtype">hash</Argument>
+			<Argument enabled="false" name="OIDmetadata"/>
+			<Argument enabled="false" name="sortmeta"/>
+			<Argument enabled="false" name="groupsize">1</Argument>
+		</Import>
+		<Schedule/>
+	</BuildConfig>
+	<DirectoryMappings/>
+</GathererCollection>
Index: documentation/trunk/tutorial_sample_files/images/image2/gli.lck
===================================================================
--- documentation/trunk/tutorial_sample_files/images/image2/gli.lck	(revision 27793)
+++ documentation/trunk/tutorial_sample_files/images/image2/gli.lck	(revision 27793)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<LockFile>
+	<User>jwhisler</User>
+	<Machine>KAURI</Machine>
+	<Date>Wednesday July 10 2013 12:56:58</Date>
+</LockFile>
Index: documentation/trunk/tutorial_sample_files/images/image2/index/build.cfg
===================================================================
--- documentation/trunk/tutorial_sample_files/images/image2/index/build.cfg	(revision 27793)
+++ documentation/trunk/tutorial_sample_files/images/image2/index/build.cfg	(revision 27793)
@@ -0,0 +1,13 @@
+builddate	1373409524
+buildtype	mgpp
+earliestdatestamp	1373409511
+indexlevels	Doc
+indexstem	image-e
+infodbtype	gdbm
+levelmap	document->Doc
+maxnumeric	4
+numbytes	234
+numdocs	9
+numsections	9
+stemindexes	7
+textlevel	Sec
Index: documentation/trunk/tutorial_sample_files/images/image2/index/rss-items.rdf
===================================================================
--- documentation/trunk/tutorial_sample_files/images/image2/index/rss-items.rdf	(revision 27793)
+++ documentation/trunk/tutorial_sample_files/images/image2/index/rss-items.rdf	(revision 27793)
@@ -0,0 +1,36 @@
+<item>
+   <title></title>
+   <link>_httpdomain__httpcollection_/document/D0</link>
+</item>
+<item>
+   <title></title>
+   <link>_httpdomain__httpcollection_/document/D1</link>
+</item>
+<item>
+   <title></title>
+   <link>_httpdomain__httpcollection_/document/D2</link>
+</item>
+<item>
+   <title></title>
+   <link>_httpdomain__httpcollection_/document/D3</link>
+</item>
+<item>
+   <title></title>
+   <link>_httpdomain__httpcollection_/document/D4</link>
+</item>
+<item>
+   <title></title>
+   <link>_httpdomain__httpcollection_/document/D5</link>
+</item>
+<item>
+   <title></title>
+   <link>_httpdomain__httpcollection_/document/D6</link>
+</item>
+<item>
+   <title></title>
+   <link>_httpdomain__httpcollection_/document/D7</link>
+</item>
+<item>
+   <title></title>
+   <link>_httpdomain__httpcollection_/document/D8</link>
+</item>
Index: documentation/trunk/tutorial_sample_files/images/image3/archives/HASH0123.dir/doc.xml
===================================================================
--- documentation/trunk/tutorial_sample_files/images/image3/archives/HASH0123.dir/doc.xml	(revision 27793)
+++ documentation/trunk/tutorial_sample_files/images/image3/archives/HASH0123.dir/doc.xml	(revision 27793)
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<!DOCTYPE Archive SYSTEM "http://greenstone.org/dtd/Archive/1.0/Archive.dtd">
+<Archive>
+<Section>
+  <Description>
+    <Metadata name="gsdlsourcefilename">import\DSCF0008.jpg</Metadata>
+    <Metadata name="gsdldoctype">indexed_doc</Metadata>
+    <Metadata name="Plugin">ImagePlugin</Metadata>
+    <Metadata name="Image">DSCF0008.jpg</Metadata>
+    <Metadata name="OrigSource">DSCF0008.jpg</Metadata>
+    <Metadata name="Source">DSCF0008.jpg</Metadata>
+    <Metadata name="SourceFile">DSCF0008.jpg</Metadata>
+    <Metadata name="FileFormat">jpeg</Metadata>
+    <Metadata name="FileSize">35640</Metadata>
+    <Metadata name="ImageType">JPEG</Metadata>
+    <Metadata name="ImageWidth">600</Metadata>
+    <Metadata name="ImageHeight">450</Metadata>
+    <Metadata name="ImageSize">34.8KB</Metadata>
+    <Metadata name="srclink_file">DSCF0008.jpg</Metadata>
+    <Metadata name="srclinkFile">DSCF0008.jpg</Metadata>
+    <Metadata name="srcicon">&lt;img src=&quot;_httpprefix_/collect/[collection]/index/assoc/[assocfilepath]/[srclinkFile]&quot; width=&quot;[ImageWidth]&quot; height=&quot;[ImageHeight]&quot;&gt;</Metadata>
+    <Metadata name="ThumbType">gif</Metadata>
+    <Metadata name="Thumb">DSCF0008_thumb.gif</Metadata>
+    <Metadata name="thumbicon">&lt;img src=&quot;_httpprefix_/collect/[collection]/index/assoc/[assocfilepath]/[Thumb]&quot; width=[ThumbWidth] height=[ThumbHeight]&gt;</Metadata>
+    <Metadata name="ThumbWidth">100</Metadata>
+    <Metadata name="ThumbHeight">75</Metadata>
+    <Metadata name="ScreenType">jpeg</Metadata>
+    <Metadata name="Screen">DSCF0008_screen.jpeg</Metadata>
+    <Metadata name="screenicon">&lt;img src=&quot;_httpprefix_/collect/[collection]/index/assoc/[assocfilepath]/[Screen]&quot; width=[ScreenWidth] height=[ScreenHeight]&gt;</Metadata>
+    <Metadata name="ScreenWidth">500</Metadata>
+    <Metadata name="ScreenHeight">375</Metadata>
+    <Metadata name="NoText">1</Metadata>
+    <Metadata name="Title">DSCF0008</Metadata>
+    <Metadata name="Identifier">HASH012369b37945cc2e590fb3d5</Metadata>
+    <Metadata name="lastmodified">1373311368</Metadata>
+    <Metadata name="lastmodifieddate">20130709</Metadata>
+    <Metadata name="oailastmodified">1373412230</Metadata>
+    <Metadata name="oailastmodifieddate">20130710</Metadata>
+    <Metadata name="assocfilepath">HASH0123.dir</Metadata>
+    <Metadata name="gsdlassocfile">DSCF0008.jpg:image/jpeg:</Metadata>
+    <Metadata name="gsdlassocfile">DSCF0008_thumb.gif:image/gif:</Metadata>
+    <Metadata name="gsdlassocfile">DSCF0008_screen.jpeg:image/jpeg:</Metadata>
+  </Description>
+  <Content>This document has no text.</Content>
+</Section>
+</Archive>
Index: documentation/trunk/tutorial_sample_files/images/image3/archives/HASH0154.dir/doc.xml
===================================================================
--- documentation/trunk/tutorial_sample_files/images/image3/archives/HASH0154.dir/doc.xml	(revision 27793)
+++ documentation/trunk/tutorial_sample_files/images/image3/archives/HASH0154.dir/doc.xml	(revision 27793)
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<!DOCTYPE Archive SYSTEM "http://greenstone.org/dtd/Archive/1.0/Archive.dtd">
+<Archive>
+<Section>
+  <Description>
+    <Metadata name="gsdlsourcefilename">import\DSCF0003.jpg</Metadata>
+    <Metadata name="gsdldoctype">indexed_doc</Metadata>
+    <Metadata name="Plugin">ImagePlugin</Metadata>
+    <Metadata name="Image">DSCF0003.jpg</Metadata>
+    <Metadata name="OrigSource">DSCF0003.jpg</Metadata>
+    <Metadata name="Source">DSCF0003.jpg</Metadata>
+    <Metadata name="SourceFile">DSCF0003.jpg</Metadata>
+    <Metadata name="FileFormat">jpeg</Metadata>
+    <Metadata name="FileSize">60033</Metadata>
+    <Metadata name="ImageType">JPEG</Metadata>
+    <Metadata name="ImageWidth">600</Metadata>
+    <Metadata name="ImageHeight">450</Metadata>
+    <Metadata name="ImageSize">58.6KB</Metadata>
+    <Metadata name="srclink_file">DSCF0003.jpg</Metadata>
+    <Metadata name="srclinkFile">DSCF0003.jpg</Metadata>
+    <Metadata name="srcicon">&lt;img src=&quot;_httpprefix_/collect/[collection]/index/assoc/[assocfilepath]/[srclinkFile]&quot; width=&quot;[ImageWidth]&quot; height=&quot;[ImageHeight]&quot;&gt;</Metadata>
+    <Metadata name="ThumbType">gif</Metadata>
+    <Metadata name="Thumb">DSCF0003_thumb.gif</Metadata>
+    <Metadata name="thumbicon">&lt;img src=&quot;_httpprefix_/collect/[collection]/index/assoc/[assocfilepath]/[Thumb]&quot; width=[ThumbWidth] height=[ThumbHeight]&gt;</Metadata>
+    <Metadata name="ThumbWidth">100</Metadata>
+    <Metadata name="ThumbHeight">75</Metadata>
+    <Metadata name="ScreenType">jpeg</Metadata>
+    <Metadata name="Screen">DSCF0003_screen.jpeg</Metadata>
+    <Metadata name="screenicon">&lt;img src=&quot;_httpprefix_/collect/[collection]/index/assoc/[assocfilepath]/[Screen]&quot; width=[ScreenWidth] height=[ScreenHeight]&gt;</Metadata>
+    <Metadata name="ScreenWidth">500</Metadata>
+    <Metadata name="ScreenHeight">375</Metadata>
+    <Metadata name="NoText">1</Metadata>
+    <Metadata name="Title">DSCF0003</Metadata>
+    <Metadata name="Identifier">HASH015484508b3a74f07194ade4</Metadata>
+    <Metadata name="lastmodified">1373311368</Metadata>
+    <Metadata name="lastmodifieddate">20130709</Metadata>
+    <Metadata name="oailastmodified">1373412226</Metadata>
+    <Metadata name="oailastmodifieddate">20130710</Metadata>
+    <Metadata name="assocfilepath">HASH0154.dir</Metadata>
+    <Metadata name="gsdlassocfile">DSCF0003.jpg:image/jpeg:</Metadata>
+    <Metadata name="gsdlassocfile">DSCF0003_thumb.gif:image/gif:</Metadata>
+    <Metadata name="gsdlassocfile">DSCF0003_screen.jpeg:image/jpeg:</Metadata>
+  </Description>
+  <Content>This document has no text.</Content>
+</Section>
+</Archive>
Index: documentation/trunk/tutorial_sample_files/images/image3/archives/HASH01cc.dir/doc.xml
===================================================================
--- documentation/trunk/tutorial_sample_files/images/image3/archives/HASH01cc.dir/doc.xml	(revision 27793)
+++ documentation/trunk/tutorial_sample_files/images/image3/archives/HASH01cc.dir/doc.xml	(revision 27793)
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<!DOCTYPE Archive SYSTEM "http://greenstone.org/dtd/Archive/1.0/Archive.dtd">
+<Archive>
+<Section>
+  <Description>
+    <Metadata name="gsdlsourcefilename">import\DSCF0010.jpg</Metadata>
+    <Metadata name="gsdldoctype">indexed_doc</Metadata>
+    <Metadata name="Plugin">ImagePlugin</Metadata>
+    <Metadata name="Image">DSCF0010.jpg</Metadata>
+    <Metadata name="OrigSource">DSCF0010.jpg</Metadata>
+    <Metadata name="Source">DSCF0010.jpg</Metadata>
+    <Metadata name="SourceFile">DSCF0010.jpg</Metadata>
+    <Metadata name="FileFormat">jpeg</Metadata>
+    <Metadata name="FileSize">42879</Metadata>
+    <Metadata name="ImageType">JPEG</Metadata>
+    <Metadata name="ImageWidth">600</Metadata>
+    <Metadata name="ImageHeight">450</Metadata>
+    <Metadata name="ImageSize">41.9KB</Metadata>
+    <Metadata name="srclink_file">DSCF0010.jpg</Metadata>
+    <Metadata name="srclinkFile">DSCF0010.jpg</Metadata>
+    <Metadata name="srcicon">&lt;img src=&quot;_httpprefix_/collect/[collection]/index/assoc/[assocfilepath]/[srclinkFile]&quot; width=&quot;[ImageWidth]&quot; height=&quot;[ImageHeight]&quot;&gt;</Metadata>
+    <Metadata name="ThumbType">gif</Metadata>
+    <Metadata name="Thumb">DSCF0010_thumb.gif</Metadata>
+    <Metadata name="thumbicon">&lt;img src=&quot;_httpprefix_/collect/[collection]/index/assoc/[assocfilepath]/[Thumb]&quot; width=[ThumbWidth] height=[ThumbHeight]&gt;</Metadata>
+    <Metadata name="ThumbWidth">100</Metadata>
+    <Metadata name="ThumbHeight">75</Metadata>
+    <Metadata name="ScreenType">jpeg</Metadata>
+    <Metadata name="Screen">DSCF0010_screen.jpeg</Metadata>
+    <Metadata name="screenicon">&lt;img src=&quot;_httpprefix_/collect/[collection]/index/assoc/[assocfilepath]/[Screen]&quot; width=[ScreenWidth] height=[ScreenHeight]&gt;</Metadata>
+    <Metadata name="ScreenWidth">500</Metadata>
+    <Metadata name="ScreenHeight">375</Metadata>
+    <Metadata name="NoText">1</Metadata>
+    <Metadata name="Title">DSCF0010</Metadata>
+    <Metadata name="Identifier">HASH01cc7194d28b16ef53b455db</Metadata>
+    <Metadata name="lastmodified">1373311368</Metadata>
+    <Metadata name="lastmodifieddate">20130709</Metadata>
+    <Metadata name="oailastmodified">1373412233</Metadata>
+    <Metadata name="oailastmodifieddate">20130710</Metadata>
+    <Metadata name="assocfilepath">HASH01cc.dir</Metadata>
+    <Metadata name="gsdlassocfile">DSCF0010.jpg:image/jpeg:</Metadata>
+    <Metadata name="gsdlassocfile">DSCF0010_thumb.gif:image/gif:</Metadata>
+    <Metadata name="gsdlassocfile">DSCF0010_screen.jpeg:image/jpeg:</Metadata>
+  </Description>
+  <Content>This document has no text.</Content>
+</Section>
+</Archive>
Index: documentation/trunk/tutorial_sample_files/images/image3/archives/HASH1c59.dir/doc.xml
===================================================================
--- documentation/trunk/tutorial_sample_files/images/image3/archives/HASH1c59.dir/doc.xml	(revision 27793)
+++ documentation/trunk/tutorial_sample_files/images/image3/archives/HASH1c59.dir/doc.xml	(revision 27793)
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<!DOCTYPE Archive SYSTEM "http://greenstone.org/dtd/Archive/1.0/Archive.dtd">
+<Archive>
+<Section>
+  <Description>
+    <Metadata name="gsdlsourcefilename">import\DSCF0006.jpg</Metadata>
+    <Metadata name="gsdldoctype">indexed_doc</Metadata>
+    <Metadata name="Plugin">ImagePlugin</Metadata>
+    <Metadata name="Image">DSCF0006.jpg</Metadata>
+    <Metadata name="OrigSource">DSCF0006.jpg</Metadata>
+    <Metadata name="Source">DSCF0006.jpg</Metadata>
+    <Metadata name="SourceFile">DSCF0006.jpg</Metadata>
+    <Metadata name="FileFormat">jpeg</Metadata>
+    <Metadata name="FileSize">48953</Metadata>
+    <Metadata name="ImageType">JPEG</Metadata>
+    <Metadata name="ImageWidth">600</Metadata>
+    <Metadata name="ImageHeight">450</Metadata>
+    <Metadata name="ImageSize">47.8KB</Metadata>
+    <Metadata name="srclink_file">DSCF0006.jpg</Metadata>
+    <Metadata name="srclinkFile">DSCF0006.jpg</Metadata>
+    <Metadata name="srcicon">&lt;img src=&quot;_httpprefix_/collect/[collection]/index/assoc/[assocfilepath]/[srclinkFile]&quot; width=&quot;[ImageWidth]&quot; height=&quot;[ImageHeight]&quot;&gt;</Metadata>
+    <Metadata name="ThumbType">gif</Metadata>
+    <Metadata name="Thumb">DSCF0006_thumb.gif</Metadata>
+    <Metadata name="thumbicon">&lt;img src=&quot;_httpprefix_/collect/[collection]/index/assoc/[assocfilepath]/[Thumb]&quot; width=[ThumbWidth] height=[ThumbHeight]&gt;</Metadata>
+    <Metadata name="ThumbWidth">100</Metadata>
+    <Metadata name="ThumbHeight">75</Metadata>
+    <Metadata name="ScreenType">jpeg</Metadata>
+    <Metadata name="Screen">DSCF0006_screen.jpeg</Metadata>
+    <Metadata name="screenicon">&lt;img src=&quot;_httpprefix_/collect/[collection]/index/assoc/[assocfilepath]/[Screen]&quot; width=[ScreenWidth] height=[ScreenHeight]&gt;</Metadata>
+    <Metadata name="ScreenWidth">500</Metadata>
+    <Metadata name="ScreenHeight">375</Metadata>
+    <Metadata name="NoText">1</Metadata>
+    <Metadata name="Title">DSCF0006</Metadata>
+    <Metadata name="Identifier">HASH1c59d56edbfc001d6e10aa</Metadata>
+    <Metadata name="lastmodified">1373311368</Metadata>
+    <Metadata name="lastmodifieddate">20130709</Metadata>
+    <Metadata name="oailastmodified">1373412228</Metadata>
+    <Metadata name="oailastmodifieddate">20130710</Metadata>
+    <Metadata name="assocfilepath">HASH1c59.dir</Metadata>
+    <Metadata name="gsdlassocfile">DSCF0006.jpg:image/jpeg:</Metadata>
+    <Metadata name="gsdlassocfile">DSCF0006_thumb.gif:image/gif:</Metadata>
+    <Metadata name="gsdlassocfile">DSCF0006_screen.jpeg:image/jpeg:</Metadata>
+  </Description>
+  <Content>This document has no text.</Content>
+</Section>
+</Archive>
Index: documentation/trunk/tutorial_sample_files/images/image3/archives/HASH7dac.dir/doc.xml
===================================================================
--- documentation/trunk/tutorial_sample_files/images/image3/archives/HASH7dac.dir/doc.xml	(revision 27793)
+++ documentation/trunk/tutorial_sample_files/images/image3/archives/HASH7dac.dir/doc.xml	(revision 27793)
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<!DOCTYPE Archive SYSTEM "http://greenstone.org/dtd/Archive/1.0/Archive.dtd">
+<Archive>
+<Section>
+  <Description>
+    <Metadata name="gsdlsourcefilename">import\DSCF0007.jpg</Metadata>
+    <Metadata name="gsdldoctype">indexed_doc</Metadata>
+    <Metadata name="Plugin">ImagePlugin</Metadata>
+    <Metadata name="Image">DSCF0007.jpg</Metadata>
+    <Metadata name="OrigSource">DSCF0007.jpg</Metadata>
+    <Metadata name="Source">DSCF0007.jpg</Metadata>
+    <Metadata name="SourceFile">DSCF0007.jpg</Metadata>
+    <Metadata name="FileFormat">jpeg</Metadata>
+    <Metadata name="FileSize">43005</Metadata>
+    <Metadata name="ImageType">JPEG</Metadata>
+    <Metadata name="ImageWidth">600</Metadata>
+    <Metadata name="ImageHeight">450</Metadata>
+    <Metadata name="ImageSize">42KB</Metadata>
+    <Metadata name="srclink_file">DSCF0007.jpg</Metadata>
+    <Metadata name="srclinkFile">DSCF0007.jpg</Metadata>
+    <Metadata name="srcicon">&lt;img src=&quot;_httpprefix_/collect/[collection]/index/assoc/[assocfilepath]/[srclinkFile]&quot; width=&quot;[ImageWidth]&quot; height=&quot;[ImageHeight]&quot;&gt;</Metadata>
+    <Metadata name="ThumbType">gif</Metadata>
+    <Metadata name="Thumb">DSCF0007_thumb.gif</Metadata>
+    <Metadata name="thumbicon">&lt;img src=&quot;_httpprefix_/collect/[collection]/index/assoc/[assocfilepath]/[Thumb]&quot; width=[ThumbWidth] height=[ThumbHeight]&gt;</Metadata>
+    <Metadata name="ThumbWidth">100</Metadata>
+    <Metadata name="ThumbHeight">75</Metadata>
+    <Metadata name="ScreenType">jpeg</Metadata>
+    <Metadata name="Screen">DSCF0007_screen.jpeg</Metadata>
+    <Metadata name="screenicon">&lt;img src=&quot;_httpprefix_/collect/[collection]/index/assoc/[assocfilepath]/[Screen]&quot; width=[ScreenWidth] height=[ScreenHeight]&gt;</Metadata>
+    <Metadata name="ScreenWidth">500</Metadata>
+    <Metadata name="ScreenHeight">375</Metadata>
+    <Metadata name="NoText">1</Metadata>
+    <Metadata name="Title">DSCF0007</Metadata>
+    <Metadata name="Identifier">HASH7dac6ce47d264b65c221f8</Metadata>
+    <Metadata name="lastmodified">1373311368</Metadata>
+    <Metadata name="lastmodifieddate">20130709</Metadata>
+    <Metadata name="oailastmodified">1373412229</Metadata>
+    <Metadata name="oailastmodifieddate">20130710</Metadata>
+    <Metadata name="assocfilepath">HASH7dac.dir</Metadata>
+    <Metadata name="gsdlassocfile">DSCF0007.jpg:image/jpeg:</Metadata>
+    <Metadata name="gsdlassocfile">DSCF0007_thumb.gif:image/gif:</Metadata>
+    <Metadata name="gsdlassocfile">DSCF0007_screen.jpeg:image/jpeg:</Metadata>
+  </Description>
+  <Content>This document has no text.</Content>
+</Section>
+</Archive>
Index: documentation/trunk/tutorial_sample_files/images/image3/archives/HASH91da.dir/doc.xml
===================================================================
--- documentation/trunk/tutorial_sample_files/images/image3/archives/HASH91da.dir/doc.xml	(revision 27793)
+++ documentation/trunk/tutorial_sample_files/images/image3/archives/HASH91da.dir/doc.xml	(revision 27793)
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<!DOCTYPE Archive SYSTEM "http://greenstone.org/dtd/Archive/1.0/Archive.dtd">
+<Archive>
+<Section>
+  <Description>
+    <Metadata name="gsdlsourcefilename">import\DSCF0004.jpg</Metadata>
+    <Metadata name="gsdldoctype">indexed_doc</Metadata>
+    <Metadata name="Plugin">ImagePlugin</Metadata>
+    <Metadata name="Image">DSCF0004.jpg</Metadata>
+    <Metadata name="OrigSource">DSCF0004.jpg</Metadata>
+    <Metadata name="Source">DSCF0004.jpg</Metadata>
+    <Metadata name="SourceFile">DSCF0004.jpg</Metadata>
+    <Metadata name="FileFormat">jpeg</Metadata>
+    <Metadata name="FileSize">47154</Metadata>
+    <Metadata name="ImageType">JPEG</Metadata>
+    <Metadata name="ImageWidth">600</Metadata>
+    <Metadata name="ImageHeight">450</Metadata>
+    <Metadata name="ImageSize">46KB</Metadata>
+    <Metadata name="srclink_file">DSCF0004.jpg</Metadata>
+    <Metadata name="srclinkFile">DSCF0004.jpg</Metadata>
+    <Metadata name="srcicon">&lt;img src=&quot;_httpprefix_/collect/[collection]/index/assoc/[assocfilepath]/[srclinkFile]&quot; width=&quot;[ImageWidth]&quot; height=&quot;[ImageHeight]&quot;&gt;</Metadata>
+    <Metadata name="ThumbType">gif</Metadata>
+    <Metadata name="Thumb">DSCF0004_thumb.gif</Metadata>
+    <Metadata name="thumbicon">&lt;img src=&quot;_httpprefix_/collect/[collection]/index/assoc/[assocfilepath]/[Thumb]&quot; width=[ThumbWidth] height=[ThumbHeight]&gt;</Metadata>
+    <Metadata name="ThumbWidth">100</Metadata>
+    <Metadata name="ThumbHeight">75</Metadata>
+    <Metadata name="ScreenType">jpeg</Metadata>
+    <Metadata name="Screen">DSCF0004_screen.jpeg</Metadata>
+    <Metadata name="screenicon">&lt;img src=&quot;_httpprefix_/collect/[collection]/index/assoc/[assocfilepath]/[Screen]&quot; width=[ScreenWidth] height=[ScreenHeight]&gt;</Metadata>
+    <Metadata name="ScreenWidth">500</Metadata>
+    <Metadata name="ScreenHeight">375</Metadata>
+    <Metadata name="NoText">1</Metadata>
+    <Metadata name="Title">DSCF0004</Metadata>
+    <Metadata name="Identifier">HASH91da1c16f2b3f6d12807dc</Metadata>
+    <Metadata name="lastmodified">1373311368</Metadata>
+    <Metadata name="lastmodifieddate">20130709</Metadata>
+    <Metadata name="oailastmodified">1373412227</Metadata>
+    <Metadata name="oailastmodifieddate">20130710</Metadata>
+    <Metadata name="assocfilepath">HASH91da.dir</Metadata>
+    <Metadata name="gsdlassocfile">DSCF0004.jpg:image/jpeg:</Metadata>
+    <Metadata name="gsdlassocfile">DSCF0004_thumb.gif:image/gif:</Metadata>
+    <Metadata name="gsdlassocfile">DSCF0004_screen.jpeg:image/jpeg:</Metadata>
+  </Description>
+  <Content>This document has no text.</Content>
+</Section>
+</Archive>
Index: documentation/trunk/tutorial_sample_files/images/image3/archives/HASHdbf7.dir/doc.xml
===================================================================
--- documentation/trunk/tutorial_sample_files/images/image3/archives/HASHdbf7.dir/doc.xml	(revision 27793)
+++ documentation/trunk/tutorial_sample_files/images/image3/archives/HASHdbf7.dir/doc.xml	(revision 27793)
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<!DOCTYPE Archive SYSTEM "http://greenstone.org/dtd/Archive/1.0/Archive.dtd">
+<Archive>
+<Section>
+  <Description>
+    <Metadata name="gsdlsourcefilename">import\DSCF0024.jpg</Metadata>
+    <Metadata name="gsdldoctype">indexed_doc</Metadata>
+    <Metadata name="Plugin">ImagePlugin</Metadata>
+    <Metadata name="Image">DSCF0024.jpg</Metadata>
+    <Metadata name="OrigSource">DSCF0024.jpg</Metadata>
+    <Metadata name="Source">DSCF0024.jpg</Metadata>
+    <Metadata name="SourceFile">DSCF0024.jpg</Metadata>
+    <Metadata name="FileFormat">jpeg</Metadata>
+    <Metadata name="FileSize">34750</Metadata>
+    <Metadata name="ImageType">JPEG</Metadata>
+    <Metadata name="ImageWidth">600</Metadata>
+    <Metadata name="ImageHeight">450</Metadata>
+    <Metadata name="ImageSize">33.9KB</Metadata>
+    <Metadata name="srclink_file">DSCF0024.jpg</Metadata>
+    <Metadata name="srclinkFile">DSCF0024.jpg</Metadata>
+    <Metadata name="srcicon">&lt;img src=&quot;_httpprefix_/collect/[collection]/index/assoc/[assocfilepath]/[srclinkFile]&quot; width=&quot;[ImageWidth]&quot; height=&quot;[ImageHeight]&quot;&gt;</Metadata>
+    <Metadata name="ThumbType">gif</Metadata>
+    <Metadata name="Thumb">DSCF0024_thumb.gif</Metadata>
+    <Metadata name="thumbicon">&lt;img src=&quot;_httpprefix_/collect/[collection]/index/assoc/[assocfilepath]/[Thumb]&quot; width=[ThumbWidth] height=[ThumbHeight]&gt;</Metadata>
+    <Metadata name="ThumbWidth">100</Metadata>
+    <Metadata name="ThumbHeight">75</Metadata>
+    <Metadata name="ScreenType">jpeg</Metadata>
+    <Metadata name="Screen">DSCF0024_screen.jpeg</Metadata>
+    <Metadata name="screenicon">&lt;img src=&quot;_httpprefix_/collect/[collection]/index/assoc/[assocfilepath]/[Screen]&quot; width=[ScreenWidth] height=[ScreenHeight]&gt;</Metadata>
+    <Metadata name="ScreenWidth">500</Metadata>
+    <Metadata name="ScreenHeight">375</Metadata>
+    <Metadata name="NoText">1</Metadata>
+    <Metadata name="Title">DSCF0024</Metadata>
+    <Metadata name="Identifier">HASHdbf76ebacd986f73d64ba6</Metadata>
+    <Metadata name="lastmodified">1373311368</Metadata>
+    <Metadata name="lastmodifieddate">20130709</Metadata>
+    <Metadata name="oailastmodified">1373412234</Metadata>
+    <Metadata name="oailastmodifieddate">20130710</Metadata>
+    <Metadata name="assocfilepath">HASHdbf7.dir</Metadata>
+    <Metadata name="gsdlassocfile">DSCF0024.jpg:image/jpeg:</Metadata>
+    <Metadata name="gsdlassocfile">DSCF0024_thumb.gif:image/gif:</Metadata>
+    <Metadata name="gsdlassocfile">DSCF0024_screen.jpeg:image/jpeg:</Metadata>
+  </Description>
+  <Content>This document has no text.</Content>
+</Section>
+</Archive>
Index: documentation/trunk/tutorial_sample_files/images/image3/archives/HASHe65e.dir/doc.xml
===================================================================
--- documentation/trunk/tutorial_sample_files/images/image3/archives/HASHe65e.dir/doc.xml	(revision 27793)
+++ documentation/trunk/tutorial_sample_files/images/image3/archives/HASHe65e.dir/doc.xml	(revision 27793)
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<!DOCTYPE Archive SYSTEM "http://greenstone.org/dtd/Archive/1.0/Archive.dtd">
+<Archive>
+<Section>
+  <Description>
+    <Metadata name="gsdlsourcefilename">import\DSCF0001.jpg</Metadata>
+    <Metadata name="gsdldoctype">indexed_doc</Metadata>
+    <Metadata name="Plugin">ImagePlugin</Metadata>
+    <Metadata name="Image">DSCF0001.jpg</Metadata>
+    <Metadata name="OrigSource">DSCF0001.jpg</Metadata>
+    <Metadata name="Source">DSCF0001.jpg</Metadata>
+    <Metadata name="SourceFile">DSCF0001.jpg</Metadata>
+    <Metadata name="FileFormat">jpeg</Metadata>
+    <Metadata name="FileSize">46085</Metadata>
+    <Metadata name="ImageType">JPEG</Metadata>
+    <Metadata name="ImageWidth">600</Metadata>
+    <Metadata name="ImageHeight">450</Metadata>
+    <Metadata name="ImageSize">45KB</Metadata>
+    <Metadata name="srclink_file">DSCF0001.jpg</Metadata>
+    <Metadata name="srclinkFile">DSCF0001.jpg</Metadata>
+    <Metadata name="srcicon">&lt;img src=&quot;_httpprefix_/collect/[collection]/index/assoc/[assocfilepath]/[srclinkFile]&quot; width=&quot;[ImageWidth]&quot; height=&quot;[ImageHeight]&quot;&gt;</Metadata>
+    <Metadata name="ThumbType">gif</Metadata>
+    <Metadata name="Thumb">DSCF0001_thumb.gif</Metadata>
+    <Metadata name="thumbicon">&lt;img src=&quot;_httpprefix_/collect/[collection]/index/assoc/[assocfilepath]/[Thumb]&quot; width=[ThumbWidth] height=[ThumbHeight]&gt;</Metadata>
+    <Metadata name="ThumbWidth">100</Metadata>
+    <Metadata name="ThumbHeight">75</Metadata>
+    <Metadata name="ScreenType">jpeg</Metadata>
+    <Metadata name="Screen">DSCF0001_screen.jpeg</Metadata>
+    <Metadata name="screenicon">&lt;img src=&quot;_httpprefix_/collect/[collection]/index/assoc/[assocfilepath]/[Screen]&quot; width=[ScreenWidth] height=[ScreenHeight]&gt;</Metadata>
+    <Metadata name="ScreenWidth">500</Metadata>
+    <Metadata name="ScreenHeight">375</Metadata>
+    <Metadata name="NoText">1</Metadata>
+    <Metadata name="Title">DSCF0001</Metadata>
+    <Metadata name="Identifier">HASHe65e0fdf1b460cd4f85899</Metadata>
+    <Metadata name="lastmodified">1373311367</Metadata>
+    <Metadata name="lastmodifieddate">20130709</Metadata>
+    <Metadata name="oailastmodified">1373412225</Metadata>
+    <Metadata name="oailastmodifieddate">20130710</Metadata>
+    <Metadata name="assocfilepath">HASHe65e.dir</Metadata>
+    <Metadata name="gsdlassocfile">DSCF0001.jpg:image/jpeg:</Metadata>
+    <Metadata name="gsdlassocfile">DSCF0001_thumb.gif:image/gif:</Metadata>
+    <Metadata name="gsdlassocfile">DSCF0001_screen.jpeg:image/jpeg:</Metadata>
+  </Description>
+  <Content>This document has no text.</Content>
+</Section>
+</Archive>
Index: documentation/trunk/tutorial_sample_files/images/image3/archives/HASHef0a.dir/doc.xml
===================================================================
--- documentation/trunk/tutorial_sample_files/images/image3/archives/HASHef0a.dir/doc.xml	(revision 27793)
+++ documentation/trunk/tutorial_sample_files/images/image3/archives/HASHef0a.dir/doc.xml	(revision 27793)
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<!DOCTYPE Archive SYSTEM "http://greenstone.org/dtd/Archive/1.0/Archive.dtd">
+<Archive>
+<Section>
+  <Description>
+    <Metadata name="gsdlsourcefilename">import\DSCF0009.jpg</Metadata>
+    <Metadata name="gsdldoctype">indexed_doc</Metadata>
+    <Metadata name="Plugin">ImagePlugin</Metadata>
+    <Metadata name="Image">DSCF0009.jpg</Metadata>
+    <Metadata name="OrigSource">DSCF0009.jpg</Metadata>
+    <Metadata name="Source">DSCF0009.jpg</Metadata>
+    <Metadata name="SourceFile">DSCF0009.jpg</Metadata>
+    <Metadata name="FileFormat">jpeg</Metadata>
+    <Metadata name="FileSize">41442</Metadata>
+    <Metadata name="ImageType">JPEG</Metadata>
+    <Metadata name="ImageWidth">600</Metadata>
+    <Metadata name="ImageHeight">450</Metadata>
+    <Metadata name="ImageSize">40.5KB</Metadata>
+    <Metadata name="srclink_file">DSCF0009.jpg</Metadata>
+    <Metadata name="srclinkFile">DSCF0009.jpg</Metadata>
+    <Metadata name="srcicon">&lt;img src=&quot;_httpprefix_/collect/[collection]/index/assoc/[assocfilepath]/[srclinkFile]&quot; width=&quot;[ImageWidth]&quot; height=&quot;[ImageHeight]&quot;&gt;</Metadata>
+    <Metadata name="ThumbType">gif</Metadata>
+    <Metadata name="Thumb">DSCF0009_thumb.gif</Metadata>
+    <Metadata name="thumbicon">&lt;img src=&quot;_httpprefix_/collect/[collection]/index/assoc/[assocfilepath]/[Thumb]&quot; width=[ThumbWidth] height=[ThumbHeight]&gt;</Metadata>
+    <Metadata name="ThumbWidth">100</Metadata>
+    <Metadata name="ThumbHeight">75</Metadata>
+    <Metadata name="ScreenType">jpeg</Metadata>
+    <Metadata name="Screen">DSCF0009_screen.jpeg</Metadata>
+    <Metadata name="screenicon">&lt;img src=&quot;_httpprefix_/collect/[collection]/index/assoc/[assocfilepath]/[Screen]&quot; width=[ScreenWidth] height=[ScreenHeight]&gt;</Metadata>
+    <Metadata name="ScreenWidth">500</Metadata>
+    <Metadata name="ScreenHeight">375</Metadata>
+    <Metadata name="NoText">1</Metadata>
+    <Metadata name="Title">DSCF0009</Metadata>
+    <Metadata name="Identifier">HASHef0af76bb539d205f025fe</Metadata>
+    <Metadata name="lastmodified">1373311368</Metadata>
+    <Metadata name="lastmodifieddate">20130709</Metadata>
+    <Metadata name="oailastmodified">1373412231</Metadata>
+    <Metadata name="oailastmodifieddate">20130710</Metadata>
+    <Metadata name="assocfilepath">HASHef0a.dir</Metadata>
+    <Metadata name="gsdlassocfile">DSCF0009.jpg:image/jpeg:</Metadata>
+    <Metadata name="gsdlassocfile">DSCF0009_thumb.gif:image/gif:</Metadata>
+    <Metadata name="gsdlassocfile">DSCF0009_screen.jpeg:image/jpeg:</Metadata>
+  </Description>
+  <Content>This document has no text.</Content>
+</Section>
+</Archive>
Index: documentation/trunk/tutorial_sample_files/images/image3/archives/OIDcount
===================================================================
--- documentation/trunk/tutorial_sample_files/images/image3/archives/OIDcount	(revision 27793)
+++ documentation/trunk/tutorial_sample_files/images/image3/archives/OIDcount	(revision 27793)
@@ -0,0 +1,1 @@
+0
Index: documentation/trunk/tutorial_sample_files/images/image3/archives/earliestDatestamp
===================================================================
--- documentation/trunk/tutorial_sample_files/images/image3/archives/earliestDatestamp	(revision 27793)
+++ documentation/trunk/tutorial_sample_files/images/image3/archives/earliestDatestamp	(revision 27793)
@@ -0,0 +1,1 @@
+1373412224
Index: documentation/trunk/tutorial_sample_files/images/image3/archives/rss-items.rdf
===================================================================
--- documentation/trunk/tutorial_sample_files/images/image3/archives/rss-items.rdf	(revision 27793)
+++ documentation/trunk/tutorial_sample_files/images/image3/archives/rss-items.rdf	(revision 27793)
@@ -0,0 +1,36 @@
+<item>
+   <title></title>
+   <link>_httpdomain__httpcollection_/document/HASHe65e0fdf1b460cd4f85899</link>
+</item>
+<item>
+   <title></title>
+   <link>_httpdomain__httpcollection_/document/HASH015484508b3a74f07194ade4</link>
+</item>
+<item>
+   <title></title>
+   <link>_httpdomain__httpcollection_/document/HASH91da1c16f2b3f6d12807dc</link>
+</item>
+<item>
+   <title></title>
+   <link>_httpdomain__httpcollection_/document/HASH1c59d56edbfc001d6e10aa</link>
+</item>
+<item>
+   <title></title>
+   <link>_httpdomain__httpcollection_/document/HASH7dac6ce47d264b65c221f8</link>
+</item>
+<item>
+   <title></title>
+   <link>_httpdomain__httpcollection_/document/HASH012369b37945cc2e590fb3d5</link>
+</item>
+<item>
+   <title></title>
+   <link>_httpdomain__httpcollection_/document/HASHef0af76bb539d205f025fe</link>
+</item>
+<item>
+   <title></title>
+   <link>_httpdomain__httpcollection_/document/HASH01cc7194d28b16ef53b455db</link>
+</item>
+<item>
+   <title></title>
+   <link>_httpdomain__httpcollection_/document/HASHdbf76ebacd986f73d64ba6</link>
+</item>
Index: documentation/trunk/tutorial_sample_files/images/image3/etc/collectionConfig.bak
===================================================================
--- documentation/trunk/tutorial_sample_files/images/image3/etc/collectionConfig.bak	(revision 27793)
+++ documentation/trunk/tutorial_sample_files/images/image3/etc/collectionConfig.bak	(revision 27793)
@@ -0,0 +1,309 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<CollectionConfig xmlns:gsf="http://www.greenstone.org/greenstone3/schema/ConfigFormat" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+	<metadataList>
+		<metadata lang="en" name="creator"/>
+		<metadata lang="en" name="maintainer"/>
+		<metadata lang="en" name="public">true</metadata>
+	</metadataList>
+	<displayItemList>
+		<displayItem assigned="true" lang="en" name="description">&lt;p&gt;This is a basic image collection that contains no text and no
+explicit metadata. Several JPEG files are placed in the import directory prior to importing
+and building the collection, that&apos;s all.&lt;/p&gt;
+&lt;p&gt;The images in this collection have been produced by members of the Department of Computer Science, University of Waikato.
+The University of Waikato holds copyright. They may be distributed freely, without any restrictions.&lt;/p&gt;
+
+&lt;h3&gt;How the collection works&lt;/h3&gt;
+
+&lt;p&gt;&lt;a href=&quot;library/collection/imagee3/document/HASHe65e0fdf1b460cd4f85899&quot;&gt;Here&lt;/a&gt; is a sample document in the collection.
+The &lt;a href=&quot;_httpcollection_/etc/collectionConfig.xml&quot; target=collectionConfig.xml&gt; 
+configuration file&lt;/a&gt; specifies no indexes, so the search box is suppressed.&lt;/p&gt;
+
+&lt;p&gt;
+There is only one plugin, &lt;i&gt;ImagePlugin&lt;/i&gt;, aside from the four that are
+always presentâ&lt;i&gt;GreenstoneXMLPlugin&lt;/i&gt;, &lt;i&gt;MetadataXMLPlugin&lt;/i&gt;, &lt;i&gt;ArchivesInfPlugin&lt;/i&gt;, &lt;i&gt;DirectoryPlugin&lt;/i&gt;
+ (the latter three are only visible in the GLI if &apos;Expert&apos; mode is selected).
+&lt;i&gt;ImagePlugin&lt;/i&gt; relies on the existence of two programs from the ImageMagick suite
+(&lt;a href=&quot;http://www.imagemagick.org&quot;&gt;http://www.imagemagick.org&lt;/a&gt;): &lt;i&gt;convert&lt;/i&gt; and
+&lt;i&gt;identify&lt;/i&gt;. Greenstone will not be able to build the collection correctly unless
+ImageMagick is installed on your computer.&lt;/p&gt;
+
+&lt;p&gt; &lt;i&gt;ImagePlugin&lt;/i&gt; automatically creates a thumbnail and generates the following
+metadata for each image in the collection:&lt;/p&gt;
+
+&lt;table border=0 cellspacing=0&gt;
+&lt;tr&gt;&lt;td width=125 valign=top&gt;&lt;i&gt;Image&lt;/i&gt;&lt;/td&gt;&lt;td&gt;Name of file containing the image &lt;tr&gt;
+&lt;tr&gt;&lt;td valign=top&gt;&lt;i&gt;ImageWidth&lt;/i&gt;&lt;/td&gt;&lt;td&gt;Width of image (in pixels) &lt;tr&gt;
+&lt;tr&gt;&lt;td valign=top&gt;&lt;i&gt;ImageHeight&lt;/i&gt;&lt;/td&gt;&lt;td&gt;Height of image (in pixels) &lt;tr&gt;
+&lt;tr&gt;&lt;td valign=top&gt;&lt;i&gt;Thumb&lt;/i&gt;&lt;/td&gt;&lt;td&gt; Name of gif file containing thumbnail of image &lt;tr&gt;
+&lt;tr&gt;&lt;td valign=top&gt;&lt;i&gt;ThumbWidth&lt;/i&gt;&lt;/td&gt;&lt;td&gt;Width of thumbnail image (in pixels) &lt;tr&gt;
+&lt;tr&gt;&lt;td valign=top&gt;&lt;i&gt;ThumbHeight&lt;/i&gt;&lt;/td&gt;&lt;td&gt;Height of thumbnail image (in pixels) &lt;tr&gt;
+&lt;tr&gt;&lt;td valign=top&gt;&lt;i&gt;thumbicon&lt;/i&gt;&lt;/td&gt;&lt;td&gt;Full pathname specification of thumbnail image &lt;tr&gt;
+&lt;tr&gt;&lt;td valign=top&gt;&lt;i&gt;assocfilepath&lt;/i&gt;&lt;/td&gt;&lt;td&gt;Pathname of image directory in the collection&apos;s &lt;i&gt;assoc&lt;/i&gt; directory &lt;tr&gt;
+&lt;/table&gt;&lt;br/&gt;
+
+&lt;p&gt;
+The image is stored as an &quot;associated file&quot; in the &lt;i&gt;assoc&lt;/i&gt; subdirectory
+of the collection&apos;s &lt;i&gt;index&lt;/i&gt; directory. (&lt;i&gt;Index&lt;/i&gt; is where all files
+necessary to serve the collection are placed, to make it self-contained.) The
+pathname &amp;#095;&lt;i&gt;httpassocdir&lt;/i&gt;&amp;#095;, which is the same as
+&amp;#095;&lt;i&gt;httpcollection&lt;/i&gt;&amp;#095;&lt;i&gt;/index/assoc&lt;/i&gt;, refers to this directory. For any
+document, its thumbnail and image are both in a subdirectory whose filename is
+given by &lt;i&gt;assocfilepath&lt;/i&gt;. The metadata element &lt;i&gt;thumbicon&lt;/i&gt; is set to
+the full pathname specification of the thumbnail image, and can be used in the
+same way as &lt;i&gt;srcicon&lt;/i&gt; (see the MSWord and PDF demonstration collection).&lt;/p&gt;
+
+&lt;p&gt;
+The &lt;i&gt;&amp;lt;display&amp;gt;&lt;/i&gt; section in the
+&lt;a href=&quot;_httpcollection_/etc/collectionConfig.xml&quot; target=collectionConfig.xml&gt;configuration file&lt;/a&gt;,
+dictates how the document will appear, and
+&lt;a href=&quot;library/collection/imagee3/document/HASH015484508b3a74f07194ade4&quot;&gt;this&lt;/a&gt; is the
+result. There is no document text (if there were, it would be producible by
+&lt;i&gt;&amp;lt;xsl:call-template name=&quot;wrappedSectionText&quot;/&amp;gt;&lt;/i&gt;). What is shown is the image itself (produced by 
+the &lt;i&gt;&amp;lt;xsl:call-template name=&quot;wrappedSectionImage&quot;/&amp;gt;&lt;/i&gt;), along with some metadata extracted
+from it.&lt;/p&gt;
+
+&lt;p&gt;
+The configuration file
+specifies one classifier in the &lt;i&gt;&amp;lt;browse&amp;gt;&lt;/i&gt; section, a &lt;i&gt;List&lt;/i&gt; based on &lt;i&gt;Image&lt;/i&gt; metadata, shown
+&lt;a href=&quot;library/collection/imagee3/browse/CL1&quot;&gt;here&lt;/a&gt;. The format statement shows the thumbnail image along with
+some metadata. (Any other classifiers would have the same format, since this
+statement does not name the classifier.) &lt;/p&gt;
+
+&lt;p&gt;
+You may wonder why the thumbnail image is generated and stored explicitly, when
+the same effect would be obtained by using the original image and scaling it. The reason is to save communication bandwidth by not sending large images when
+small ones would do.&lt;/p&gt;
+
+&lt;p&gt;For a more comprehensive image collection, see the
+&lt;a href=&quot;http://www.nzdl.org/cgi-bin/library?a=p&amp;p=about&amp;c=aircraft&quot;&gt;kiwi aircraft images&lt;/a&gt;
+in the New Zealand Digital Library. The structure of this collection is
+quite different, however: it is a collection of web pages that include many
+images along with the text. The HTML plugin &lt;i&gt;HTMLPlugin&lt;/i&gt; also processes image
+files, but it does so in a different way from ImagePlugin (for example, it
+does not produce the metadata described above).&lt;/p&gt;</displayItem>
+		<displayItem assigned="true" lang="en" name="name">Simple image collection</displayItem>
+		<displayItem assigned="true" lang="en" name="document:text">text</displayItem>
+		<displayItem assigned="true" lang="en" name="document:ex.Title">Title</displayItem>
+		<displayItem assigned="true" lang="en" name="document:ex.Source">Source</displayItem>
+		<displayItem assigned="true" lang="en" name="text">text</displayItem>
+		<displayItem assigned="true" lang="en" name="dc.Title,ex.dc.Title,Title">titles</displayItem>
+		<displayItem assigned="true" lang="en" name="Source">filenames</displayItem>
+		<displayItem assigned="true" lang="en" name="document">document</displayItem>
+		<displayItem assigned="true" lang="en" name="section">section</displayItem>
+		<displayItem assigned="true" lang="en" name="shortDescription">imagee3</displayItem>
+	</displayItemList>
+	<format>  <gsf:template name="choose-title">
+    <gsf:choose-metadata>
+      <gsf:metadata name="dc.Title"/>
+      <gsf:metadata name="exp.Title"/>
+      <gsf:metadata name="ex.dc.Title"/>
+      <gsf:metadata name="Title"/>
+      <gsf:default>Untitled</gsf:default>
+    </gsf:choose-metadata>
+  </gsf:template>
+
+</format>
+	<search type="mgpp">
+		<searchType name="plain"/>
+		<searchType name="simpleform"/>
+		<searchType name="advancedform"/>
+		<format>  <gsf:template match="documentNode">
+    <td valign="top">
+      <gsf:link type="document">
+        <gsf:icon type="document"/>
+      </gsf:link>
+    </td>
+    <td>
+      <gsf:link type="document">
+        <xsl:call-template name="choose-title"/>
+      </gsf:link>
+    </td>
+  </gsf:template>
+
+</format>
+	</search>
+	<infodb type="gdbm"/>
+	<import>
+		<pluginList>
+			<plugin name="ImagePlugin"/>
+			<plugin name="GreenstoneXMLPlugin"/>
+			<plugin name="MetadataXMLPlugin"/>
+			<plugin name="ArchivesInfPlugin"/>
+			<plugin name="DirectoryPlugin"/>
+		</pluginList>
+	</import>
+	<browse>
+		<classifier name="List">
+			<option name="-metadata" value="Image"/>
+			<option name="-partition_type_within_level" value="approximate_size"/>
+			<option name="-buttonname" value="Browse"/>
+		</classifier>
+		<format>  <gsf:template match="documentNode">
+    <td valign="center">
+      <gsf:link type="document">
+        <gsf:choose-metadata>
+          <gsf:metadata name="thumbicon"/>
+          <gsf:metadata name="srcicon"/>
+        </gsf:choose-metadata>
+      </gsf:link>
+    </td>
+    <td style="padding-left:10px;" valign="center">
+      <table>
+        <tr>
+          <td style="padding-right:10px;" valign="top">
+            <b>Image Name:</b>
+          </td>
+          <td>
+            <gsf:metadata name="Image"/>
+          </td>
+        </tr>
+        <tr>
+          <td>
+            <b>Width:</b>
+          </td>
+          <td>
+            <gsf:metadata name="ImageWidth"/>
+          </td>
+        </tr>
+        <tr>
+          <td>
+            <b>Height:</b>
+          </td>
+          <td>
+            <gsf:metadata name="ImageHeight"/>
+          </td>
+        </tr>
+        <tr>
+          <td>
+            <b>Size:</b>
+          </td>
+          <td>
+            <gsf:metadata name="ImageSize"/>
+          </td>
+        </tr>
+      </table>
+    </td>
+  </gsf:template>
+  <gsf:template match="classifierNode[@classifierStyle = 'VList']">
+    <td valign="top">
+      <gsf:link type="classifier">
+        <gsf:icon type="classifier"/>
+      </gsf:link>
+    </td>
+    <td valign="top">
+      <gsf:metadata name="Title"/>
+    </td>
+  </gsf:template>
+  <gsf:template match="classifierNode[@classifierStyle = 'HList']">
+    <gsf:link type="classifier">
+      <gsf:metadata name="Title"/>
+    </gsf:link>
+  </gsf:template>
+
+</format>
+	</browse>
+	<display>
+		<format>  <gsf:option name="TOC" value="true"/>
+<!--
+Overwriting this template allows you to change the heading of the document.
+-->
+  <gsf:template name="documentHeading"/>
+<!--
+Overwriting this template can be used to redefine the content of the whole document. This is useful for simple documents, but not recommended for more complex documents (e.g. hierachical and paged documents) as it can prevent any sub-sections from showing.
+-->
+  <gsf:template name="documentContent">
+    <xsl:call-template name="wrappedSectionImage"/>
+    <xsl:call-template name="wrappedSectionText"/>
+    <table>
+      <tr>
+        <td style="padding-right:10px;" valign="top">
+          <b>Image Name:</b>
+        </td>
+        <td>
+          <gsf:metadata name="Image"/>
+        </td>
+      </tr>
+      <tr>
+        <td>
+          <b>Width:</b>
+        </td>
+        <td>
+          <gsf:metadata name="ImageWidth"/>
+        </td>
+      </tr>
+      <tr>
+        <td>
+          <b>Height:</b>
+        </td>
+        <td>
+          <gsf:metadata name="ImageHeight"/>
+        </td>
+      </tr>
+      <tr>
+        <td>
+          <b>Size:</b>
+        </td>
+        <td>
+          <gsf:metadata name="ImageSize"/>
+        </td>
+      </tr>
+    </table>
+  </gsf:template>
+<!--
+Overwriting this template can be used to change the content of section headings.
+-->
+<!--
+<gsf:template name="sectionHeading">
+<xsl:call-template name="choose-title"/>
+</gsf:template>
+-->
+<!--
+Overwriting this template can be used to change the content of the top-level section.
+-->
+<!--
+<gsf:template name="topLevelSectionContent">
+<xsl:call-template name="wrappedSectionImage"/>
+<xsl:call-template name="wrappedSectionText"/>
+</gsf:template>
+-->
+<!--
+Overwriting this template can be used to change the content of sections.
+-->
+<!--
+<gsf:template name="sectionContent">
+<xsl:call-template name="wrappedSectionImage"/>
+<xsl:call-template name="wrappedSectionText"/>
+</gsf:template>
+-->
+
+</format>
+	</display>
+	<replaceListRef id="gs2-standard"/>
+	<replaceListRef id="gs2-image"/>
+	<serviceRackList><!-- comment out the following serviceRack if you want to disable OAI for this collection -->
+		<serviceRack name="OAIPMH">
+			<ListMetadataFormats><!--What metadata sets to support is collection specific. To support other metadata schema, simply add a metadataFormat element here.
+					The support of unqualified Dublin Core metadata set is mandatory in the oai specification.
+				-->
+				<metadataFormat metadataPrefix="oai_dc">
+					<metadataPrefix>oai_dc</metadataPrefix>
+					<schema>http://www.openarchives.org/OAI/2.0/oai_dc.xsd</schema>
+					<metadataNamespace>http://www.openarchives.org/OAI/2.0/oai_dc/</metadataNamespace><!--<metadataElements>dc.Title,dc.Creator,dc.Subject,dc.Description,dc.Publisher,dc.Contributor,dc.Date,dc.Type,dc.Format,dc.Identifier,dc.Source,dc.Language,dc.Relation,dc.Coverage,dc.Rights</metadataElements>-->
+					<mappingList><!-- 
+							The mapping is in the form: <publicly supported metadata name>,<mapped metadata name>, short as <A>,<B> 
+							The first metadata name is medatory; if there is no mapped name followed, then the first name must be used by the records and
+							searchable in the database, otherwise it is the mapped name stored in the database. The number of mapping elements matches the
+							number of external metadata of the records. If only one name is present, the returned metadata will use this name plus the retrieved value;
+							if both <A>,<B> are present, the returned metadata will use <A>'s name plus <B>'s value retrieved from database.
+					
+							**Bear in mind: if this mapping list is not present, the standard dc. metadata names (15 in total) will be used to retrieve metadata in the database.
+					
+							**The only case when this mapping is not present is that: 1. this metadata format is oai_dc; 2. the metadata is also stored in the database by Dublin Core's names.
+						-->
+						<mapping>dc:title,Title</mapping><!-- This mapping example means that the dc.Title is requested and the value of the metadata Title, which is used in this repository, is returned as response. -->
+					</mappingList>
+				</metadataFormat>
+			</ListMetadataFormats>
+		</serviceRack>
+	</serviceRackList>
+</CollectionConfig>
Index: documentation/trunk/tutorial_sample_files/images/image3/etc/collectionConfig.xml
===================================================================
--- documentation/trunk/tutorial_sample_files/images/image3/etc/collectionConfig.xml	(revision 27793)
+++ documentation/trunk/tutorial_sample_files/images/image3/etc/collectionConfig.xml	(revision 27793)
@@ -0,0 +1,309 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<CollectionConfig xmlns:gsf="http://www.greenstone.org/greenstone3/schema/ConfigFormat" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+	<metadataList>
+		<metadata lang="en" name="creator"/>
+		<metadata lang="en" name="maintainer"/>
+		<metadata lang="en" name="public">true</metadata>
+	</metadataList>
+	<displayItemList>
+		<displayItem assigned="true" lang="en" name="description">&lt;p&gt;This is a basic image collection that contains no text and no
+explicit metadata. Several JPEG files are placed in the import directory prior to importing
+and building the collection, that's all.&lt;/p&gt;
+&lt;p&gt;The images in this collection have been produced by members of the Department of Computer Science, University of Waikato.
+The University of Waikato holds copyright. They may be distributed freely, without any restrictions.&lt;/p&gt;
+
+&lt;h3&gt;How the collection works&lt;/h3&gt;
+
+&lt;p&gt;&lt;a href="library/collection/imagee3/document/HASHe65e0fdf1b460cd4f85899"&gt;Here&lt;/a&gt; is a sample document in the collection.
+The &lt;a href="_httpcollection_/etc/collectionConfig.xml" target=collectionConfig.xml&gt; 
+configuration file&lt;/a&gt; specifies no indexes, so the search box is suppressed.&lt;/p&gt;
+
+&lt;p&gt;
+There is only one plugin, &lt;i&gt;ImagePlugin&lt;/i&gt;, aside from the four that are
+always presentâ&lt;i&gt;GreenstoneXMLPlugin&lt;/i&gt;, &lt;i&gt;MetadataXMLPlugin&lt;/i&gt;, &lt;i&gt;ArchivesInfPlugin&lt;/i&gt;, &lt;i&gt;DirectoryPlugin&lt;/i&gt;
+ (the latter three are only visible in the GLI if 'Expert' mode is selected).
+&lt;i&gt;ImagePlugin&lt;/i&gt; relies on the existence of two programs from the ImageMagick suite
+(&lt;a href="http://www.imagemagick.org"&gt;http://www.imagemagick.org&lt;/a&gt;): &lt;i&gt;convert&lt;/i&gt; and
+&lt;i&gt;identify&lt;/i&gt;. Greenstone will not be able to build the collection correctly unless
+ImageMagick is installed on your computer.&lt;/p&gt;
+
+&lt;p&gt; &lt;i&gt;ImagePlugin&lt;/i&gt; automatically creates a thumbnail and generates the following
+metadata for each image in the collection:&lt;/p&gt;
+
+&lt;table border=0 cellspacing=0&gt;
+&lt;tr&gt;&lt;td width=125 valign=top&gt;&lt;i&gt;Image&lt;/i&gt;&lt;/td&gt;&lt;td&gt;Name of file containing the image &lt;tr&gt;
+&lt;tr&gt;&lt;td valign=top&gt;&lt;i&gt;ImageWidth&lt;/i&gt;&lt;/td&gt;&lt;td&gt;Width of image (in pixels) &lt;tr&gt;
+&lt;tr&gt;&lt;td valign=top&gt;&lt;i&gt;ImageHeight&lt;/i&gt;&lt;/td&gt;&lt;td&gt;Height of image (in pixels) &lt;tr&gt;
+&lt;tr&gt;&lt;td valign=top&gt;&lt;i&gt;Thumb&lt;/i&gt;&lt;/td&gt;&lt;td&gt; Name of gif file containing thumbnail of image &lt;tr&gt;
+&lt;tr&gt;&lt;td valign=top&gt;&lt;i&gt;ThumbWidth&lt;/i&gt;&lt;/td&gt;&lt;td&gt;Width of thumbnail image (in pixels) &lt;tr&gt;
+&lt;tr&gt;&lt;td valign=top&gt;&lt;i&gt;ThumbHeight&lt;/i&gt;&lt;/td&gt;&lt;td&gt;Height of thumbnail image (in pixels) &lt;tr&gt;
+&lt;tr&gt;&lt;td valign=top&gt;&lt;i&gt;thumbicon&lt;/i&gt;&lt;/td&gt;&lt;td&gt;Full pathname specification of thumbnail image &lt;tr&gt;
+&lt;tr&gt;&lt;td valign=top&gt;&lt;i&gt;assocfilepath&lt;/i&gt;&lt;/td&gt;&lt;td&gt;Pathname of image directory in the collection's &lt;i&gt;assoc&lt;/i&gt; directory &lt;tr&gt;
+&lt;/table&gt;&lt;br/&gt;
+
+&lt;p&gt;
+The image is stored as an "associated file" in the &lt;i&gt;assoc&lt;/i&gt; subdirectory
+of the collection's &lt;i&gt;index&lt;/i&gt; directory. (&lt;i&gt;Index&lt;/i&gt; is where all files
+necessary to serve the collection are placed, to make it self-contained.) The
+pathname &amp;#095;&lt;i&gt;httpassocdir&lt;/i&gt;&amp;#095;, which is the same as
+&amp;#095;&lt;i&gt;httpcollection&lt;/i&gt;&amp;#095;&lt;i&gt;/index/assoc&lt;/i&gt;, refers to this directory. For any
+document, its thumbnail and image are both in a subdirectory whose filename is
+given by &lt;i&gt;assocfilepath&lt;/i&gt;. The metadata element &lt;i&gt;thumbicon&lt;/i&gt; is set to
+the full pathname specification of the thumbnail image, and can be used in the
+same way as &lt;i&gt;srcicon&lt;/i&gt; (see the MSWord and PDF demonstration collection).&lt;/p&gt;
+
+&lt;p&gt;
+The &lt;i&gt;&amp;lt;display&amp;gt;&lt;/i&gt; section in the
+&lt;a href="_httpcollection_/etc/collectionConfig.xml" target=collectionConfig.xml&gt;configuration file&lt;/a&gt;,
+dictates how the document will appear, and
+&lt;a href="library/collection/imagee3/document/HASH015484508b3a74f07194ade4"&gt;this&lt;/a&gt; is the
+result. There is no document text (if there were, it would be producible by
+&lt;i&gt;&amp;lt;xsl:call-template name="wrappedSectionText"/&amp;gt;&lt;/i&gt;). What is shown is the image itself (produced by 
+the &lt;i&gt;&amp;lt;xsl:call-template name="wrappedSectionImage"/&amp;gt;&lt;/i&gt;), along with some metadata extracted
+from it.&lt;/p&gt;
+
+&lt;p&gt;
+The configuration file
+specifies one classifier in the &lt;i&gt;&amp;lt;browse&amp;gt;&lt;/i&gt; section, a &lt;i&gt;List&lt;/i&gt; based on &lt;i&gt;Image&lt;/i&gt; metadata, shown
+&lt;a href="library/collection/imagee3/browse/CL1"&gt;here&lt;/a&gt;. The format statement shows the thumbnail image along with
+some metadata. (Any other classifiers would have the same format, since this
+statement does not name the classifier.) &lt;/p&gt;
+
+&lt;p&gt;
+You may wonder why the thumbnail image is generated and stored explicitly, when
+the same effect would be obtained by using the original image and scaling it. The reason is to save communication bandwidth by not sending large images when
+small ones would do.&lt;/p&gt;
+
+&lt;p&gt;For a more comprehensive image collection, see the
+&lt;a href="http://www.nzdl.org/cgi-bin/library?a=p&amp;p=about&amp;c=aircraft"&gt;kiwi aircraft images&lt;/a&gt;
+in the New Zealand Digital Library. The structure of this collection is
+quite different, however: it is a collection of web pages that include many
+images along with the text. The HTML plugin &lt;i&gt;HTMLPlugin&lt;/i&gt; also processes image
+files, but it does so in a different way from ImagePlugin (for example, it
+does not produce the metadata described above).&lt;/p&gt;</displayItem>
+		<displayItem assigned="true" lang="en" name="name">Simple image collection</displayItem>
+		<displayItem assigned="true" lang="en" name="document:text">text</displayItem>
+		<displayItem assigned="true" lang="en" name="document:ex.Title">Title</displayItem>
+		<displayItem assigned="true" lang="en" name="document:ex.Source">Source</displayItem>
+		<displayItem assigned="true" lang="en" name="text">text</displayItem>
+		<displayItem assigned="true" lang="en" name="dc.Title,ex.dc.Title,Title">titles</displayItem>
+		<displayItem assigned="true" lang="en" name="Source">filenames</displayItem>
+		<displayItem assigned="true" lang="en" name="document">document</displayItem>
+		<displayItem assigned="true" lang="en" name="section">section</displayItem>
+		<displayItem assigned="true" lang="en" name="shortDescription">imagee3</displayItem>
+	</displayItemList>
+	<format>
+			<gsf:template name="choose-title">
+				<gsf:choose-metadata>
+					<gsf:metadata name="dc.Title"/>
+					<gsf:metadata name="exp.Title"/>
+					<gsf:metadata name="ex.dc.Title"/>
+					<gsf:metadata name="Title"/>
+					<gsf:default>Untitled</gsf:default>
+				</gsf:choose-metadata>
+			</gsf:template>
+		</format>
+	<search type="mgpp">
+		<searchType name="plain"/>
+		<searchType name="simpleform"/>
+		<searchType name="advancedform"/>
+		<format>
+			<gsf:template match="documentNode">
+				<td valign="top">
+					<gsf:link type="document">
+						<gsf:icon type="document"/>
+					</gsf:link>
+				</td>
+				<td>
+					<gsf:link type="document">
+						<xsl:call-template name="choose-title"/>
+					</gsf:link>
+				</td>
+			</gsf:template>
+		</format>
+	</search>
+	<infodb type="gdbm"/>
+	<import>
+		<pluginList>
+			<plugin name="ImagePlugin"/>
+			<plugin name="GreenstoneXMLPlugin"/>
+			<plugin name="MetadataXMLPlugin"/>
+			<plugin name="ArchivesInfPlugin"/>
+			<plugin name="DirectoryPlugin"/>
+		</pluginList>
+	</import>
+	<browse>
+		<classifier name="List">
+			<option name="-metadata" value="Image"/>
+			<option name="-partition_type_within_level" value="approximate_size"/>
+			<option name="-buttonname" value="Browse"/>
+		</classifier>
+		<format>
+			<gsf:template match="documentNode">
+				<td valign="center">
+					<gsf:link type="document">
+						<gsf:choose-metadata>
+							<gsf:metadata name="thumbicon"/>
+							<gsf:metadata name="srcicon"/>
+						</gsf:choose-metadata>
+					</gsf:link>
+				</td>
+				<td style="padding-left:10px;" valign="center">
+					<table>
+						<tr>
+							<td style="padding-right:10px;" valign="top">
+								<b>Image Name:</b>
+							</td>
+							<td>
+								<gsf:metadata name="Image"/>
+							</td>
+						</tr>
+						<tr>
+							<td>
+								<b>Width:</b>
+							</td>
+							<td>
+								<gsf:metadata name="ImageWidth"/>
+							</td>
+						</tr>
+						<tr>
+							<td>
+								<b>Height:</b>
+							</td>
+							<td>
+								<gsf:metadata name="ImageHeight"/>
+							</td>
+						</tr>
+						<tr>
+							<td>
+								<b>Size:</b>
+							</td>
+							<td>
+								<gsf:metadata name="ImageSize"/>
+							</td>
+						</tr>
+					</table>
+				</td>
+			</gsf:template>
+			<gsf:template match="classifierNode[@classifierStyle = 'VList']">
+				<td valign="top">
+					<gsf:link type="classifier">
+						<gsf:icon type="classifier"/>
+					</gsf:link>
+				</td>
+				<td valign="top">
+					<gsf:metadata name="Title"/>
+				</td>
+			</gsf:template>
+			<gsf:template match="classifierNode[@classifierStyle = 'HList']">
+				<gsf:link type="classifier">
+					<gsf:metadata name="Title"/>
+				</gsf:link>
+			</gsf:template>
+		</format>
+	</browse>
+	<display>
+		<format>
+			<gsf:option name="TOC" value="true"/>
+<!--
+Overwriting this template allows you to change the heading of the document.
+-->
+			<gsf:template name="documentHeading"/>
+<!--
+Overwriting this template can be used to redefine the content of the whole document. This is useful for simple documents, but not recommended for more complex documents (e.g. hierachical and paged documents) as it can prevent any sub-sections from showing.
+-->
+			<gsf:template name="documentContent">
+				<xsl:call-template name="wrappedSectionImage"/>
+				<xsl:call-template name="wrappedSectionText"/>
+				<table>
+					<tr>
+						<td style="padding-right:10px;" valign="top">
+							<b>Image Name:</b>
+						</td>
+						<td>
+							<gsf:metadata name="Image"/>
+						</td>
+					</tr>
+					<tr>
+						<td>
+							<b>Width:</b>
+						</td>
+						<td>
+							<gsf:metadata name="ImageWidth"/>
+						</td>
+					</tr>
+					<tr>
+						<td>
+							<b>Height:</b>
+						</td>
+						<td>
+							<gsf:metadata name="ImageHeight"/>
+						</td>
+					</tr>
+					<tr>
+						<td>
+							<b>Size:</b>
+						</td>
+						<td>
+							<gsf:metadata name="ImageSize"/>
+						</td>
+					</tr>
+				</table>
+			</gsf:template>
+<!--
+Overwriting this template can be used to change the content of section headings.
+-->
+<!--
+<gsf:template name="sectionHeading">
+<xsl:call-template name="choose-title"/>
+</gsf:template>
+-->
+<!--
+Overwriting this template can be used to change the content of the top-level section.
+-->
+<!--
+<gsf:template name="topLevelSectionContent">
+<xsl:call-template name="wrappedSectionImage"/>
+<xsl:call-template name="wrappedSectionText"/>
+</gsf:template>
+-->
+<!--
+Overwriting this template can be used to change the content of sections.
+-->
+<!--
+<gsf:template name="sectionContent">
+<xsl:call-template name="wrappedSectionImage"/>
+<xsl:call-template name="wrappedSectionText"/>
+</gsf:template>
+-->
+		</format>
+	</display>
+	<replaceListRef id="gs2-standard"/>
+	<replaceListRef id="gs2-image"/>
+	<serviceRackList><!-- comment out the following serviceRack if you want to disable OAI for this collection -->
+		<serviceRack name="OAIPMH">
+			<ListMetadataFormats><!--What metadata sets to support is collection specific. To support other metadata schema, simply add a metadataFormat element here.
+					The support of unqualified Dublin Core metadata set is mandatory in the oai specification.
+				-->
+				<metadataFormat metadataPrefix="oai_dc">
+					<metadataPrefix>oai_dc</metadataPrefix>
+					<schema>http://www.openarchives.org/OAI/2.0/oai_dc.xsd</schema>
+					<metadataNamespace>http://www.openarchives.org/OAI/2.0/oai_dc/</metadataNamespace><!--<metadataElements>dc.Title,dc.Creator,dc.Subject,dc.Description,dc.Publisher,dc.Contributor,dc.Date,dc.Type,dc.Format,dc.Identifier,dc.Source,dc.Language,dc.Relation,dc.Coverage,dc.Rights</metadataElements>-->
+					<mappingList><!-- 
+							The mapping is in the form: <publicly supported metadata name>,<mapped metadata name>, short as <A>,<B> 
+							The first metadata name is medatory; if there is no mapped name followed, then the first name must be used by the records and
+							searchable in the database, otherwise it is the mapped name stored in the database. The number of mapping elements matches the
+							number of external metadata of the records. If only one name is present, the returned metadata will use this name plus the retrieved value;
+							if both <A>,<B> are present, the returned metadata will use <A>'s name plus <B>'s value retrieved from database.
+					
+							**Bear in mind: if this mapping list is not present, the standard dc. metadata names (15 in total) will be used to retrieve metadata in the database.
+					
+							**The only case when this mapping is not present is that: 1. this metadata format is oai_dc; 2. the metadata is also stored in the database by Dublin Core's names.
+						-->
+						<mapping>dc:title,Title</mapping><!-- This mapping example means that the dc.Title is requested and the value of the metadata Title, which is used in this repository, is returned as response. -->
+					</mappingList>
+				</metadataFormat>
+			</ListMetadataFormats>
+		</serviceRack>
+	</serviceRackList>
+</CollectionConfig>
Index: documentation/trunk/tutorial_sample_files/images/image3/gli.col
===================================================================
--- documentation/trunk/tutorial_sample_files/images/image3/gli.col	(revision 27793)
+++ documentation/trunk/tutorial_sample_files/images/image3/gli.col	(revision 27793)
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE GathererCollection [
+  <!ELEMENT GathererCollection (Argument*, GathererConfig, BuildConfig)>
+  <!ELEMENT GathererConfig    (Arguments*)>
+  <!ELEMENT BuildConfig       (Build, Import)>
+  <!ELEMENT Build             (Arguments*)>
+  <!ELEMENT Import            (Arguments*)>
+  <!ELEMENT Schedule 	      (Arguments*)> 
+  <!ELEMENT Argument          (#PCDATA)>
+  <!ATTLIST Argument
+            name              CDATA #REQUIRED
+				enabled           CDATA "true">
+]>
+<GathererCollection>
+	<Argument name="built">false</Argument>
+	<Argument name="imported">true</Argument>
+	<Argument name="skimfile">true</Argument>
+	<GathererConfig/>
+	<BuildConfig>
+		<Build>
+			<Argument enabled="false" name="sections_index_document_metadata">never</Argument>
+		</Build>
+		<Import>
+			<Argument enabled="false" name="maxdocs">1</Argument>
+			<Argument enabled="false" name="OIDtype">hash</Argument>
+			<Argument enabled="false" name="OIDmetadata"/>
+			<Argument enabled="false" name="sortmeta"/>
+			<Argument enabled="false" name="groupsize">1</Argument>
+		</Import>
+		<Schedule/>
+	</BuildConfig>
+</GathererCollection>
Index: documentation/trunk/tutorial_sample_files/images/image3/gli.lck
===================================================================
--- documentation/trunk/tutorial_sample_files/images/image3/gli.lck	(revision 27793)
+++ documentation/trunk/tutorial_sample_files/images/image3/gli.lck	(revision 27793)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<LockFile>
+	<User>jwhisler</User>
+	<Machine>KAURI</Machine>
+	<Date>Wednesday July 10 2013 11:23:37</Date>
+</LockFile>
Index: documentation/trunk/tutorial_sample_files/images/image3/import/metadata.xml
===================================================================
--- documentation/trunk/tutorial_sample_files/images/image3/import/metadata.xml	(revision 27793)
+++ documentation/trunk/tutorial_sample_files/images/image3/import/metadata.xml	(revision 27793)
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE DirectoryMetadata SYSTEM "http://greenstone.org/dtd/DirectoryMetadata/1.0/DirectoryMetadata.dtd">
+<DirectoryMetadata>
+
+    <!-- 
+	 Two examples of the syntax to use to attach metadata to files in a
+         given directory within the 'import' area.
+
+         Copy this file to the folder where the files or interest are, and
+	 then uncomment (or copy and paste) the <FileSet> block and
+	 edit to suit the file name(s) and metadata values required
+    -->
+
+
+    <!-- 
+	 Example 1:
+	   Attached dc.Title and dc.Subject (x 2) to a single, named file
+    -->
+
+<!--
+    <FileSet>
+        <FileName>sample-file1\.txt</FileName>
+        <Description>
+            <Metadata name="dc.Title">Sample Title</Metadata>
+            <Metadata name="dc.Subject">Subject A</Metadata>
+            <Metadata mode="accumulate" name="dc.Subject">Subject B</Metadata>
+        </Description>
+    </FileSet>
+-->
+
+    <!-- 
+	 Example 2:
+	   Attached dc.Subject to all files in this folder that match the given
+	   regular expression 
+    -->
+
+<!--
+    <FileSet>
+        <FileName>.*</FileName>
+        <Description>
+            <Metadata mode="accumulate" name="dc.Subject">Subject X</Metadata>
+        </Description>
+    </FileSet>
+-->
+
+</DirectoryMetadata>
Index: documentation/trunk/tutorial_sample_files/images/image3/index/buildConfig.xml
===================================================================
--- documentation/trunk/tutorial_sample_files/images/image3/index/buildConfig.xml	(revision 27793)
+++ documentation/trunk/tutorial_sample_files/images/image3/index/buildConfig.xml	(revision 27793)
@@ -0,0 +1,23 @@
+<buildConfig xmlns:gsf="http://www.greenstone.org/greenstone3/schema/ConfigFormat">
+<metadataList>
+<metadata name="numDocs">9</metadata>
+<metadata name="buildType">mgpp</metadata>
+<metadata name="indexStem">imagee3</metadata>
+<metadata name="infodbType">gdbm</metadata>
+<metadata name="earliestdatestamp">1373311874</metadata>
+</metadataList>
+<serviceRackList>
+<serviceRack name="GS2MGPPRetrieve">
+<indexStem name="imagee3" />
+<defaultLevel shortname="Sec" />
+<databaseType name="gdbm" />
+</serviceRack>
+<serviceRack name="GS2Browse">
+<indexStem name="imagee3" />
+<databaseType name="gdbm" />
+<classifierList>
+<classifier name="CL1" content="Browse" />
+</classifierList>
+</serviceRack>
+</serviceRackList>
+</buildConfig>
Index: documentation/trunk/tutorial_sample_files/images/image3/log/build_log.1373412222981.txt
===================================================================
--- documentation/trunk/tutorial_sample_files/images/image3/log/build_log.1373412222981.txt	(revision 27793)
+++ documentation/trunk/tutorial_sample_files/images/image3/log/build_log.1373412222981.txt	(revision 27793)
@@ -0,0 +1,7 @@
+c
+************** Import  Started **************
+The file metadata.xml is being processed by MetadataXMLPlugin.
+The file DSCF0001.jpg is being processed by ImagePlugin.
+The file DSCF0003.jpg is being processed by ImagePlugin.
+The file DSCF0004.jpg is being processed by ImagePlugin.
+**************   Cancelled    **************
Index: documentation/trunk/tutorial_sample_files/images/image3/metadata/ex.mds
===================================================================
--- documentation/trunk/tutorial_sample_files/images/image3/metadata/ex.mds	(revision 27793)
+++ documentation/trunk/tutorial_sample_files/images/image3/metadata/ex.mds	(revision 27793)
@@ -0,0 +1,496 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE MetadataSet SYSTEM "http://www.greenstone.org/dtd/MetadataSet/1.0/MetadataSet.dtd">
+<MetadataSet contact="nzdl.org" creator="New Zealand Digital Libraries Project: Greenstone" family="Extracted Greenstone" lastchanged="Tue Sep 05 14:40:36 NZST 2006 - kjdon on kanuka" namespace="ex">
+    <SetLanguage code="en">
+        <Name>Extracted Greenstone Metadata 1.1</Name>
+        <Description>This document is the reference description, version 1.1 of the automatically extracted Greenstone Metadata Element Set. Most of the possible extracted metadata elements have been added.</Description>
+    </SetLanguage>
+    <SetLanguage code="vi">
+        <Name>Bá» siÃªu dá»¯ liá»u Greenstone</Name>
+        <Description>MÃŽ táº£ vá» bá» siÃªu dá»¯ liá»u Greenstone phiÃªn báº£n 1.1 cho yáº¿u tá» siÃªu dá»¯ liá»u Greenstone ÄÆ°á»£c triáº¿t rÃºt tá»± Äá»ng</Description>
+    </SetLanguage>
+    <SetLanguage code="ar">
+    	<Name language="ar">ÙØ§ØµÙØ§Øª ØšÙØ§ÙØ§Øª Greenstone Ø§ÙÙ
+Ø³ØªØ®Ø±Ø¬Ø© 1.0</Name>
+    	<Description language="ar">ÙØ§ØµÙØ§Øª ØšÙØ§ÙØ§Øª ÙØ±ÙÙØ³ØªÙÙ</Description>
+       </SetLanguage>
+
+    <Element name="Title">
+        <Language code="en">
+            <Attribute name="comment">Not always available.</Attribute>
+            <Attribute name="definition">The title of the imported document as extracted by Greenstone.</Attribute>
+            <Attribute name="label">Title</Attribute>
+        </Language>
+        <Language code="vi">
+            <Attribute name="label">Nhan Äá»</Attribute>
+            <Attribute name="definition">Nhan Äá» cá»§a tÃ i liá»u nháº­p kháº©u vÃ o Há» thá»ng vÃ  ÄÆ°á»£c Greenstone triáº¿t rÃºt tá»± Äá»ng</Attribute>
+            <Attribute name="comment">KhÃŽng pháº£i lÃºc nÃ o cÅ©ng sáºµn cÃ³</Attribute>
+        </Language>
+        <Language code="ar">
+             <Attribute name="label">Ø§ÙØ¹ÙÙØ§Ù</Attribute>
+             <Attribute name="definition">Ø§ÙØ¹ÙÙØ§Ù</Attribute>
+              <Attribute name="comment">ØºÙØ± Ù
+ØªÙÙØ± Ø¯Ø§ØŠÙ
+Ø§.</Attribute>
+        </Language>
+
+    </Element>
+    <Element name="Encoding">
+        <Language code="en">
+            <Attribute name="comment">Not always available.</Attribute>
+            <Attribute name="definition">The encoding of the imported document as extracted by Greenstone.</Attribute>
+            <Attribute name="label">Encoding</Attribute>
+        </Language>
+        <Language code="vi">
+            <Attribute name="label">Bá» mÃ£ kÃœ tá»±</Attribute>
+            <Attribute name="definition">ThÃŽng tin bá» mÃ£ kÃœ tá»± cá»§a tÃ i liá»u ÄÆ°á»£c nháº­p kháº©u mÃ  Greenstone tá»± Äá»ng triáº¿t rut ÄÆ°á»£c</Attribute>
+            <Attribute name="comment">KhÃŽng pháº£i lÃºc nÃ o cÅ©ng cÃ³ sáºµn</Attribute>
+        </Language>
+        <Language code="ar">
+            <Attribute name="label">Ø§ÙØªØŽÙÙØ±</Attribute>
+            <Attribute name="definition">Ø§ÙØªØŽÙÙØ±</Attribute>
+            <Attribute name="comment">ØºÙØ± Ù
+ØªÙÙØ± Ø¯Ø§ØŠÙ
+Ø§.</Attribute>
+    </Language>
+
+    </Element>
+    <Element name="Language">
+        <Language code="en">
+            <Attribute name="comment">Not always available.</Attribute>
+            <Attribute name="definition">The language of the imported document as extracted by Greenstone.</Attribute>
+            <Attribute name="label">Language</Attribute>
+        </Language>
+        <Language code="vi">
+            <Attribute name="label">NgÃŽn ngá»¯</Attribute>
+            <Attribute name="definition">TÃªn ngÃŽn ngá»¯ cá»§a tÃ i liá»u mÃ  Greenstone tá»± Äá»ng triáº¿t rÃºt ÄÆ°á»£c.</Attribute>
+            <Attribute name="comment">KhÃŽng pháº£i lÃºc nÃ o cÅ©ng cÃ³ sáºµn</Attribute>
+        </Language>
+        <Language code="ar">
+            <Attribute name="label">Ø§ÙÙØºØ©</Attribute>
+            <Attribute name="definition">Ø§ÙÙØºØ©</Attribute>
+            <Attribute name="comment">ØºÙØ± Ù
+ØªÙÙØ± Ø¯Ø§ØŠÙ
+Ø§.</Attribute>
+        </Language>
+
+    </Element>
+    <Element name="Source">
+        <Language code="en">
+            <Attribute name="comment"/>
+            <Attribute name="definition">The filename of the document imported by Greenstone, suitable for display.</Attribute>
+            <Attribute name="label">Source</Attribute>
+        </Language>
+        <Language code="vi">
+            <Attribute name="label">TÃªn tá»p tin</Attribute>
+            <Attribute name="definition">TÃªn tá»p tin cá»§Ã¢tÃ¬ liá»u ÄÆ°á»£c Greenstone nháº­p kháº©u vÃ o há» thá»ng.</Attribute>
+            <Attribute name="comment">áºšn Äá»i vá»i GLI bá»i ÄÃ£ ÄÆ°á»£c hiá»n thá» trong cÃ¢y thÆ° má»¥c</Attribute>
+        </Language>
+        <Language code="ar">
+            <Attribute name="label">Ø§Ø³Ù
+Ø§Ø¡ Ø§ÙÙ
+ÙÙØ§Øª</Attribute>
+            <Attribute name="definition"></Attribute>
+            <Attribute name="comment">ØºÙØ± Ù
+ØªÙÙØ± Ø¯Ø§ØŠÙ
+Ø§.</Attribute>
+        </Language>
+
+    </Element>
+    <Element name="SourceFile">
+        <Language code="en">
+            <Attribute name="label">SourceFile</Attribute>
+            <Attribute name="definition">The file the metadata has been extracted from</Attribute>
+            <Attribute name="comment"/>
+        </Language>
+    </Element>
+    <Element name="FileSize">
+        <Language code="en">
+            <Attribute name="label">FileSize</Attribute>
+            <Attribute name="definition">The size of the source file in bytes</Attribute>
+            <Attribute name="comment"/>
+        </Language>
+    </Element>
+    <Element name="FileFormat">
+        <Language code="en">
+            <Attribute name="label">FileFormat</Attribute>
+            <Attribute name="definition">The format of the source file</Attribute>
+            <Attribute name="comment"/>
+        </Language>
+    </Element>
+    <Element name="MimeType">
+        <Language code="en">
+            <Attribute name="label">MimeType</Attribute>
+            <Attribute name="definition">The MIME type of the source file</Attribute>
+            <Attribute name="comment"/>
+        </Language>
+    </Element>
+    <Element name="Identifier">
+        <Language code="en">
+            <Attribute name="label">Identifier</Attribute>
+            <Attribute name="definition">Identifier assigned by Greenstone</Attribute>
+            <Attribute name="comment"/>
+        </Language>
+        <Language code="ab">
+            <Attribute name="label"/>
+            <Attribute name="definition"/>
+            <Attribute name="comment"/>
+        </Language>
+    </Element>
+    <Element name="Plugin">
+        <Language code="en">
+            <Attribute name="label">Plugin</Attribute>
+            <Attribute name="definition">The Greenstone plugin used to extract metadata</Attribute>
+            <Attribute name="comment"/>
+        </Language>
+    </Element>
+    <Element name="URL">
+        <Language code="en">
+            <Attribute name="label">URL</Attribute>
+            <Attribute name="definition">The URL the source file was retrieved from</Attribute>
+            <Attribute name="comment"/>
+        </Language>
+    </Element>
+    <Element name="assocfilepath">
+        <Language code="en">
+            <Attribute name="label">assocfilepath</Attribute>
+            <Attribute name="definition">The filepath of any associated files</Attribute>
+            <Attribute name="comment"/>
+        </Language>
+    </Element>
+    <Element name="lastmodified">
+        <Language code="en">
+            <Attribute name="label">lastmodified</Attribute>
+            <Attribute name="definition">The date of the last modification of the source file</Attribute>
+            <Attribute name="comment"/>
+        </Language>
+    </Element>
+    <Element name="hascover">
+        <Language code="en">
+            <Attribute name="label">hascover</Attribute>
+            <Attribute name="definition">Whether or not a cover has been defined for the source file</Attribute>
+            <Attribute name="comment"/>
+        </Language>
+    </Element>
+    <Element name="NoText">
+        <Language code="en">
+            <Attribute name="label">NoText</Attribute>
+            <Attribute name="definition">True if the source file has no text</Attribute>
+            <Attribute name="comment"/>
+        </Language>
+    </Element>
+    <Element name="Date">
+        <Language code="en">
+            <Attribute name="label">Date</Attribute>
+            <Attribute name="definition">The date of the source file</Attribute>
+            <Attribute name="comment"/>
+        </Language>
+    </Element>
+    <Element name="Image">
+        <Language code="en">
+            <Attribute name="label">Image</Attribute>
+            <Attribute name="definition">Image</Attribute>
+            <Attribute name="comment"/>
+        </Language>
+    </Element>
+    <Element name="ImageType">
+        <Language code="en">
+            <Attribute name="label">ImageType</Attribute>
+            <Attribute name="definition">The type of the image</Attribute>
+            <Attribute name="comment"/>
+        </Language>
+    </Element>
+    <Element name="ImageSize">
+        <Language code="en">
+            <Attribute name="label">ImageSize</Attribute>
+            <Attribute name="definition">The size of the image in bytes</Attribute>
+            <Attribute name="comment"/>
+        </Language>
+    </Element>
+    <Element name="ImageHeight">
+        <Language code="en">
+            <Attribute name="label">ImageHeight</Attribute>
+            <Attribute name="definition">The height of the image in pixels</Attribute>
+            <Attribute name="comment"/>
+        </Language>
+    </Element>
+    <Element name="ImageWidth">
+        <Language code="en">
+            <Attribute name="label">ImageWidth</Attribute>
+            <Attribute name="definition">The width of the image in pixels</Attribute>
+            <Attribute name="comment"/>
+        </Language>
+    </Element>
+    <Element name="Thumb">
+        <Language code="en">
+            <Attribute name="label">Thumb</Attribute>
+            <Attribute name="definition">Thumbnail image</Attribute>
+            <Attribute name="comment"/>
+        </Language>
+    </Element>
+    <Element name="ThumbType">
+        <Language code="en">
+            <Attribute name="label">ThumbType</Attribute>
+            <Attribute name="definition">The file type of the thumbnail image</Attribute>
+            <Attribute name="comment"/>
+        </Language>
+    </Element>
+    <Element name="ThumbWidth">
+        <Language code="en">
+            <Attribute name="label">ThumbWidth</Attribute>
+            <Attribute name="definition">The width of the thumbnail image in pixels</Attribute>
+            <Attribute name="comment"/>
+        </Language>
+    </Element>
+    <Element name="ThumbHeight">
+        <Language code="en">
+            <Attribute name="label">ThumbHeight</Attribute>
+            <Attribute name="definition">The height of the thumbnail image in pixels</Attribute>
+            <Attribute name="comment"/>
+        </Language>
+    </Element>
+    <Element name="Screen">
+        <Language code="en">
+            <Attribute name="label">Screen</Attribute>
+            <Attribute name="definition">Screen</Attribute>
+            <Attribute name="comment"/>
+        </Language>
+    </Element>
+    <Element name="ScreenType">
+        <Language code="en">
+            <Attribute name="label">ScreenType</Attribute>
+            <Attribute name="definition">The type of the screen</Attribute>
+            <Attribute name="comment"/>
+        </Language>
+    </Element>
+    <Element name="ScreenWidth">
+        <Language code="en">
+            <Attribute name="label">ScreenWidth</Attribute>
+            <Attribute name="definition">The width of the screen in pixels</Attribute>
+            <Attribute name="comment"/>
+        </Language>
+    </Element>
+    <Element name="ScreenHeight">
+        <Language code="en">
+            <Attribute name="label">ScreenHeight</Attribute>
+            <Attribute name="definition">The height of the screen in pixels</Attribute>
+            <Attribute name="comment"/>
+        </Language>
+    </Element>
+    <Element name="SourceSegment">
+        <Language code="en">
+            <Attribute name="label">SourceSegment</Attribute>
+            <Attribute name="definition">Source segment</Attribute>
+            <Attribute name="comment"/>
+        </Language>
+    </Element>
+    <Element name="NumPages">
+        <Language code="en">
+            <Attribute name="label">NumPages</Attribute>
+            <Attribute name="definition">Number of pages</Attribute>
+            <Attribute name="comment"/>
+        </Language>
+    </Element>
+    <Element name="HTMLDisplay">
+        <Language code="en">
+            <Attribute name="label">HTMLDisplay</Attribute>
+            <Attribute name="definition">from procite plugin</Attribute>
+            <Attribute name="comment"/>
+        </Language>
+    </Element>
+    <Element name="RecordNumber">
+        <Language code="en">
+            <Attribute name="label">RecordNumber</Attribute>
+            <Attribute name="definition">from procite plugin</Attribute>
+            <Attribute name="comment"/>
+        </Language>
+    </Element>
+    <Element name="Workform">
+        <Language code="en">
+            <Attribute name="label">Workform</Attribute>
+            <Attribute name="definition">from procite plugin</Attribute>
+            <Attribute name="comment"/>
+        </Language>
+    </Element>
+    <Element name="Pages">
+        <Language code="en">
+            <Attribute name="label">Pages</Attribute>
+            <Attribute name="definition">Pages</Attribute>
+            <Attribute name="comment"/>
+        </Language>
+    </Element>
+    <Element name="PageNum">
+        <Language code="en">
+            <Attribute name="label">PageNum</Attribute>
+            <Attribute name="definition">Number of pages</Attribute>
+            <Attribute name="comment"/>
+        </Language>
+    </Element>
+    <Element name="GENERATOR">
+        <Language code="en">
+            <Attribute name="label">GENERATOR</Attribute>
+            <Attribute name="definition">GENERATOR</Attribute>
+            <Attribute name="comment"/>
+        </Language>
+    </Element>
+    <Element name="ISISRawRecord">
+        <Language code="en">
+            <Attribute name="label">ISISRawRecord</Attribute>
+            <Attribute name="definition">ISISRawRecord</Attribute>
+            <Attribute name="comment"/>
+        </Language>
+    </Element>
+    <Element name="Creator">
+        <Language code="en">
+            <Attribute name="label">Creator</Attribute>
+            <Attribute name="definition">The Creator of a record, as extracted by Latex, Bibtex, and Refer plugins. Contains a concatenated set of all Authors.</Attribute>
+            <Attribute name="comment">Not always available.</Attribute>
+        </Language>
+    </Element>
+    <Element name="Author">
+        <Language code="en">
+            <Attribute name="label">Author</Attribute>
+            <Attribute name="definition">The Author of a record, as extracted byLatex, Bibtex, and Refer plugins. Each Author specified individually.</Attribute>
+            <Attribute name="comment">Not always available.</Attribute>
+        </Language>
+        <Language code="ar">
+            <Attribute name="label">Ø§ÙÙ
+Ø€ÙÙ ØŽØ®Øµ</Attribute>
+            <Attribute name="definition">Ø§ÙÙ
+Ø€ÙÙ ØŽØ®Øµ</Attribute>
+            <Attribute name="comment">ØºÙØ± Ù
+ØªÙÙØ± Ø¯Ø§ØŠÙ
+Ø§.</Attribute>
+        </Language>
+    </Element>
+    <Element name="Placename">
+        <Language code="en">
+            <Attribute name="label">Placename</Attribute>
+            <Attribute name="definition">from gis plugin</Attribute>
+            <Attribute name="comment"/>
+        </Language>
+    </Element>
+    <Element name="Headers">
+        <Language code="en">
+            <Attribute name="label">Headers</Attribute>
+            <Attribute name="definition">from email plugin</Attribute>
+            <Attribute name="comment"/>
+        </Language>
+    </Element>
+    <Element name="InReplyTo">
+        <Language code="en">
+            <Attribute name="label">InReplyTo</Attribute>
+            <Attribute name="definition">from email plugin</Attribute>
+            <Attribute name="comment"/>
+        </Language>
+    </Element>
+    <Element name="FromName">
+        <Language code="en">
+            <Attribute name="label">FromName</Attribute>
+            <Attribute name="definition">from email plugin</Attribute>
+            <Attribute name="comment"/>
+        </Language>
+    </Element>
+    <Element name="FromAddr">
+        <Language code="en">
+            <Attribute name="label">FromAddr</Attribute>
+            <Attribute name="definition">from email plugin</Attribute>
+            <Attribute name="comment"/>
+        </Language>
+    </Element>
+    <Element name="EmailAddress">
+        <Language code="en">
+            <Attribute name="label">EmailAddress</Attribute>
+            <Attribute name="definition">Email address</Attribute>
+            <Attribute name="comment"/>
+        </Language>
+    </Element>
+    <Element name="EntryType">
+        <Language code="en">
+            <Attribute name="label">EntryType</Attribute>
+            <Attribute name="definition">from bibtex plugin</Attribute>
+            <Attribute name="comment"/>
+        </Language>
+    </Element>
+    <Element name="Keyword">
+        <Language code="en">
+            <Attribute name="label">Keyword</Attribute>
+            <Attribute name="definition">Keywords for a record, as extracted by Bibtex and Refer plugins.</Attribute>
+            <Attribute name="comment">Not always available.</Attribute>
+        </Language>
+        <Language code="ar">
+            <Attribute name="label">Ø§ÙÙÙÙ
+Ø§Øª Ø§ÙÙ
+ÙØªØ§Ø­ÙØ©</Attribute>
+            <Attribute name="definition">Ø§ÙÙÙÙ
+Ø§Øª Ø§ÙÙ
+ÙØªØ§Ø­ÙØ©</Attribute>
+            <Attribute name="comment">ØºÙØ± Ù
+ØªÙÙØ± Ø¯Ø§ØŠÙ
+Ø§.</Attribute>
+        </Language>
+    </Element>
+    <Element name="BookConfOnly">
+        <Language code="en">
+            <Attribute name="label">BookConfOnly</Attribute>
+            <Attribute name="definition">from bibtex, refer plugin</Attribute>
+            <Attribute name="comment"/>
+        </Language>
+    </Element>
+    <Element name="JournalsOnly">
+        <Language code="en">
+            <Attribute name="label">JournalsOnly</Attribute>
+            <Attribute name="definition">from bibtex, refer plugin</Attribute>
+            <Attribute name="comment"/>
+        </Language>
+    </Element>
+    <Element name="equivlink">
+        <Language code="en">
+            <Attribute name="label">equivlink</Attribute>
+            <Attribute name="definition">equivlink</Attribute>
+            <Attribute name="comment"/>
+        </Language>
+    </Element>
+    <Element name="Acronym">
+        <Language code="en">
+            <Attribute name="label">Acronym</Attribute>
+            <Attribute name="definition">Acronym</Attribute>
+            <Attribute name="comment"/>
+        </Language>
+    </Element>
+    <Element name="mp3applet">
+        <Language code="en">
+            <Attribute name="label">mp3applet</Attribute>
+            <Attribute name="definition">from mp3 plugin</Attribute>
+            <Attribute name="comment"/>
+        </Language>
+    </Element>
+    <Element name="giquery">
+        <Language code="en">
+            <Attribute name="label">giquery</Attribute>
+            <Attribute name="definition">from mp3 plugin</Attribute>
+            <Attribute name="comment"/>
+        </Language>
+    </Element>
+    <Element name="srcurl">
+        <Language code="en">
+            <Attribute name="label">srcurl</Attribute>
+            <Attribute name="definition">from mp3 plugin</Attribute>
+            <Attribute name="comment"/>
+        </Language>
+    </Element>
+    <Element name="Keyphrase">
+        <Language code="en">
+            <Attribute name="label">Keyphrase</Attribute>
+            <Attribute name="definition">Keyphrase</Attribute>
+            <Attribute name="comment"/>
+        </Language>
+    </Element>
+    <Element name="Keyphrases">
+        <Language code="en">
+            <Attribute name="label">Keyphrases</Attribute>
+            <Attribute name="definition">Keyphrases</Attribute>
+            <Attribute name="comment"/>
+        </Language>
+    </Element>
+</MetadataSet>
Index: documentation/trunk/tutorial_sample_files/images/image3/metadata/profile.xml
===================================================================
--- documentation/trunk/tutorial_sample_files/images/image3/metadata/profile.xml	(revision 27793)
+++ documentation/trunk/tutorial_sample_files/images/image3/metadata/profile.xml	(revision 27793)
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE Profiles [
+<!ELEMENT Profiles (Action*)>
+<!ELEMENT Action (#PCDATA)>
+<!ATTLIST Action
+                source     CDATA #REQUIRED
+                target     CDATA "">
+]>
+<Profiles/>
