Feeds Expirator
Categories
Component ID
2226917
Component name
Feeds Expirator
Component type
module
Maintenance status
Development status
Component security advisory coverage
covered
Downloads
527
Component created
Component changed
Component body
Feeds Expirator is a simple module which allows you to expire entities created through Feeds module based on the date present in the source feed. It can be applied to any entity. It creates "Expiration date" target for you, so you don't need to add any additional fields to the entity (Feeds Expirator just adds one column to the feeds_items table). Purging of the expired items happens during cron run.
How to
- Enable the module
- Add "Expiration date" target to any Feeds importer mapper
- Make sure that cron is running regularly
- Profit!
Requirements
Settings
You can set maximum number of entities expired per cron run by adding a configuration setting to your settings.php.
$conf['feeds_expirator_cron_limit'] = 50; // default
$conf['feeds_expirator_cron_limit'] = 0; // no limit, all entities will be purged during single cron run
Credits
Photo by Mark Turnauckas.
