Perlfect Solutions
 

[Perlfect-search] Passing a hidden variable to Perlfect and adding to a link

Robert van Hall perlfect-search@perlfect.com
Thu, 09 Oct 2003 12:18:46 +0200
>>> daniel.naber@t-online.de 10/08/03 09:12pm >>>
On Wednesday 08 October 2003 03:35, ltellony@speakeasy.net wrote:
........................................
 Also, I want to add "target=_top"
> for example "<a href='url' target=_top>".  However, I tried and the
best
> I get is "<a href='url target=_top'>".

If you need it for all links, you can just add it in
templates/search.html. 
If you only need it for some links, you'll need to add a new variable
like 
<!--item: target--> and assign to it in search.pl ($h{'target'} =
...).
..........................................
Hi Daniel,

This sounds very interesting.
What I would like to do is opening the pdf's in the search results in a
new wondow, and the html's just in the same frame.
Can this be done in Pelfect Search? And if so, how can I do it?

Kind regards,
Robert van Hall