search results and css

Post Reply
john208
Posts: 86
Joined: Sat Aug 14, 2004 12:56 pm

search results and css

Post by john208 »

The standard search results has font tags and other tags that conflict with css. We don't use these font and other tags, just css. Do you have a search results script that does not have these tags?

Thanks, John
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

search results and css

Post by mark »

No. You can edit the script to fully customize the results.
jon-paul
Posts: 15
Joined: Wed Jul 21, 2004 12:36 pm

search results and css

Post by jon-paul »

I've managed to modify the scripts to be more web standard compliant without too much hassle...just need to dig through it a bit.
john208
Posts: 86
Joined: Sat Aug 14, 2004 12:56 pm

search results and css

Post by john208 »

I'm trying to change the search results to be valid XMTML. I've gotten quite far. However, when I click on "Match Info", it goes into a part of the search script that has me stumped.

Seems like the output is coming from the context function. I am trying to change <B> to <strong>, etc. I've done this elsewhere using the sandr function, but it's not working. Seems like $Title and $Description, etc. don't have html tags in them. How do I change the html?

Thanks, John
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

search results and css

Post by mark »

The <mm>...</mm> causes everything displayed between the to get marked up with the fmtcp query settings. You can either get rid of those and <strfmt> & <sandr> each item individually. Or you could <capture> the whole thing as is and <sandr> that.
Post Reply