Hello Victor!

Friday February 22 2002, Victor Porton <[EMAIL PROTECTED]> wrote:

> P.S. It is possible, indexing web pages, exclude these multidious *.gif,
> *.jeg, *.css, but list only *.*htm* and *.xml pages?

As I understand the examples in wwwoffle.conf, it is possible.

You could either use the approach of excluding what you don't want

IndexOptions
{
 <*://*/*.gif> list-any = no
 <*://*/*.jpg> list-any = no
 <*://*/*.css> list-any = no
}

or of showing only the files you explicitly want

IndexOptions
{
 <*://*/*.html> list-any = yes
 <*://*/*.htm> list-any = yes
 <*://*/*.xml> list-any = yes
 <*://*/*.txt> list-any = yes
 list-any = no
}

I'd prefer the first method though, because it's easier to ignore an
entry that's displayed and add a config line for that later than to
find something that isn't being displayed.

(Disclaimer: The examples are untested, but should work anyway.)

-- 
       |_|\                  Fido:              2:244/1512
       | |/                   PGP:       2047/962CC1B5 1996/04/05
GCS d- s:+>:- a- C++(+++) US P+ L+ E- W++(-) N++(*) K-- w-- O++ M- V?
    PS+ PE Y+ PGP++ t+ 5(+) X(+) R tv++ b+ DI- D+ G+ e h! r++(---) y*

Reply via email to