Debian Codegraph @

htdoc/htload.html

raw
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
2 <html>
3 <head>
4 <title>
5 ht://Dig: htload
6 </title>
7 </head>
8 <body bgcolor="#eef7ff">
9 <h1>
10 htload
11 </h1>
12 <p>
13 ht://Dig Copyright &copy; 1995-2004 <a href="THANKS.html">The ht://Dig Group</a><br>
14 Please see the file <a href="COPYING">COPYING</a> for
15 license information.
16 </p>
17 <hr size="4" noshade>
18 <dl>
19 <dd>
20 <h2>
21 Synopsis
22 </h2>
23 </dd>
24 <dd>
25 htload [<em>options</em>]
26 </dd>
27 </dl>
28 <dl>
29 <dd>
30 <h2>
31 Description
32 </h2>
33 </dd>
34 <dd>
35 Htload reads in an ASCII-text version of the document and word
36 databases in the same form as the -t option of htdig
37 and htdump. Note that this will overwrite data in your
38 databases, so this should be used with great care.
39 </dd>
40 </dl>
41 <dl>
42 <dd>
43 <h2>
44 Options
45 </h2>
46 </dd>
47 <dd>
48 <dl compact>
49 <dt>
50 -a
51 </dt>
52 <dd>
53 Use alternate work files. Tells htload to append <em>
54 .work</em> to database files, allowing it to
55 operate on a second set of databases.
56 </dd>
57 <dt>
58 -c <em>configfile</em>
59 </dt>
60 <dd>
61 Use the specified <em>configfile</em> file instead of the
62 default.
63 </dd>
64 <dt>
65 -d
66 </dt>
67 <dd>
68 Do <strong>not</strong> load the document database.
69 </dd>
70 <dt>
71 -v
72 </dt>
73 <dd>
74 Verbose mode. This doesn't have much effect.
75 </dd>
76 <dt>
77 -w
78 </dt>
79 <dd>
80 Do <strong>not</strong> load the word database.
81 </dd>
82
83 </dl>
84 </dd>
85 </dl>
86
87 <dl>
88 <dd>
89 <h2>
90 File Formats
91 </h2>
92 </dd>
93 <dl>
94 <dt>
95 <h3>Document Database</h3>
96 </dt>
97 <dd>
98 <p>Each line in the file starts with the document id
99 followed by a list of
100 <strong><em>fieldname</em>:<em>value</em></strong>
101 separated by tabs. The fields always appear in the
102 order listed below:
103 </p>
104 <table border=0>
105 <tr> <th>fieldname</th> <th align="left">value</th></tr>
106 <tr> <td>u</td><td>URL</td></tr>
107 <tr> <td>t</td><td>Title</td></tr>
108 <tr> <td>a</td><td>State (0 = normal, 1 = not found, 2
109 = not indexed, 3 = obsolete)</td></tr>
110 <tr> <td>m</td><td>Last modification time as reported
111 by the server</td></tr>
112 <tr> <td>s</td><td>Size in bytes</td></tr>
113 <tr> <td>H</td><td>Excerpt</td></tr>
114 <tr> <td>h</td><td>Meta description</td></tr>
115 <tr> <td>l</td><td>Time of last retrieval</td></tr>
116 <tr> <td>L</td><td>Count of the links in the document
117 (outgoing links)</td></tr>
118 <tr> <td>b</td><td>Count of the links to the document
119 (incoming links or backlinks)</td></tr>
120 <tr> <td>c</td><td>HopCount of this document</td></tr>
121 <tr> <td>g</td><td>Signature of the document used for
122 duplicate-detection</td></tr>
123 <tr> <td>e</td><td>E-mail address to use for a
124 notification message from htnotify</td></tr>
125 <tr> <td>n</td><td>Date to send out a notification
126 e-mail message</td></tr>
127 <tr> <td>S</td><td>Subject for a notification e-mail
128 message</td></tr>
129 <tr> <td>d</td><td>The text of links pointing to this
130 document. (e.g. &lt;a
131 href=&quot;docURL&quot;&gt;description&lt;/a&gt;)</td></tr>
132 <tr> <td>A</td><td>Anchors in the document (i.e. &lt;A
133 NAME=...)</td></tr>
134 </table>
135 </dd>
136 <dt>
137 <h3>Word Database</h3>
138 </dt>
139 <dd>
140 <p>
141 The first line of the ASCII word database is a comment,
142 prefixed with '#' and specifies the columns of the file
143 separated by tabs.
144 The fields are:</p>
145 <blockquote>
146 <em>word</em><br>
147 <em>document id</em><br>
148 <em>flags</em><br>
149 <em>location</em><br>
150 <em>anchor</em><br>
151 </blockquote>
152 </table>
153 </p>
154 </dd>
155 </dl>
156 </dl>
157 <dl>
158 <dd>
159 <h2>
160 Files
161 </h2>
162 </dd>
163 <dd>
164 <dl>
165 <dt>
166 CONFIG_DIR/htdig.conf
167 </dt>
168 <dd>
169 The default configuration file.
170 </dd>
171 <dt>
172 DATABASE_DIR/db.docs
173 </dt>
174 <dd>
175 The default ASCII document database file.
176 </dd>
177 <dt>
178 DATABASE_DIR/db.worddump
179 </dt>
180 <dd>
181 The default ASCII word database file.
182 </dd>
183 </dl>
184 </dd>
185 </dl>
186 <dl>
187 <dd>
188 <h2>
189 See Also
190 </h2>
191 </dd>
192 <dd>
193 <a href="htdig.html">htdig</a>,
194 <a href="htdump.html">htdump</a> and
195 <a href="attrs.html">Configuration file format</a>
196 </dd>
197 </dl>
198 <hr size="4" noshade>
199
200 Last modified: $Date: 2004/05/28 13:15:18 $
201
202 </body>
203 </html>