Feed::Backend::Criteria
Inherits Feed::Backend < Reference < Object
A criteria judge.
An object is judged against structured criteria carried in the
feed's params, organized into groups: keywords (matched by
case-insensitive substring over the object's HTML-stripped
content and summary and its plain-text name) and hashtags
(matched by exact, case-insensitive equality against the
object's hashtag names) and mentions (matched by qualified,
case-insensitive handle or by actor IRI). Each group carries
any/all/none term lists. Terms are evaluated together: an
object is in when at least one positive term matches (and every
all term matches) and no none term matches. Exclusion always
wins, across groups.
Constants
Class methods
Instance methods
Declares the judge's cost given a feed's params.
Judges a batch of objects for a feed.
Returns one Judgment or Failure per object, in the same order.
Raises if the judge can't answer for the entire batch.
Sorts every group's selectors' term list.
Drops the entry order.
Reports the judge's revision given a feed's params.
Changes when a change to the judge would change its answers.