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

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

New 'hide' attribute which, when true, should cause the marked argument to not appear in the BuildOptions

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