source: documented-examples/trunk/manifest-demo-e/resources/collectionConfig.properties@ 36547

Last change on this file since 36547 was 36547, checked in by anupama, 20 months ago

See previous commit, as it's related. Taking out windows newlines again.

File size: 3.2 KB
Line 
1name=manifest-demo-e
2dls.Organization=Organizations
3text=Text
4section=Chapter
5document=Book
6dls.Titles=Titles
7dls.Keyword=How to
8dls.Subject=Subjects
9
10textdate=publication date\:
11textnumpages=no. of pages\:
12textsource=source ref\:
13
14shortDescription=<p>This demonstration collection contains the same material as the original Greenstone demo collection. In addition it has some predefined manifest files, to show off their use with incremental building.</p>
15
16description=<h3>Features of this collection</h3> \n\
17<ul> \n\
18<li>Uses <tt>lucene</tt> to do incremental build.</li> \n\
19<li>Uses OIDtype <tt>dirname</tt> to make it easy to specify document ids for deletion.</li> \n\
20<li><tt>import</tt> folder and import.extra folder with additional material.</li> \n\
21<li><tt>manifests</tt> folder contains the manifest files.</li> \n\
22<li>Index, Reindex, Delete.</li> \n\
23<li>Filename/OID uses command line building.</li> \n\
24</ul> \n\
25
26
27description0=<h3>Instructions</h3><br /><p>0. Run setup/source setup.bash in top level before starting.</p><br />
28
29description1=<p>1. Build the collection initially\:<br /> \n\
30<pre>perl -S import.pl -site localsite documented-examples/manifest-demo-e \n\
31perl -S buildcol.pl -site localsite -activate documented-examples/manifest-demo-e</pre> \n\
32<i>Note\:</i> If you forget to pass in the <tt>-activate</tt> flag to the <tt>buildcol</tt> command, use a file explorer to go into your Greenstone 3 installations\'s <tt>web/sites/localsite/collect/documented-examples/manifest-demo-e</tt> folder, and rename the <tt>building</tt> subfolder there to <tt>index</tt>.)<br /> \n\
33<br /> \n\
34Preview the collection. Contains 8 documents, 5 from BOSTID and 3 from EC Courier.</p><br />
35
36description2=<p>2. Add some new documents into the collection.<br /> \n\
37<br /> \n\
38Copy the three folders fb33fe fb34fe wb34te from import.extra into import. \n\
39<br /> \n\
40<pre>perl -S incremental-import.pl -site localsite -manifest manifests/add-new-files.xml documented-examples/manifest-demo-e \n\
41perl -S incremental-buildcol.pl -site localsite -activate documented-examples/manifest-demo-e</pre> \n\
42 \n\
43Now there should be FAO Better Farming Documents, and one World Bank document.</p><br />
44
45description3=<p>3. Delete some documents from the collection.<br /> \n\
46<pre>perl -S incremental-import.pl -site localsite -manifest manifests/delete-some-files.xml documented-examples/manifest-demo-e \n\
47perl -S incremental-buildcol.pl -site localsite -activate documented-examples/manifest-demo-e</pre> \n\
48 \n\
49Note that we haven\'t actually deleted the docs from the import folder. Just from the collection\'s <tt>archives</tt> and <tt>index</tt> subfolders.<br /> \n\
50Now the EC Courier documents should be gone.</p><br />
51
52description4=<p>4. Modify some metadata<br /> \n\
53<pre>Copy import.extra/fb33fe-metadata.xml to import/fb33fe/metadata.xml \n\
54Copy import.extra/fb34fe-metadata.xml to import/fb34fe/metadata.xml \n\
55 \n\
56perl -S incremental-import.pl -site localsite -manifest manifests/new-metadata.xml documented-examples/manifest-demo-e \n\
57perl -S incremental-buildcol.pl -site localsite -activate documented-examples/manifest-demo-e</pre> \n\
58 \n\
59Preview and the new metadata should be there.</p>
Note: See TracBrowser for help on using the repository browser.