[thelist] CSS Strangeness

Matthew Brooks m at pleonasm.com
Mon Jul 16 18:55:02 CDT 2001


Simon Coggins <ppxsjc1 at unix.ccc.nottingham.ac.uk>
>
><tip type="Site searches" author="Simon Coggins">
>atomz.com provide a great free site searching tool for small sites. It's
>completely customizable, gives good results and requires only a small,
>tasteful advert.
></tip>

Actually, unless they've changed something in the last couple of months,
it's not *completely* customizable; you can't get it to produce valid
XHTML. For example, it churns out code like this:

<img src="http://search.atomz.com/search/i/lblw1a.gif" width=195 height=35
border=0 alt="Powered by Atomz">

The XHTML specification, among other things, requires quoted attribute
values. So, it should be width="195", not width=195, and so on. Atomz also
produces unclosed tags such as <br>, which are not valid XHTML.

I spent hours trying to fudge the Atomz Perl scripts back in May, and while
I managed to XHTML-ize a lot of tags, some eluded me. I gave up and wrote
to Atomz, and to their credit they admitted all of this, and said they
would work on it. They added: "we have very low cost options for upgrading
to a plan that does not require the logo.  Once you upgrade, you can remove
this code entirely from your template." What you pay is what you get.

Anyone know if this is fixed yet? If not, anyone know of any search engine
scripts that produce valid XHTML?

Matt





More information about the thelist mailing list