Skip to main content.
home | support | download

Back to List Archive

Re: limit indexing / searching based on meta tag

From: Rob Mangiafico <rmang(at)not-real.lexiconn.com>
Date: Thu Aug 10 2006 - 00:54:51 GMT
On Wed, 9 Aug 2006, Rob Mangiafico wrote:
> I am using the spider.pl method to index a website. I would like to only 
> index those pages that have a specific meta tag, i.e.:
> <meta name="generator" content="blah blah custom">
> 
> So, any page with a meta tag of generator that contains the keyword 
> "custom". If I cannot limit the indexing, can I restrict searches to only 
> look in webpages that have this specific meta content?

Nevermind on searching. Answered my own question (it's been a long day):

swish-e -w 'foo AND generator=custom'

Still not sure on only indexing those files with custom in the generator 
meta tag. That would save time on building the index, which is somewhat 
large.

Rob
Received on Wed Aug 9 17:54:53 2006