You can use the url_part_aliases feature to get this done. You need two
config files, one for digging, one for searching.

In the dig config, you set url_part_aliases: http://original_url.com/
replace#1
In the search config you set url_part_aliases: http://new_url.com/ replace#1

replace#1 may be any string, which is not a common word in your documents (I
always use replace#1 replace#2 and so on for such "rename" tasks)

See http://www.htdig.org/attrs.html#url_part_aliases

Bye

  Stefan

-----Ursprüngliche Nachricht-----
Von: Matthias Kleine [mailto:[EMAIL PROTECTED]]
Gesendet: Freitag, 12. Januar 2001 11:43
An: [EMAIL PROTECTED]
Betreff: [htdig] prepare a search index for a different URL


Hi there,

we aim to deliver a large documentation to a customer and 
want to include a search engine in this package.

The easiest way of installation would be, if the search index
of the documentation could be created without knowing the 
final URL. Example: I create a search index for 

http://www.mydocumentation.com/projectfolder 

and all subdirectories. Afterwards, the documentation will
be used by the customer under 

http://www.customersdomain.com/projectfolder

It should now be possible to install the htdig-files and to
tell the search index that the first part of all URL's has
changed to a different value (while everything else stayed 
the same). 

Is this possible or has the search index to be built completely
new each time when the basic URL changes? (I.e. the use of a 
variable for the basic URL is not possible).

Thanks for any hints,
Matthias Kleine
-- 
-----------------------------------------------------------------
Matthias Kleine                   Phone: ++49-(0)6 11-17 31-624
Patzschke + Rasp Software AG      Fax:   ++49-(0)6 11-17 31-31
Bierstadter Straße 7              mailto:[EMAIL PROTECTED]
D-65189 Wiesbaden                 Web Site: http://www.prs.de/
-----------------------------------------------------------------

------------------------------------
To unsubscribe from the htdig mailing list, send a message to
[EMAIL PROTECTED]
You will receive a message to confirm this.
List archives:  <http://www.htdig.org/mail/menu.html>
FAQ:            <http://www.htdig.org/FAQ.html>

------------------------------------
To unsubscribe from the htdig mailing list, send a message to
[EMAIL PROTECTED]
You will receive a message to confirm this.
List archives:  <http://www.htdig.org/mail/menu.html>
FAQ:            <http://www.htdig.org/FAQ.html>

Reply via email to