Changeset 4687
- Timestamp:
- 2003-06-16T12:06:45+12:00 (21 years ago)
- Location:
- trunk/gli/classes/xml
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/classes/xml/buildcol.xml
r4588 r4687 1 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?)> 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?)> 15 13 ]> 16 17 14 <Info> 18 15 <Name>buildcol.pl</Name> … … 31 28 <Required>no</Required> 32 29 </Option> 33 < Option hide="true">30 <!--<Option hide="true"> 34 31 <Name>builddir</Name> 35 32 <Desc>Where to put the built indexes</Desc> 36 33 <Type>string</Type> 37 34 <Required>no</Required> 38 </Option> 35 </Option>--> 39 36 <Option> 40 37 <Name>maxdocs</Name> … … 51 48 <Option> 52 49 <Name>mode</Name> 53 <Desc ></Desc>50 <Desc/> 54 51 <Type>enum</Type> 55 52 <Required>no</Required> … … 83 80 <Option> 84 81 <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> 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 86 <Type>flag</Type> 87 87 <Required>no</Required> … … 95 95 <Option> 96 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> 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> 98 100 <Type>flag</Type> 99 101 <Required>no</Required> 100 102 </Option> 101 < Option hide="true">103 <!--<Option hide="true"> 102 104 <Name>collectdir</Name> 103 105 <Desc>Collection directory</Desc> 104 106 <Type>string</Type> 105 107 <Required>no</Required> 106 </Option> 108 </Option>--> 107 109 <Option> 108 110 <Name>out</Name> … … 127 129 <Option> 128 130 <Name>no_strip_html</Name> 129 <Desc>Do not strip the html tags from the indexed text (only used for mgpp collections)</Desc> 131 <Desc>Do not strip the html tags from the indexed text (only used 132 for mgpp collections)</Desc> 130 133 <Type>flag</Type> 131 134 <Required>no</Required> … … 133 136 <Option> 134 137 <Name>faillog</Name> 135 <Desc>Fail log filename. This log receives the filenames of any files which fail to be processed (defaults. to <collectdir>/colname/etc/fail.log)</Desc> 138 <Desc>Fail log filename. This log receives the filenames of any 139 files which fail to be processed (defaults. to <collectdir>/colname/etc/fail.log)</Desc> 136 140 <Type>string</Type> 137 141 <Required>no</Required> -
trunk/gli/classes/xml/import.xml
r4588 r4687 1 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?)> 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?)> 15 13 ]> 16 17 14 <Info> 18 15 <Name>import.pl</Name> … … 25 22 <Required>no</Required> 26 23 </Option> 27 < Option hide="true">24 <!--<Option hide="true"> 28 25 <Name>collectdir</Name> 29 26 <Desc>Collection directory</Desc> … … 31 28 <Required>no</Required> 32 29 <Default>/research/jmt12/gsdl/collect</Default> 33 </Option> 30 </Option>--> 34 31 <Option> 35 32 <Name>debug</Name> … … 40 37 <Option> 41 38 <Name>faillog</Name> 42 <Desc>Fail log filename. This log receives the filenames of any files which fail to be processed (defaults to <collectdir>/colname/etc/fail.log)</Desc> 39 <Desc>Fail log filename. This log receives the filenames of any 40 files which fail to be processed (defaults to <collectdir>/colname/etc/fail.log)</Desc> 43 41 <Type>string</Type> 44 42 <Required>no</Required> 45 <Default><collectdir >/colname/etc/fail.log</Default>43 <Default><collectdir>/colname/etc/fail.log</Default> 46 44 </Option> 47 45 <Option> … … 53 51 <Option> 54 52 <Name>gzip</Name> 55 <Desc>Use gzip to compress resulting xml documents (don't forget to include ZIPPlug in your plugin list when building from compressed documents)</Desc> 53 <Desc>Use gzip to compress resulting xml documents (don't forget 54 to include ZIPPlug in your plugin list when building from 55 compressed documents)</Desc> 56 56 <Type>flag</Type> 57 57 <Required>no</Required> 58 58 </Option> 59 < Option hide="true">59 <!--<Option hide="true"> 60 60 <Name>importdir</Name> 61 61 <Desc>Where the original material lives</Desc> 62 62 <Type>string</Type> 63 63 <Required>no</Required> 64 </Option> 64 </Option>--> 65 65 <Option> 66 66 <Name>keepold</Name> 67 <Desc>Will not destroy the current contents of the archives directory (the default)</Desc> 67 <Desc>Will not destroy the current contents of the archives 68 directory (the default)</Desc> 68 69 <Type>flag</Type> 69 70 <Required>no</Required> … … 77 78 <Option> 78 79 <Name>OIDtype</Name> 79 <Desc>The method to use when generating unique identifiers for each document. "hash" (the default) hashes the contents of the file and so will be the same every time the collection is imported. "incremental" is a simple document count and so will be significantly faster than "hash". It is not guaranteed to always assign the same identifier to a given document though and does not allow further documents to be added to existing xml archives</Desc> 80 <Desc>The method to use when generating unique identifiers for 81 each document. "hash" (the default) hashes the 82 contents of the file and so will be the same every time the 83 collection is imported. "incremental" is a simple 84 document count and so will be significantly faster than 85 "hash". It is not guaranteed to always assign the same 86 identifier to a given document though and does not allow further 87 documents to be added to existing xml archives</Desc> 80 88 <Type>enum</Type> 81 89 <Required>no</Required> … … 97 105 <Option> 98 106 <Name>removeold</Name> 99 <Desc>Will remove the old contents of the archives directory -- use with care</Desc> 107 <Desc>Will remove the old contents of the archives directory -- 108 use with care</Desc> 100 109 <Type>flag</Type> 101 110 <Required>no</Required> … … 103 112 <Option> 104 113 <Name>sortmeta</Name> 105 <Desc>Sort documents alphabetically by metadata for building. This will be disabled if groupsize > 1</Desc> 114 <Desc>Sort documents alphabetically by metadata for building. This 115 will be disabled if groupsize > 1</Desc> 106 116 <Type>string</Type> 107 117 <Required>no</Required> … … 109 119 <Option> 110 120 <Name>statsfile</Name> 111 <Desc>Filename or handle to print import statistics to. The default is STDERR</Desc> 121 <Desc>Filename or handle to print import statistics to. The 122 default is STDERR</Desc> 112 123 <Type>string</Type> 113 124 <Required>no</Required> … … 115 126 <Option> 116 127 <Name>verbosity</Name> 117 <Desc>A number between zero and three that controls how much information about the process is printed to the standard error stream; 0 gives a little, 3 gives lots</Desc> 128 <Desc>A number between zero and three that controls how much 129 information about the process is printed to the standard error 130 stream; 0 gives a little, 3 gives lots</Desc> 118 131 <Type>int</Type> 119 132 <Required>no</Required>
Note:
See TracChangeset
for help on using the changeset viewer.