Skip to main content.
home | support | download

Back to List Archive

Re: Ignoring text/MetaTags

From: Bill Moseley <moseley(at)not-real.hank.org>
Date: Sun Jul 18 2004 - 06:40:35 GMT
On Fri, Jul 16, 2004 at 12:54:42PM -0700, intervolved none wrote:
> I have a problem with swish-e indexing some links on the page.  I do
> not have it set to index the links but it is.  I have version 2.4.2
> installed.
>  
>  
> I read the documentation and was trying to not index the parts by
> putting in "XMLClassAttributes class" and "IgnoreMetaTags td.navBar"
> in the config file to not index those parts on a page.  I assume
> that I have a typo.... thanks in advance..

I think you have to be parsing XML to use XMLClassAttributes.

>From parser.c:

    if ( !parse_data->parsing_html && attr )
    {
        int class_found = 0;

        /* Allow <foo class="bar"> to look like <foo.bar> */

Could you wrap your menus in <!-- noindex -->....<!-- index --> ?

-- 
Bill Moseley
moseley@hank.org

Unsubscribe from or help with the swish-e list: 
   http://swish-e.org/Discussion/

Help with Swish-e:
   http://swish-e.org/current/docs
   swish-e@sunsite.berkeley.edu
Received on Sat Jul 17 23:40:45 2004