TimeOption to = (TimeOption)mdlTimeOption.getValue();
if (article.getPublicationDate().getTime() < System.currentTimeMillis() - to.getOffset()) return false;
// Check the starz
Integer starz = (Integer)mdlStarz.getValue();
IFeed feed = article.getFeed();
if (starz > 1 && feed.getRating() < starz) return false;
// Check self-referencing
if (dontCountSelfReferences)
{
String linkHost = link.getLink().getHost();
URL articleLink = article.getLink();
if (articleLink != null && articleLink.getHost().equalsIgnoreCase(linkHost)) return false;
}
// Check guides
return targetGuide == null || targetGuide.getID() == -1 || feed.belongsTo(targetGuide);
}