On Mon, 2003-11-17 at 16:20, Gilles Detillieux wrote:
> The -m option MUST be followed by a file name, and this file must
> be a list of one or more URLs to add to the index.  The htdig.html
> page is a tad misleading, as it shows [url_file] in brackets, which
> would suggest the file is optional, but the description for -m in
> http://www.htdig.org/dev/htdig-3.2/htdig.html says "Only index the URLs in
> the file provided and no others."  How will it get teh URL(s) if you don't
> provide a file?  The description says nothing about reading from stdin.
> (htdig 3.1.6 can read from stdin, if a "-" is given, but this is one
> feature from 3.1.6 that I never got a chance to add to 3.2.0b5 before
> the feature freeze.)

 Hrm, a bit more than a tad misleading this is what I have in the docs
that shipped with a 3.2 tarball, regarding having '-' for htdig:

'Get the list of URLs to start indexing from the STDIN. This will
override the default start_url and the file supplied to -m [url_file].'

http://lovelace.wcg.mcgill.ca/htdig/docs/ [htdig.html in frame]

Funny thing is that the URL that you provide also has this same
description, and definitely says it will read from STDIN.

 However, htdig is getting the file. When I add 'v's it displays the
content/title and everything. It just doesn't add it to the index.

> With the syntax above, htdig will try to open a file called "-c", which
> it won't find, so it won't add any URLs to the index.

 How hard would it be to add it? I suppose I could write the url to a
temporary file as well.

Cheers,

Chris

-- 
Christopher Murtagh
Enterprise Systems Administrator
ISR / Web Communications Group 
McGill University
Montreal, Quebec
Canada

Tel.: (514) 398-3122
Fax:  (514) 398-2017


-------------------------------------------------------
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
_______________________________________________
ht://Dig Developer mailing list:
[EMAIL PROTECTED]
List information (subscribe/unsubscribe, etc.)
https://lists.sourceforge.net/lists/listinfo/htdig-dev

Reply via email to