Skip to main content.
home | support | download

Back to List Archive

Re: Getting a description out of the html <body>

From: Bill Moseley <moseley(at)not-real.hank.org>
Date: Wed Mar 27 2002 - 14:43:23 GMT
At 04:30 AM 3/27/2002 -0800, Markus Strickler wrote:

>For exampleif my html contains:
><body class="portal" bgcolor="#F0F0F0" text="#000000" link="#000000"
>vlink="#000000" alink="#000000" leftmargin="0" rightmargin="0"
>topmargin="0" bottommargin="0" marginwidth="0" marginheight="0">
>
>Swishdescription will start with:
>class="portal" bgcolor="#F0F0F0" text="#000000" link="#000000"
>vlink="#000000" alink="#000000" leftmargin="0" rightmargin="0"
>topmargin="0" bottommargin="0" marginwidth="0" marginheight="0">

Are you saying that swish is returning that for the description?

>Is this a bug? Or did I something wrong in the config?

Yes, look at line 23 of your config file.  I hope my ESP powers are working!
Post your config AND a the HTML file, as you shouldn't see the contents of
the tag.

Oh regarding <span>, you might look at XMLClassAttributes in the 2.1 docs.
I though I had added a config option to let you define what attributes to
use (instead of hard-coding "class"), and I can't imagine (at this moment)
why that couldn't be extended to HTML parsing.



Bill Moseley
mailto:moseley@hank.org
Received on Wed Mar 27 14:43:25 2002