According to Alan Jiang:
> I have a question about rewritting the URLs in the search results. I am
> not sure how to set up the url_part_aliases configuration file
> attribute. The document on htdig is kind of arcane because I have no clue
> what those *1, *2 stand for.

The description at http://www.htdig.org/attrs.html#url_part_aliases says,
among other things, that "the choice of to-strings is pretty arbitrary,
as they just provide a temporary, internal encoding in the databases, and
none of the characters in these strings have any special meaning."  So,
they don't stand for anything - it's simple string replacement, one way
during indexing and the opposite way when pulling URLs out of the index.

> I need to replace
> http://xxx.com/raw/test
> 
> with
> 
> http://www.test.com
> 
> I know that you need two configuration files with two identical  "to"
> strings but different "from" strings. I played with it myself but it
> didn't work out very well.
> Any suggestions will be greatly appreciated.

See also http://www.htdig.org/FAQ.html#q4.17

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/
Dept. Physiology, U. of Manitoba  Winnipeg, MB  R3E 3J7  (Canada)

_______________________________________________
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