- Author: Charles Johnson
- License: GPL
- Compatibility: WordPress 3.0+, with FeedWordPress 2010.0905 or later.
- Status: Supported and mature. Bug fixes released as necessary.
Download
- Version 2011.0210
Current stable release
FWP+: Limit Posts By Date is an add-on module for FeedWordPress that allows you to automatically filter incoming posts based on the date, age, or total number of posts, allowing you to set limits so that posts which are too old will not be syndicated.
To install the add-on, simply download the installation package for the latest version, unzip the contents, and drop the module into your wp-content/plugins
directory. Then activate the add-on like any other WordPress plugin. (For more on installing and managing WordPress plugins, see WordPress: Managing Plugins.)
Once the add-on is installed and activated, you can set up your filtering by going to Syndication –> Feeds & Updates, where you should find the new Limit posts by date
settings box.
This box provides two means for filtering posts by their date or age.
First, you can choose to create a simple filter based on a fixed date or a span of time. To set up such a filter, use the Date filter
setting, providing it with a cut-off date, or else with a timespan (so that FWP will, for example, filter out — will not syndicate — any posts older than November 1, 2010; or so that it will, for example, not syndicate any posts more than 5 days old at the time FeedWordPress first encounters the post on its source feed).
Second, you can choose to limit the number of new items that FeedWordPress will syndicate at any one time — so that, for example, FWP will only syndicate up to 5 of the most recent new items, rather than all new items, when it finds several new items on a feed.
Note that this add-on only filters out posts that exceed the limits you set at the time FeedWordPress first encounters them on their source feeds. If you set a filter on posts from more than 5 days ago
, the filter will prevent any more items more than 5 days old from being syndicated in the first place. But it will not go back and retroactively drop existing syndicated posts that are now more than 5 days old.
Acknowledgements
Many thanks to the folks at iheartsl.com and metavirtual.us for their generous support of the FeedWordPress project and the experimental development of this add-on. Their gifts and hands-on help with beta testing were extremely helpful in making it possible for me to devote the time and labor necessary to develop this add-on module.