Skip to main content.
home | support | download

Back to List Archive

Re: Bad directive on line #181: IndexContent HTML

From: David Wood <dwood(at)not-real.inter.nl.net>
Date: Tue Apr 03 2001 - 09:49:48 GMT
Hi Bill,

Ouch, I should have caught that, sorry.  On the other hand, you might want 
to update user.config in several places starting at line 182, as that's 
where I got the bad 'IndexContent' string from.

cheers,

David


At 07:29 03-04-01, Bill Moseley wrote:
>At 06:51 PM 04/02/01 -0700, David Wood wrote:
> >FileFilter .xls iw_to_html
> >IndexContent HTML .xls
> >
> >is giving the errors:
> >
> >Bad directive on line #181: IndexContent HTML .doc
>
>Try IndexContents
>
>http://sunsite.berkeley.edu:4444/SWISH-CONFIG.html#item_IndexContents
>
> >The FileFilter directives seem to work fine without the IndexContent
> >directives.  By the way, do I need to use those IndexContent directives at
> >all or do all filters default to HTML?  The docs say that HTML is the
> >default, but this example:
>
>Yes, the default is to index as html, unless you change the DefaultContents.
>
>http://sunsite.berkeley.edu:4444/SWISH-CONFIG.html#item_DefaultContents
>
>
>Again you may find slightly better indexing speed by using the "prog"
>feature and filter the documents before passing to swish.  The filter
>feature runs an external program for every document filtered.  On the other
>hand, filters are probably easier to configure since it's all done from the
>config file, and the expense of forking/exec for every filtered document
>probably isn't that much.
>
>
>
>Bill Moseley
>mailto:moseley@hank.org
Received on Tue Apr 3 09:58:57 2001