Oppz.. it is not that old! I guess that's only the file revision:
$Id: swish.cgi.in,v 1.22 2006/10/05 13:34:46 karman Exp $
However I found out that I can change the search object by using the $search->set_structure( $structure_bits ); function.
Now, what I need to figure out is where I have to put this line, I can't find it anywhere in the source code/configuration!
>From: Peter Karman [mailto:firstname.lastname@example.org]
>Sent: Friday, April 13, 2007 02:01 PM
>To: 'Swish-e Users Discussion List'
>Subject: Re: [swish-e] modifying swish-e result title
>Rasael Bervini Monkow scribbled on 4/13/07 3:31 PM:
>> Dear list,
>> I have to modify the source code of swish-e 1.22 and I would need some help
>> pointing me in the right direction. I cannot upgrade to upper version of
>> swish-e cause company rules.
>> So here's my "problem":
>> When swish-e fetches the results, catches the title of the pages from the
>> <title> tag. I would like to return instead the first <h1> tag in the page
>> that gives a better description of the result. I am new to perl so I am
>> trying to figure out where can I find the logic where it looks for the title
>> tag and modify it.
>are you really using Swish-e 1.22? that's like 10 years old.
>or do you mean the swish.cgi script version 1.22?
>Peter Karman . http://peknet.com/ . peter(at)not-real.peknet.com
>Users mailing list
Users mailing list
Received on Fri Apr 13 17:13:16 2007