A profile contains the following:
Name - appears with the output story to identify which profile was matched
(required)
Score - indicates how well the profile has to match (higher numbers filter
out more stories (optional: default 30)
Required - words that are required to be in the story or it doesn't match
(semi-optional)
Desired - words that might be in the story for it to match (semi-optional)
Excluded - words that can not appear in the story, otherwise it doesn't
match (optional)
Obviously, one or both of 'Required' or 'Desired' must be present or it wont
match anything.
The score is
a minimum value that must be matched (basically a percentage of keyword hits
vs. number of sentences). The required keywords must be present or the
story does not match. The desired keywords give hits about what is
interesting. The more desired keywords that match, the higher the story
scores. The exclude keywords will cause a story not to match if they are
present.
All of the keywords (required, desired, exclude) can be phrases and all are
processed as PERL regular expressions so they can be quite complex if
needed. Keywords are separated by either a comma or a newline. Scouts.nhp
is probably the richest example of what can be done with a profile (includes
regular expressions).
I added an "IgnoreProfiles" command to the site file definition to allow
users to scoop the entire site rather than just the stories that match.
To turn on Profile mode, use the