htload(1)

πŸ’Ύ htload β€” the manual page, bestie edition πŸ’Ύ

okay so this is htload(1) from the General Commands Manual, and she is that girl: the one that loads your ASCII document database back in. let's get into it 🫢


✨ NAME ✨

htload β€” reads in an ASCII-text version of the document database πŸŽ€


🌸 SYNOPSIS 🌸

htload [options]

πŸ’– DESCRIPTION πŸ’–

Htload reads in an ASCII-text version of the document database, in the exact same form as the -t option of htdig and htdump produces. so it's the reverse-girlie of that whole situation ✨

🚨 BESTIE. LISTEN. This will overwrite data in your databases. So this should be used with great care. no cap. back up first, i'm begging 😭

πŸ’… OPTIONS πŸ’…

  • -a β€” Use alternate work files. Tells htload to append .work to database files, which lets it operate on a second set of databases. side quest unlocked πŸ¦‹
  • -c configfile β€” Use the specified configfile instead of the default. main character energy, choosing your own path πŸ’œ
  • -i β€” Initial. Do not use any old databases. This is accomplished by first erasing the databases. it's giving fresh start, it's giving clean slate, it's giving πŸ’€ (because it erases things)
  • -v β€” Verbose mode. This doesn't have much effect. honestly? she's just there for the vibe check πŸ™ˆ

🌈 File Formats 🌈

πŸ“ Document Database

Each line in the file starts with the document id followed by a list of fieldname : value separated by tabs. The fields always appear in the order listed below β€” no shuffling, the order is the order, periodt:

  • u β€” URL
  • t β€” Title
  • a β€” State (0 = normal, 1 = not found, 2 = not indexed, 3 = obsolete)
  • m β€” Last modification time as reported by the server
  • s β€” Size in bytes
  • H β€” Excerpt
  • h β€” Meta description
  • l β€” Time of last retrieval
  • L β€” Count of the links in the document (outgoing links)
  • b β€” Count of the links to the document (incoming links or backlinks)
  • c β€” HopCount of this document
  • g β€” Signature of the document used for duplicate-detection
  • e β€” E-mail address to use for a notification message from htnotify
  • n β€” Date to send out a notification e-mail message
  • S β€” Subject for a notification e-mail message
  • d β€” The text of links pointing to this document. (e.g. <a href="docURL">description</a>)
  • A β€” Anchors in the document (i.e. <A NAME=...)

🧚 Word Database

While htdump and htload don't deal with the word database directly, it's worth mentioning it here because you need to deal with it when copying the ASCII databases from one system to another. The initial word database produced by htdig is already in ASCII format, and a binary version of it is produced by htmerge, for use by htsearch. So, when you copy over the ASCII version of the document database produced by htdump, you need to copy over the wordlist as well, then run htload to make the binary document database on the target system, followed by running htmerge to make the word index. it's a whole relay race and everyone has to run their leg πŸƒβ™€οΈβœ¨

Each line in the word list file starts with the word followed by a list of fieldname : value separated by tabs. The fields always appear in the order listed below, with the last two being optional πŸ‘‘

  • i β€” Document ID
  • l β€” Location of word in document (1 to 1000)
  • w β€” Weight of word based on scoring factors
  • c β€” Count of word's appearances in document, if more than 1
  • a β€” Anchor number if word occurred after a named anchor

πŸ“ FILES πŸ“

  • /etc/htdig/htdig.conf β€” The default configuration file.
  • /var/lib/htdig/db.docs β€” The default ASCII document database file.
  • /var/lib/htdig/db.wordlist β€” The default ASCII word database file.

πŸ‘€ SEE ALSO πŸ‘€

Please refer to the HTML pages (in the htdig-doc package) /usr/share/doc/htdig-doc/html/index.html and the manual pages htdig(1), htmerge(1) and htdump(1) for a detailed description of ht://Dig and its commands. go read the girlies, they ate πŸ”₯


πŸ’œ AUTHOR πŸ’œ

This manual page was written by Stijn de Bekker, based on the HTML documentation of ht://Dig. iconic behaviour, we love a citation πŸ’…


and that's the whole page, bestie!! this one's from 15 October 2001 and she's part of the htload(1) manual β€” old but gold, fr fr. mwah πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈ