We'll create fresh WordPress site with PlanetPlanet – RSS feed aggregator installed. You have 20 minutes to test the plugin after that site we'll be deleted.
The PlanetPlanet plugin will convert a WordPress site into an RSS/Atom feed aggregator by regularly reading all the configured feeds and importing the items in the feeds to WordPress posts.
The feeds are registered in the old WordPress links/bookmarks section, which is automatically reactivated. Feeds can be added, modified and deleted there.
The imported posts contain title, excerpt and maybe content from the feed items. Additional custom fields are added with some data that doesn’t intuitively map to WordPress posts. If the feed item has a featured image, that is imported too.
Links to the imported posts redirect to the original post.
A post category is created automatically for each feed. The category page redirects to the originating site.
Imported posts are purged automatically after a configurable period.
Importing and purging articles can be scheduled using wp-cron. Output from scheduled actions can be mailed.
The plugin adds a WP-CLI command ‘planet’ with sub-commands for listing feeds, adding feeds, updating individual or all feeds, purging posts, and scanning web pages for available feeds. This allows most administration and actions to be run without using wp-cron.
Implementation notes: feeds errors are counted in the link_rating field, and the feed is marked not visible if it generates too many errors.
The fields in the Links section are used like this:
The plugin adds a ‘Planet Planet’ sub-menu under Settings.
Whenever a feed update fails, the error messages is recorded in the ‘description’ field for the feed in the WP links manager. The error count is registered in the link rating field, so a higher rating means more consecutive errors.
If a feed generates too many (configurable) consecutive errors, it is marked as ‘not visible’. It will not be updated any more. It can always be reactivated in the links manager.
Old posts from a disabled or deleted feed are not removed. They can be easily identified through the post category for the feed.
The error count and the saved error message are reset with each successful update.