mamil
1
@fox, is it possible to add Time to the list of fields against which rules can be matched? I’m trying to weed out fixed-time-variable-contents bot posts.
b4cbc792c
fox
2
timestamp is passed to HOOK_ARTICLE_FILTER, you can make a plugin for that. it seems a bit too specific and useless to have a special match for timestamp.
It is passed, but as far as I can tell, the plugin can’t delete articles or mark them read. If I’m mistaken, please correct me.
fox
4
you can’t delete but setting force_catchup in the resulting article object would force mark it as read.
i suppose another similar field like force_stop could be added which would stop all further article processing thus effectively deleting it (well, never importing).
Yes, never or don’t import would do the trick.
Should the “delete” action in Filters be renamed to “don’t import”? Is there a difference in the end result?
fox
6
functionally it’s the same, isn’t it? delete (from the source feed) or don’t import (to the database). it’s a matter of perspective. 
i suppose another flag similar to force_catchup should be named force_delete for consistency.
Ok. I set $article[force_catch_up] in my plugin and it works great. Thanks for the info.