Auto Post Generator
Wordpress Auto Post Generator
by APG · github.com/mohikhwan/wp-auto-post-generator · website
★ 0stars
2release downloads
0forks
Install
The author publishes release zips, so WP-CLI can install straight from GitHub:
wp plugin install https://github.com/mohikhwan/wp-auto-post-generator/releases/download/v0.1.0/auto-post-generator.zipA WordPress plugin that automatically creates blog posts from RSS feeds at regular intervals.
Features
- Automatically fetches and creates posts from RSS feeds
- Configurable update interval (default: every 5 minutes)
- Smart post creation that skips duplicate content
- Admin interface for monitoring and manual control
- Detailed logging for troubleshooting
Installation
- Download the plugin files
- Upload the
auto-post-generatorfolder to the/wp-content/plugins/directory - Activate the plugin through the 'Plugins' menu in WordPress
Configuration
Changing the RSS Feed URL
To change the RSS feed URL, edit the auto-post-generator.php file:
- Open
wp-content/plugins/auto-post-generator/auto-post-generator.php - Find the line with the RSS feed URL (around line 118):
$feed_url = 'https://www.cnet.com/rss/news/'; - Replace the URL with your desired RSS feed
- Save the file
Changing the Update Interval
To change how often the plugin checks for new posts:
- Open
wp-content/plugins/auto-post-generator/auto-post-generator.php - Find the cron interval definition (around line 365):
$schedules['five_minutes'] = array( 'interval' => 5 * 60, // 5 minutes in seconds 'display' => __('Every 5 minutes', 'auto-post-generator') ); - Modify the interval value (in seconds) and the display name
- Save the file
- Deactivate and reactivate the plugin to apply changes
Usage
Admin Interface
The plugin adds a menu item "Auto Post Generator" to your WordPress admin sidebar with two submenus:
-
Cron Status
- View the next scheduled run time
- Check current time
- View available schedules
- Monitor all scheduled events
-
Manual Trigger
- Manually trigger post generation
- View generation results
Manual Testing
You can test the plugin manually by:
- Visiting
http://your-site.com/?test_apg=1 - Or using the "Manual Trigger" button in the admin interface
Troubleshooting
If posts are not being generated:
- Check the WordPress debug log for error messages
- Verify the RSS feed URL is accessible
- Ensure the cron job is properly scheduled
- Check if the feed contains valid content
Requirements
- WordPress 5.0 or higher
- PHP 7.0 or higher
- WordPress cron enabled
- Access to RSS feed
Support
For support, please:
- Check the WordPress debug log for error messages
- Verify your RSS feed is accessible
- Ensure your WordPress cron is working properly
License
This plugin is licensed under the GPL v2 or later.
Releases
1 release. Each count is every asset in that release; expand a row for the breakdown.
Tag
Published
Assets
Downloads