XHTML 1.0 compliant output

Post Reply
davidtg
Posts: 47
Joined: Wed Aug 08, 2001 4:07 pm

XHTML 1.0 compliant output

Post by davidtg »

Hi,

We're working to get our sites XHTML 1.0 compliant.

After many search script modifications we find 2 issues remaining with our Webinator search page results. It also appears the changes needed are within the executables and not within our reach directly.

1) the highlighting of search terms in the abstract are formated <B>...</B> - the tags must be <b>..</b> - low case in XHTML.

2) the bottom license logo has a bunch of formating problems for valid XHTML. We are licensed but not high enough to have this removed. So we need to reformat for XHTML compliance.

<H6 ALIGN=right><A HREF="http://www.thunderstone.com/" TARGET="_top"><IMG SRC="/texis/copy.gif" BORDER=0 WIDTH=304 HEIGHT=11 ALIGN=top ALT="Texis & Webinator Copyright (c) 2005 THUNDERSTONE - EPI, Inc."></A></H6>

Changed to:

<h6 align="right"><a href="http://www.thunderstone.com/" target="_top"><img src="/texis/copy.gif" border="0" width="304" height="11" align="top" alt="Texis & Webinator Copyright (c) 2005 THUNDERSTONE - EPI, Inc." /></a></h6>

Any chance of a workaround for these two formating issues?

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

XHTML 1.0 compliant output

Post by mark »

The first could be handled with a <capture>, <sandr>, <send> in the script where it hilights the query terms to translate the <B> to <b> etc.

The second would require changes to the texis binary.
adrian.gurnett
Posts: 3
Joined: Tue Jan 15, 2008 7:04 am

XHTML 1.0 compliant output

Post by adrian.gurnett »

could you give an example of how this is done.
Im having the same issue

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

XHTML 1.0 compliant output

Post by mark »

Change
<showresults>
to
<capture><showresults></capture>
<sandr "<B>" "<b>" $ret>
<send $ret>
adrian.gurnett
Posts: 3
Joined: Tue Jan 15, 2008 7:04 am

XHTML 1.0 compliant output

Post by adrian.gurnett »

Thanks for this,

What is <capture>?
i dont see it listed in the built in function list and the script is throwing an error when using it.
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

XHTML 1.0 compliant output

Post by mark »

adrian.gurnett
Posts: 3
Joined: Tue Jan 15, 2008 7:04 am

XHTML 1.0 compliant output

Post by adrian.gurnett »

got it!..thanks again for your assistance :)
Post Reply