According to Gary Halpin:
> I saw "Added support for file:// URLs and support for
> using the mime_types file to decide whether local
> files are parsable" in the Release notes
> (http://www.htdig.org/dev/htdig-3.2/RELEASE.html).
>
> Does that mean it's possible with v3.2.0b3 to have
> file:// URLs be built into ht://Dig's database?
>
> When I put "start_url:
> file://localhost/win/MyDocuments/OrgTxt-Lnx.htm"
> in htdig.conf I got an "unknown host" error (the file
> exists). (I also got an error when leaving oui the
> "localhost".)
Interesting. I got that error for URLs like file:/home/foo/blah, because
the url.signature() wasn't being set consistently. I just posted a patch
for that and a few other problems with the htdig-3.2.0b4-070101 snapshot
(see the thread "problems compiling htdig 3.2.0b3" in the htdig-general
mailing list archives).
However, I found it does work correctly for file:///home/foo/blah,
and from looking at the code it seems it correctly handles
file://host/foo/blah, stripping off the "host" and assuming
file://localhost:0/ for the url.signature(), as it now does for the
other two cases.
I suggest you try the 070101 snapshot with my patch, or wait for the
070801 snapshot.
> Also, is there an archive of this mailing list?
See http://sourceforge.net/mail/?group_id=4593 for archives of current
lists, and the left column of http://www.htdig.org/mailarchive.html for
the older htdig mailing list (January 2001 and older).
Also, there's always http://www.mail-archive.com/ for just about anything
under the sun.
--
Gilles R. Detillieux E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre WWW: http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba Phone: (204)789-3766
Winnipeg, MB R3E 3J7 (Canada) Fax: (204)789-3930
_______________________________________________
htdig-dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/htdig-dev