WP Manifestindependent plugin directory
manifest / content / import-rss-feed

Import RSS Feed

Probably the last Wordpress RSS importer. Import items from RSS feed to any post type.

★ 1stars
297composer installs

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/helsingborg-stad/import-rss-feed/archive/refs/heads/master.zip

On Packagist as helsingborg-stad/import-rss-feed:

composer require helsingborg-stad/import-rss-feed
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Probably the last Wordpress RSS importer. Import items from RSS feed to any post type.

Dependencies

ACF Pro is required to run this plugin.

Actions

ImportRssFeed/ImportManager/start/beforeUpdatePost

Do action before import

  • @param object $post - Post object (/ImportRssFeed/ImportManager/Post)
  • @param object $feed - RSS feed object(/ImportRssFeed/ImportManager/RssFeed)
do_action('ImportRssFeed/ImportManager/start/beforeUpdatePost', $post, $feed);

ImportRssFeed/ImportManager/start/afterUpdatePost

Do action after import

  • @param object $post - Post object (/ImportRssFeed/ImportManager/Post)
  • @param object $feed - RSS feed object(/ImportRssFeed/ImportManager/RssFeed)
do_action('ImportRssFeed/ImportManager/start/afterUpdatePost', $post, $feed);

ImportRssFeed/Post

Do action when mapping post object from RSS item data, can be used to manipulate the post object before import.

  • @param object $this - Post object (/ImportRssFeed/ImportManager/Post)
  • @param object $item - RSS item (SimplePie_Item)
do_action('ImportRssFeed/Post', $this, $item);

Filters

ImportRssFeed/OptionsPage/PostTypes

Filters avalible post types used when importing a RSS feed

  • @param array $postTypes - Array containing post types (slug as key, label as value)
apply_filters('ImportRssFeed/OptionsPage/PostTypes', $postTypes);

To-Do's

  • Fix Simple Pie date error
  • Create and save log of import events from cron jobs
  • Display log of import events during manual import
  • Remove cron jobs when uninstalling plugin