Filter syndicated posts by date or age with FWP+: Limit Posts By Date(posted on 08 November 2010)
I’m happy to announce the public release of FWP+: Limit Posts By Date version 2010.0929!
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.
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.
Download and enjoy! As always, if you have any questions, comments, concerns, feedback, applause, brickbats, &c., let me know in the comments section.