source: trunk/gli/classes/xml/buildcol.xml@ 4939

Last change on this file since 4939 was 4687, checked in by jmt12, 21 years ago

Commented out the 'hidden' arguments. It was easier, but at some stage we'll have to make BuildOptions honour the hide argument and buildcol.pl and import.pl produce them

  • Property svn:keywords set to Author Date Id Revision
File size: 4.1 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE Info [<!ELEMENT Info (Name,Desc,Arguments)>
3<!ELEMENT Arguments (Option*)>
4<!ELEMENT Option (Name,Desc,Type,Required,Default?,List?)>
5<!ATTLIST Option hide CDATA ''>
6<!ELEMENT Name (#PCDATA)>
7<!ELEMENT Desc (#PCDATA)>
8<!ELEMENT Type (#PCDATA)>
9<!ELEMENT Required (#PCDATA)>
10<!ELEMENT Default (#PCDATA)>
11<!ELEMENT List (Value*)>
12<!ELEMENT Value (Name,Desc?)>
13]>
14<Info>
15 <Name>buildcol.pl</Name>
16 <Desc>PERL script used to build a greenstone collection from GML documents.</Desc>
17 <Arguments>
18 <Option>
19 <Name>archivedir</Name>
20 <Desc>Where the archives live</Desc>
21 <Type>string</Type>
22 <Required>no</Required>
23 </Option>
24 <Option>
25 <Name>verbosity</Name>
26 <Desc>0=none, 3=lots</Desc>
27 <Type>int</Type>
28 <Required>no</Required>
29 </Option>
30 <!--<Option hide="true">
31 <Name>builddir</Name>
32 <Desc>Where to put the built indexes</Desc>
33 <Type>string</Type>
34 <Required>no</Required>
35 </Option>-->
36 <Option>
37 <Name>maxdocs</Name>
38 <Desc>Maximum number of documents to build</Desc>
39 <Type>int</Type>
40 <Required>no</Required>
41 </Option>
42 <Option>
43 <Name>debug</Name>
44 <Desc>Print output to STDOUT</Desc>
45 <Type>flag</Type>
46 <Required>no</Required>
47 </Option>
48 <Option>
49 <Name>mode</Name>
50 <Desc/>
51 <Type>enum</Type>
52 <Required>no</Required>
53 <List>
54 <Value>
55 <Name>all</Name>
56 </Value>
57 <Value>
58 <Name>compress_text</Name>
59 </Value>
60 <Value>
61 <Name>build_index</Name>
62 </Value>
63 <Value>
64 <Name>infodb</Name>
65 </Value>
66 </List>
67 </Option>
68 <Option>
69 <Name>index</Name>
70 <Desc>Index to build (will build all in config file if not set)</Desc>
71 <Type>string</Type>
72 <Required>no</Required>
73 </Option>
74 <Option>
75 <Name>keepold</Name>
76 <Desc>will not destroy the current contents of the building directory</Desc>
77 <Type>flag</Type>
78 <Required>no</Required>
79 </Option>
80 <Option>
81 <Name>no_text</Name>
82 <Desc>Don't store compressed text. This option is useful for
83 minimizing the size of the built indexes if you intend always to
84 display the original documents at run time (i.e. you won't be
85 able to retrieve the compressed text version)</Desc>
86 <Type>flag</Type>
87 <Required>no</Required>
88 </Option>
89 <Option>
90 <Name>allclassifications</Name>
91 <Desc>Don't remove empty classifications</Desc>
92 <Type>flag</Type>
93 <Required>no</Required>
94 </Option>
95 <Option>
96 <Name>create_images</Name>
97 <Desc>Attempt to create default images for new collection. This
98 relies on the Gimp being installed along with relevant perl
99 modules to allow scripting from perl</Desc>
100 <Type>flag</Type>
101 <Required>no</Required>
102 </Option>
103 <!--<Option hide="true">
104 <Name>collectdir</Name>
105 <Desc>Collection directory</Desc>
106 <Type>string</Type>
107 <Required>no</Required>
108 </Option>-->
109 <Option>
110 <Name>out</Name>
111 <Desc>Filename or handle to print output status to. The default is STDERR</Desc>
112 <Type>string</Type>
113 <Required>no</Required>
114 </Option>
115 <Option>
116 <Name>buildtype</Name>
117 <Desc>This will override the config file setting. (default is mg)</Desc>
118 <Type>enum</Type>
119 <Required>no</Required>
120 <List>
121 <Value>
122 <Name>mg</Name>
123 </Value>
124 <Value>
125 <Name>mgpp</Name>
126 </Value>
127 </List>
128 </Option>
129 <Option>
130 <Name>no_strip_html</Name>
131 <Desc>Do not strip the html tags from the indexed text (only used
132 for mgpp collections)</Desc>
133 <Type>flag</Type>
134 <Required>no</Required>
135 </Option>
136 <Option>
137 <Name>faillog</Name>
138 <Desc>Fail log filename. This log receives the filenames of any
139 files which fail to be processed (defaults. to &lt;collectdir&gt;/colname/etc/fail.log)</Desc>
140 <Type>string</Type>
141 <Required>no</Required>
142 </Option>
143 </Arguments>
144</Info>
Note: See TracBrowser for help on using the repository browser.