On Wed, 1 Aug 2001, Anders Karlsson wrote:

> The URLs that I retreive when doing an htdig look similar to;
>       http://site.se/documents/doc5.html
> 
> I'd like to translate this when it is displayed to the user via htsearch to;
>       http://site.se/search/search.php?doc=doc5.html

It sounds like you want 2 sets of URLs, one for indexing, and one for
display through htsearch. If so, you want
url_part_aliases: <http://www.htdig.org/attrs.html#url_part_aliases>

It's hard to know from one example how you might want the rule to work,
but I'll guess it's something like this:

(in the conf for indexing)
url_part_aliases: site.se/documents/ *1

(in another conf for display via htsearch)
url_part_aliases: site.se/search/search.php?doc= *1

This will take the first pattern and make sure it's "decoded" to the
second.

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


_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to