source: trunk/gli/classes/xml/import.xml@ 4687

Last change on this file since 4687 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.3 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>import.pl</Name>
16 <Desc>PERL script used to import files into a GML format ready for building.</Desc>
17 <Arguments>
18 <Option>
19 <Name>archivedir</Name>
20 <Desc>Where the converted material ends up</Desc>
21 <Type>string</Type>
22 <Required>no</Required>
23 </Option>
24 <!--<Option hide="true">
25 <Name>collectdir</Name>
26 <Desc>Collection directory</Desc>
27 <Type>string</Type>
28 <Required>no</Required>
29 <Default>/research/jmt12/gsdl/collect</Default>
30 </Option>-->
31 <Option>
32 <Name>debug</Name>
33 <Desc>Print imported text to STDOUT</Desc>
34 <Type>flag</Type>
35 <Required>no</Required>
36 </Option>
37 <Option>
38 <Name>faillog</Name>
39 <Desc>Fail log filename. This log receives the filenames of any
40 files which fail to be processed (defaults to &lt;collectdir&gt;/colname/etc/fail.log)</Desc>
41 <Type>string</Type>
42 <Required>no</Required>
43 <Default>&lt;collectdir>/colname/etc/fail.log</Default>
44 </Option>
45 <Option>
46 <Name>groupsize</Name>
47 <Desc>Number of import documents to group into one XML file</Desc>
48 <Type>int</Type>
49 <Required>no</Required>
50 </Option>
51 <Option>
52 <Name>gzip</Name>
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 <Type>flag</Type>
57 <Required>no</Required>
58 </Option>
59 <!--<Option hide="true">
60 <Name>importdir</Name>
61 <Desc>Where the original material lives</Desc>
62 <Type>string</Type>
63 <Required>no</Required>
64 </Option>-->
65 <Option>
66 <Name>keepold</Name>
67 <Desc>Will not destroy the current contents of the archives
68 directory (the default)</Desc>
69 <Type>flag</Type>
70 <Required>no</Required>
71 </Option>
72 <Option>
73 <Name>maxdocs</Name>
74 <Desc>Maximum number of documents to import</Desc>
75 <Type>int</Type>
76 <Required>no</Required>
77 </Option>
78 <Option>
79 <Name>OIDtype</Name>
80 <Desc>The method to use when generating unique identifiers for
81 each document. &quot;hash&quot; (the default) hashes the
82 contents of the file and so will be the same every time the
83 collection is imported. &quot;incremental&quot; is a simple
84 document count and so will be significantly faster than
85 &quot;hash&quot;. 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>
88 <Type>enum</Type>
89 <Required>no</Required>
90 <List>
91 <Value>
92 <Name>hash</Name>
93 </Value>
94 <Value>
95 <Name>incremental</Name>
96 </Value>
97 </List>
98 </Option>
99 <Option>
100 <Name>out</Name>
101 <Desc>Filename or handle to print output status to. The default is STDERR</Desc>
102 <Type>string</Type>
103 <Required>no</Required>
104 </Option>
105 <Option>
106 <Name>removeold</Name>
107 <Desc>Will remove the old contents of the archives directory --
108 use with care</Desc>
109 <Type>flag</Type>
110 <Required>no</Required>
111 </Option>
112 <Option>
113 <Name>sortmeta</Name>
114 <Desc>Sort documents alphabetically by metadata for building. This
115 will be disabled if groupsize > 1</Desc>
116 <Type>string</Type>
117 <Required>no</Required>
118 </Option>
119 <Option>
120 <Name>statsfile</Name>
121 <Desc>Filename or handle to print import statistics to. The
122 default is STDERR</Desc>
123 <Type>string</Type>
124 <Required>no</Required>
125 </Option>
126 <Option>
127 <Name>verbosity</Name>
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>
131 <Type>int</Type>
132 <Required>no</Required>
133 </Option>
134 </Arguments>
135</Info>
Note: See TracBrowser for help on using the repository browser.