Re: [htdig3-dev] Patch to avoid duplicate local URL's


Subject: Re: [htdig3-dev] Patch to avoid duplicate local URL's
From: Joe R. Jah (jjah@cloud.ccsf.cc.ca.us)
Date: Mon Feb 28 2000 - 10:26:25 PST


On Mon, 28 Feb 2000, Gilles Detillieux wrote:

> Date: Mon, 28 Feb 2000 10:48:35 -0600 (CST)
> From: Gilles Detillieux <grdetil@scrc.umanitoba.ca>
> To: jjah@cloud.ccsf.cc.ca.us
> Cc: Gilles Detillieux <grdetil@scrc.umanitoba.ca>,
> Warren Jones <wjones@tc.fluke.com>, htdig3-dev@htdig.org
> Subject: Re: [htdig3-dev] Patch to avoid duplicate local URL's
>
> > How can the patch be modified, (patched;), to work with 3.1.5? I'd like
> > to place the patch in 3.1.5 folder of the unofficial patch site for others
> > who are in my situation.
>
> I was afraid of this. I realised that the changes to GetLocal(), to handle
> multiple file names, would almost certainly break this, but I didn't have
> the time last week to look into this. Please try this patch. It compiles,
> but I haven't actually tested it, as I don't have hrefs to symlinks on my
> site.

Thank you Gilles; I haven't yet examined the results thoroughly, but it
seems to be doing what it's supposed to do. I have placed the patch in

  ftp://ftp.ccsf.org/htdig-patches/3.1.5/Retriever.cc.0

> For a couple alternative methods of suppressing symbolic links in the index,
> have a look at this e-mail message in the htdig@htdig.org archives:
>
> http://www.htdig.org/mail/2000/02/0085.html

I will look into using exclude_urls. It may free me from having to worry
about applying a compatible patch every time a new version is released;
however, I believe an integrated duplicate prevention mechanism, at least
for local digging, is highly desirable.

Best regards,

Joe

-- 
     _/   _/_/_/       _/              ____________    __o
     _/   _/   _/      _/         ______________     _-\<,_
 _/  _/   _/_/_/   _/  _/                     ......(_)/ (_)
  _/_/ oe _/   _/.  _/_/ ah        jjah@cloud.ccsf.cc.ca.us

------------------------------------ To unsubscribe from the htdig3-dev mailing list, send a message to htdig3-dev-unsubscribe@htdig.org You will receive a message to confirm this.



This archive was generated by hypermail 2b28 : Mon Feb 28 2000 - 10:30:34 PST