sounds like maybe the html in the swishtitle is getting filtered to be 'safe'
html, thus turning < into < and so forth.
Does the highlighting code do that kind of filtering? or some other place in the
chain?
?
Loren Gordon scribbled on 8/19/05 8:55 AM:
> Hello,
> I'm trying to figure out why the <font style= ></font> tag keeps appearing in the title of returned documents.
>
> In my swishcgi.conf, I added a definition for the metagroup "all" that includes swishdefault, swishtitle, and swishdocpath.
>
> meta_groups => {
> all => [qw/ swishdefault swishtitle swishdocpath /],
> },
>
> I also added "all" to the searchable metanames.
>
> metanames => [qw/ all swishdefault swishtitle swishdocpath /],
>
> When conducting the search, if I select the "All" radio button, I keep getting the <font> tags in the title of the returned documents. The text within the font tag is the search term. Like this:
>
> <font style="background:#FFFF99">Search term</font>Some more title
>
> If I select the "Title & Body" radio button (swishdefault), I don't get the tags. It looks like this:
>
> Search term Some more title
>
> I'm guessing it has something to do with the highlighting, but I'm not sure how to change the behavior. Any ideas?
>
> Thanks,
> Loren
--
Peter Karman . http://peknet.com/ . peter(at)not-real.peknet.com
Received on Fri Aug 19 07:31:08 2005