Debian Codegraph @

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