helsingborg-stad / import-rss-feed
Probably the last Wordpress RSS importer. Import items from RSS feed to any post type.
Installs: 297
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 5
Forks: 0
Open Issues: 0
Type:wordpress-plugin
Requires
- composer/installers: ~1.0
- helsingborg-stad/acf-export-manager: >=1.0.0
This package is auto-updated.
Last update: 2024-11-22 02:37:09 UTC
README
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