Changeset 6536
- Timestamp:
- 2004-01-16T15:54:40+13:00 (20 years ago)
- Location:
- trunk/gli/classes/xml
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/classes/xml/buildcol.xml
r5163 r6536 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 19 <Option> 20 <Name>allclassifications</Name> 21 <Desc>Don't remove empty classifications</Desc> 22 <Type>flag</Type> 23 <Required>no</Required> 24 </Option> 25 26 <Option> 27 <Name>archivedir</Name> 28 <Desc>Where the archives live</Desc> 29 <Type>string</Type> 30 <Required>no</Required> 31 </Option> 32 <!--<Option hide="true"> 33 <Name>builddir</Name> 34 <Desc>Where to put the built indexes</Desc> 35 <Type>string</Type> 36 <Required>no</Required> 37 </Option>--> 38 39 <Option> 40 <Name>buildtype</Name> 41 <Desc>This will override the config file setting. (default is mg)</Desc> 42 <Type>enum</Type> 43 <Required>no</Required> 44 <List> 45 <Value> 46 <Name>mg</Name> 47 </Value> 48 <Value> 49 <Name>mgpp</Name> 50 </Value> 51 </List> 52 </Option> 53 54 <!--<Option hide="true"> 55 <Name>collectdir</Name> 56 <Desc>Collection directory</Desc> 57 <Type>string</Type> 58 <Required>no</Required> 59 </Option>--> 60 61 <Option> 62 <Name>create_images</Name> 63 <Desc>Attempt to create default images for new collection. This 64 relies on the Gimp being installed along with relevant perl 65 modules to allow scripting from perl</Desc> 66 <Type>flag</Type> 67 <Required>no</Required> 68 </Option> 69 70 <Option> 71 <Name>debug</Name> 72 <Desc>Print output to STDOUT</Desc> 73 <Type>flag</Type> 74 <Required>no</Required> 75 </Option> 76 77 <Option> 78 <Name>faillog</Name> 79 <Desc>Fail log filename. This log receives the filenames of any 80 files which fail to be processed (defaults. to <collectdir>/colname/etc/fail.log)</Desc> 81 <Type>string</Type> 82 <Required>no</Required> 83 </Option> 84 85 <Option> 86 <Name>index</Name> 87 <Desc>Index to build (will build all in config file if not set)</Desc> 88 <Type>string</Type> 89 <Required>no</Required> 90 </Option> 91 92 <Option> 93 <Name>keepold</Name> 94 <Desc>will not destroy the current contents of the building directory</Desc> 95 <Type>flag</Type> 96 <Required>no</Required> 97 </Option> 98 99 <Option> 100 <Name>maxdocs</Name> 101 <Desc>Maximum number of documents to build</Desc> 102 <Type>int</Type> 103 <Required>no</Required> 104 </Option> 105 106 <Option> 107 <Name>mode</Name> 108 <Desc/> 109 <Type>enum</Type> 110 <Required>no</Required> 111 <List> 112 <Value> 113 <Name>all</Name> 114 </Value> 115 <Value> 116 <Name>compress_text</Name> 117 </Value> 118 <Value> 119 <Name>build_index</Name> 120 </Value> 121 <Value> 122 <Name>infodb</Name> 123 </Value> 124 </List> 125 </Option> 126 127 <Option> 128 <Name>no_strip_html</Name> 129 <Desc>Do not strip the html tags from the indexed text (only used 130 for mgpp collections)</Desc> 131 <Type>flag</Type> 132 <Required>no</Required> 133 </Option> 134 135 <Option> 136 <Name>no_text</Name> 137 <Desc>Don't store compressed text. This option is useful for 138 minimizing the size of the built indexes if you intend always to 139 display the original documents at run time (i.e. you won't be 140 able to retrieve the compressed text version)</Desc> 141 <Type>flag</Type> 142 <Required>no</Required> 143 </Option> 144 145 <Option> 146 <Name>out</Name> 147 <Desc>Filename or handle to print output status to. The default is STDERR</Desc> 148 <Type>string</Type> 149 <Required>no</Required> 150 </Option> 151 152 <Option> 153 <Name>verbosity</Name> 154 <Desc>0=none, 3=lots</Desc> 155 <Type>int</Type> 156 <Required>no</Required> 157 </Option> 158 159 </Arguments> 160 </Info> 1 bash: build.pl: command not found -
trunk/gli/classes/xml/import.xml
r6097 r6536 12 12 <!ELEMENT List (Value*)> 13 13 <!ELEMENT Value (Name, Desc?)> 14 <!ELEMENT HiddenGLI (#PCDATA)> 14 15 ]> 15 16 … … 23 24 <Type>string</Type> 24 25 <Required>no</Required> 26 <HiddenGLI>yes</HiddenGLI> 25 27 </Option> 26 28 <Option> … … 30 32 <Required>no</Required> 31 33 <Default>/research/jmt12/gsdl/collect</Default> 34 <HiddenGLI>yes</HiddenGLI> 32 35 </Option> 33 36 <Option> … … 62 65 <Type>string</Type> 63 66 <Required>no</Required> 67 <HiddenGLI>yes</HiddenGLI> 64 68 </Option> 65 69 <Option> … … 67 71 <Desc>Will not destroy the current contents of the archives directory (the default).</Desc> 68 72 <Type>flag</Type> 73 <Required>no</Required> 74 </Option> 75 <Option> 76 <Name>language</Name> 77 <Desc>Language to display option descriptions in (eg. 'en_US' specifies American English). Requires translations of the option descriptions to exist in the perllib/strings_language-code.rb file.</Desc> 78 <Type>string</Type> 69 79 <Required>no</Required> 70 80 </Option> … … 108 118 <Name>sortmeta</Name> 109 119 <Desc>Sort documents alphabetically by metadata for building. This will be disabled if groupsize > 1.</Desc> 110 <Type> string</Type>120 <Type>metadata</Type> 111 121 <Required>no</Required> 112 122 </Option> … … 126 136 <Default>2</Default> 127 137 </Option> 128 <Option>129 <Name>language</Name>130 <Desc>Language to display option descriptions in (eg. 'en_US' specifies American English). Requires translations of the option descriptions to exist in the perllib/strings_language-code.rb file.</Desc>131 <Type>string</Type>132 <Required>no</Required>133 </Option>134 138 </Arguments> 135 139 </Info>
Note:
See TracChangeset
for help on using the changeset viewer.