Description
Does a dated search at www.altavista.digital.com for content that has specified keywords (ANDed) and does not have specified exclude words.
Configuration Variables
nDaysToSearchBackThe number of days to search back from today. Defaults to 7 days.mustHaveWords
A list of words to search for. The words are ANDed to form the actual query. For example,
(mustHaveWords voyager space exploration)
mustNotHaveWords
A list of words that may not appear. For example,
(mustNotHaveWords sex nude erotic)
urlBase
Defaults to http://www.altavista.digital.com/. May be changed to serve the needs of organizations that have their own internal altavista service.urlModifier
A part of the standard query string that is built by this agent. The default is correctly set up for english queries on the World Wide Web. This may need to be modified for individual organizations with custom altavista services.Product
Builds a VectorProduct who's id is the id of the agent and who's description is the description of the agent. Every item in the product has
- an id which is the first line in the entry
- a description taken directly from the entry
- a URL taken directly from the entry
How it works
Tries up to three times to contact Altavista. Attempts are separated by 1 minute.Results are scanned looking for html <dt> tags followed by
- quoted string(URL)
- id (up to <DD> tag)
- description text (up to <BR> tag)
Revised: 12 January 1999