Page 1 of 1

XHTML 1.0 compliant output

Posted: Tue May 16, 2006 9:53 pm
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

XHTML 1.0 compliant output

Posted: Wed May 17, 2006 1:12 pm
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.

XHTML 1.0 compliant output

Posted: Tue Jan 15, 2008 8:03 am
by adrian.gurnett
could you give an example of how this is done.
Im having the same issue

thanks

XHTML 1.0 compliant output

Posted: Tue Jan 15, 2008 10:32 am
by mark
Change
<showresults>
to
<capture><showresults></capture>
<sandr "<B>" "<b>" $ret>
<send $ret>

XHTML 1.0 compliant output

Posted: Tue Jan 15, 2008 11:11 am
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.

XHTML 1.0 compliant output

Posted: Tue Jan 15, 2008 11:41 am
by mark
http://www.thunderstone.com/site/vortexman/capture.html

Maybe you're using it wrong. It's been in vortex since 1998. Using an unknown tag would cause it to be output literally rather than generating an error. What error are you getting?

XHTML 1.0 compliant output

Posted: Tue Jan 15, 2008 12:13 pm
by adrian.gurnett
got it!..thanks again for your assistance :)