Re: [htdig] Capitalization in Host Names


Subject: Re: [htdig] Capitalization in Host Names
From: Geoff Hutchison (ghutchis@wso.williams.edu)
Date: Mon Apr 10 2000 - 07:06:10 PDT


At 3:47 PM +0200 4/10/00, Zvi Har'El wrote:
>deceased son, Gilead. These sites are named *.Gilead.org.il, e.g.,
>JV.Gilead.org.il. I am using ht://Dig to index JV.Gilead.org.il.
>However, when I do htsearch, the links to the retreived documents always
>refer to an-all-lower-case hostname, jv.gilead.org.il. The URL is
>certainly functionally correct, but it annoys me, since I prefer that
>all referneces to my site carry the correct capitalization. It is true

You could do this with url_part_aliases or if you're so inclined, you
can also remove the lowercasing in htlib/URL.cc (look for
_host.lowercase()).

Essentially you want a canonical case and that can be tricky to
enforce unless you have control over all the links.

--
-Geoff Hutchison
Williams Students Online
http://wso.williams.edu/

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



This archive was generated by hypermail 2b28 : Mon Apr 10 2000 - 04:51:32 PDT