- Navigate to Settings → Content Extractor in WordPress admin
- Enter your Source URL (the URL to extract content from)
- Click Save Changes
The plugin automatically runs every 30 minutes via WordPress cron:
- Fetches content from the configured URL
- Parses and extracts post data
- Publishes posts to WordPress
- Downloads and sets featured images
- Handles pagination automatically
To trigger extraction manually:
// In your theme's functions.php or a custom plugin
if (function_exists('ce_extract_content')) {
ce_extract_content();
}Or via WP-CLI (if you add a custom command):
wp eval 'ce_extract_content();'Modify the cron interval in content-extractor.php:
$schedules['every_15_minutes'] = array(
'interval' => 900, // 15 minutes
'display' => __( 'Every 15 Minutes' ),
);Adjust posts per batch in ce_extract_content():
$posts_per_page = 10; // Process 10 posts per batchImplement custom parsing logic in functions.php:
function ce_parse_and_publish_content( $body ) {
// Your custom parsing logic here
// Return array of created post IDs
}ce_before_extraction: Fires before content extractionce_after_extraction: Fires after content extraction
ce_source_url: Filter the source URL before fetchingce_post_data: Filter post data before publishing
See Examples for detailed use cases.