From: Emma J. H. <emm...@xt...> - 2002-03-15 22:01:36
|
Does anyone have a little PHP or Perl script to dump the contents of htdig -v into a MySQL database? I'm specifically interested in getting these lines in to a database: "A line is shown for each URL, with 3 numbers before the URL and some symbols after the URL. The first number is the number of documents parsed so far, the second is the DocID for this document, and the third is the hop count of the document (number of hops from one of the start_url documents)." Right now I'm just dumping them to a text file by using: > htdig -v > htdig.v.txt I know it'll be a quick little script to write (or possibly even something I can just add to the rundig script), but I thought I'd check and see if it'd been done. Thanks :) emma |