| 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: Overview of Programs |
| 6 |
</title> |
| 7 |
</head> |
| 8 |
<body bgcolor="#eef7ff"> |
| 9 |
<h1> |
| 10 |
Overview of Programs |
| 11 |
</h1> |
| 12 |
<p> |
| 13 |
ht://Dig Copyright © 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 |
<p> |
| 19 |
There are several programs in the ht://Dig package. |
| 20 |
</p> |
| 21 |
<h3> |
| 22 |
<a href="htdig.html">htdig</a> |
| 23 |
</h3> |
| 24 |
<p> |
| 25 |
Digging is the first step in creating a search database. This |
| 26 |
system uses the word <em>digging</em> while other systems call |
| 27 |
it <em>harvesting</em> or <em>gathering</em>. In the ht://Dig |
| 28 |
system, the program <a href="htdig.html">htdig</a> performs |
| 29 |
the information gathering stage. In this process, the program |
| 30 |
will act as a regular web user, except that it will follow |
| 31 |
<em>all</em> hyperlinks that it comes across. (Actually, it |
| 32 |
will not follow all of them, just those that are within the |
| 33 |
domain it needs to gather information on...)<br> |
| 34 |
Each document it goes to is examined and all the unique |
| 35 |
words in this document are extracted and stored. |
| 36 |
</p> |
| 37 |
<p> |
| 38 |
The digging process will <em>only</em> follow links and has |
| 39 |
no notion of JavaScript, applets, or user-input forms. |
| 40 |
</p> |
| 41 |
<hr noshade> |
| 42 |
<h3> |
| 43 |
<a href="htsearch.html" target="_top">htsearch</a> |
| 44 |
</h3> |
| 45 |
<p> |
| 46 |
Searching is where the users actually get to use all the |
| 47 |
information that was gathered during the dig and merge |
| 48 |
stages. The <a href="htsearch.html" target="_top"> |
| 49 |
htsearch</a> program performs the actual searches. It typically |
| 50 |
produces <code>HTML</code> output which will be seen by the |
| 51 |
users, though other text formats could be generated by |
| 52 |
editing the output templates. |
| 53 |
</p> |
| 54 |
<hr noshade> |
| 55 |
<h3> |
| 56 |
<a href="htmerge.html">htmerge</a> |
| 57 |
</h3> |
| 58 |
<p> |
| 59 |
Merging does exactly that--it merges one database |
| 60 |
into another. In previous versions of ht://Dig, the htmerge |
| 61 |
program also formed databases for use by htsearch from the |
| 62 |
htdig output. This process is now largely unnecessary except |
| 63 |
for removal of invalid URLs which is now done by the htpurge |
| 64 |
program. |
| 65 |
</p> |
| 66 |
<hr noshade> |
| 67 |
<h3> |
| 68 |
<a href="htpurge.html">htpurge</a> |
| 69 |
</h3> |
| 70 |
<p> |
| 71 |
Purging removes documents and the associated words from the |
| 72 |
databases. This should be done after running htdig to remove |
| 73 |
invalid URLs, documents marked not to be indexed, old |
| 74 |
versions of modified documents, etc. You can also specify |
| 75 |
specific URLs to be removed explicitly by htpurge. |
| 76 |
</p> |
| 77 |
<hr noshade> |
| 78 |
<h3> |
| 79 |
<a href="htload.html">htload</a> |
| 80 |
</h3> |
| 81 |
<p> |
| 82 |
Loading involves importing the contents of the databases |
| 83 |
from formatted ASCII text documents as created by htdump or |
| 84 |
the -t flag from htdig. This is, of course, destructive by |
| 85 |
nature and data from the text files will replace any |
| 86 |
conflicting data in the databases. |
| 87 |
</p> |
| 88 |
<hr noshade> |
| 89 |
<h3> |
| 90 |
<a href="htdump.html">htdump</a> |
| 91 |
</h3> |
| 92 |
<p> |
| 93 |
Dumping involves exporting the contents of the databases to |
| 94 |
formatted ASCII text documents. This can be useful for |
| 95 |
backups, transferring databases between different operating |
| 96 |
systems, changing the compression or encodings in the |
| 97 |
ht://Dig configuration, parsing by external utilities. It is |
| 98 |
<em>not</em> recommended to edit these files by hand, so be |
| 99 |
warned! (Minor edits will probably be fine.) |
| 100 |
</p> |
| 101 |
<hr noshade> |
| 102 |
<h3> |
| 103 |
<a href="htstat.html">htstat</a> |
| 104 |
</h3> |
| 105 |
<p> |
| 106 |
The htstat program returns statistics on the databases, |
| 107 |
similar to the -s flags for some of the programs. In |
| 108 |
addition, it can return a list of URLs in the databases. |
| 109 |
</p> |
| 110 |
<hr noshade> |
| 111 |
<h3> |
| 112 |
<a href="htnotify.html">htnotify</a> |
| 113 |
</h3> |
| 114 |
<p> |
| 115 |
The ht://Dig system includes a handy reminder service which |
| 116 |
allows HTML authors to add some ht://Dig specific <a href="meta.html">meta |
| 117 |
information</a> in HTML documents. This meta information is |
| 118 |
used to email authors after a specified date. Very useful |
| 119 |
to maintain lists that contain those annoying "new" |
| 120 |
graphics with new items. (Hint: Things really aren't all |
| 121 |
that new anymore after 6 months!)<br> |
| 122 |
</p> |
| 123 |
<hr noshade> |
| 124 |
<h3> |
| 125 |
<a href="htfuzzy.html">htfuzzy</a> |
| 126 |
</h3> |
| 127 |
<p> |
| 128 |
To allow the searches to use "fuzzy" algorithms to match |
| 129 |
words, the <a href="htfuzzy.html">htfuzzy</a> program can |
| 130 |
create indexes for several different algorithms. |
| 131 |
</p> |
| 132 |
<hr size="4" noshade> |
| 133 |
|
| 134 |
Last modified: $Date: 2004/05/28 13:15:17 $ |
| 135 |
|
| 136 |
</body> |
| 137 |
</html> |