The Problem with absolute/relative Path is solved with the hint from Rainer.

Now I have the next problem:

When I get a hitlist with more than 10 results the Link for the next page etc. 
is built also with an absolute path.

I think that it is built in the footer.html. There this the following content 
which build the nextpage, etc:

$(PREVPAGE) $(PAGELIST) $(NEXTPAGE)

Is there a possibility to change this "variables"? My idea is like this:

PREVPAGE_NEW=../$PREVPAGE
NEXTPAGE_NEW=../$NEXTPAGE
PAGELIST_NEW=../$PAGELIST

Display the "new" hitlist:
$(PREVPAGE_NEW) $(PAGELIST_NEW) $(NEXTPAGE_NEW)

Any Ideas?
Thanks,
Bernhard




-----Ursprüngliche Nachricht-----
Von: SCHITTER, Bernhard 
Gesendet: Donnerstag, 28. Juni 2007 09:36
An: '[email protected]'
Betreff: AW: [htdig] Absolute / Relative Path in Search-Results

Hello Rainer,

search_rewrite_rules was exactly that what I need.

Thanks,
Bernhard 


-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Rainer Sokoll
Gesendet: Mittwoch, 27. Juni 2007 13:52
An: [email protected]
Betreff: Re: [htdig] Absolute / Relative Path in Search-Results

On Wed, Jun 27, 2007 at 01:24:14PM +0200, SCHITTER, Bernhard wrote:

> Now the page should be reached over an portal that needs relative paths.

Can't you just index the portal?

> Is there a possibility to change the search-results to a relative path?

Mayby search_rewrite_rules is what you are looking for.

Rainer

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE 
version of DB2 express and take control of your XML. No limits. Just data. 
Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
ht://Dig general mailing list: <[email protected]>
ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html
List information (subscribe/unsubscribe, etc.) 
https://lists.sourceforge.net/lists/listinfo/htdig-general

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
ht://Dig general mailing list: <[email protected]>
ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html
List information (subscribe/unsubscribe, etc.)
https://lists.sourceforge.net/lists/listinfo/htdig-general

Reply via email to