|
|
[Perlfect-search] Cut out parts of the url
Daniel Naber perlfect-search@perlfect.com
Tue, 23 Jul 2002 00:06:45 +0200
On Monday 22 July 2002 23:16, Jens Gutzeit wrote:
> I use perlfect search for indexing dynamic php files via http spidering.
> These files makes use of session ids, and perlfect search shows them in
> the url of the listed matches, how can I cut out those
> 'sid=5a002fba79f629941e3c7ec0781d79a6' strings of the link?
You'll have to add one line before this code in search.pl
$template->cast_loop ("results", [{rank => $first+(++$rank),
namley something like this (untested):
$url =~ s/\?sid=.*//;
Regards
Daniel
--
http://www.danielnaber.de
|
|