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

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

Initial revision

  • Property svn:keywords set to Author Date Id Revision
File size: 4.2 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 <!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
15<Info>
16 <Name>import.pl</Name>
17 <Desc>PERL script used to import files into a GML format ready for building.</Desc>
18 <Arguments>
19 <Option>
20 <Name>archivedir</Name>
21 <Desc>Where the converted material ends up</Desc>
22 <Type>string</Type>
23 <Required>no</Required>
24 </Option>
25 <Option>
26 <Name>collectdir</Name>
27 <Desc>Collection directory (defaults to /research/jmt12/gsdl/collect)</Desc>
28 <Type>string</Type>
29 <Required>no</Required>
30 <Default>/research/jmt12/gsdl/collect</Default>
31 </Option>
32 <Option>
33 <Name>debug</Name>
34 <Desc>Print imported text to STDOUT</Desc>
35 <Type>flag</Type>
36 <Required>no</Required>
37 </Option>
38 <Option>
39 <Name>faillog</Name>
40 <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>
41 <Type>string</Type>
42 <Required>no</Required>
43 <Default>&lt;collectdir&gt;/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 to include ZIPPlug in your plugin list when building from compressed documents)</Desc>
54 <Type>flag</Type>
55 <Required>no</Required>
56 </Option>
57 <Option>
58 <Name>importdir</Name>
59 <Desc>Where the original material lives</Desc>
60 <Type>string</Type>
61 <Required>no</Required>
62 </Option>
63 <Option>
64 <Name>keepold</Name>
65 <Desc>Will not destroy the current contents of the archives directory (the default)</Desc>
66 <Type>flag</Type>
67 <Required>no</Required>
68 </Option>
69 <Option>
70 <Name>maxdocs</Name>
71 <Desc>Maximum number of documents to import</Desc>
72 <Type>int</Type>
73 <Required>no</Required>
74 </Option>
75 <Option>
76 <Name>OIDtype</Name>
77 <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>
78 <Type>enum</Type>
79 <Required>no</Required>
80 <List>
81 <Value>
82 <Name>hash</Name>
83 </Value>
84 <Value>
85 <Name>incremental</Name>
86 </Value>
87 </List>
88 </Option>
89 <Option>
90 <Name>out</Name>
91 <Desc>Filename or handle to print output status to. The default is STDERR</Desc>
92 <Type>string</Type>
93 <Required>no</Required>
94 </Option>
95 <Option>
96 <Name>removeold</Name>
97 <Desc>Will remove the old contents of the archives directory -- use with care</Desc>
98 <Type>flag</Type>
99 <Required>no</Required>
100 </Option>
101 <Option>
102 <Name>sortmeta</Name>
103 <Desc>Sort documents alphabetically by metadata for building. This will be disabled if groupsize > 1</Desc>
104 <Type>string</Type>
105 <Required>no</Required>
106 </Option>
107 <Option>
108 <Name>statsfile</Name>
109 <Desc>Filename or handle to print import statistics to. The default is STDERR</Desc>
110 <Type>string</Type>
111 <Required>no</Required>
112 </Option>
113 <Option>
114 <Name>verbosity</Name>
115 <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>
116 <Type>int</Type>
117 <Required>no</Required>
118 </Option>
119 </Arguments>
120</Info>
Note: See TracBrowser for help on using the repository browser.