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

  1. Enable the module
  2. Add "Expiration date" target to any Feeds importer mapper
  3. Make sure that cron is running regularly
  4. 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.

Project information

  • caution Minimally maintained
    Maintainers monitor issues, but fast responses are not guaranteed.
  • caution Maintenance fixes only
    Considered feature-complete by its maintainers.
  • Project categories: Import and export
  • By wojtha on , updated
  • shieldStable releases for this project are covered by the security advisory policy.
    There are currently no supported stable releases.

Releases