T4S Rewriter - User Guide
Overview
T4S Rewriter is a WordPress plugin that automates content rewriting from RSS feeds. It fetches content from RSS feeds, rewrites it using AI, and publishes it to your WordPress site.
Installation
Plugin Installation
- Upload the plugin to WordPress
- Activate the plugin
- Go to T4S Rewriter settings to configure your API key
WP-Cron Configuration
Since content rewriting is resource-intensive, you need to configure WP-Cron properly:
1. Disable Default WP-Cron
Add this line to your wp-config.php file:
wp-config.phpphp
define('DISABLE_WP_CRON', true);2. Set Up External Cron
Using WP-CLI (Recommended)
If you have WP-CLI installed, this is the most efficient method:
WP-CLI Commandbash
# Add to your crontab or scheduler
* * * * * cd /path/to/wordpress && wp cron event run --due-now > /dev/null 2>&1Benefits of using WP-CLI:
- More efficient than calling wp-cron.php via HTTP
- Direct database access
- Better error handling and logging
- No HTTP overhead
Using Crontab (Linux/Unix)
Crontab Commandbash
# Open crontab editor
crontab -e
# Add this line to run WordPress cron every minute
* * * * * wget -q -O /dev/null "https://your-site.com/wp-cron.php?doing_wp_cron" > /dev/null 2>&1
# OR using curl
* * * * * curl -s "https://your-site.com/wp-cron.php?doing_wp_cron" > /dev/null 2>&1Using Control Panel Schedulers
If you're using a hosting control panel:
- Go to your control panel's Cron Jobs or Scheduled Tasks section
- Create a new cron job
- Set it to run every minute
- Add the command to call wp-cron.php
Using Windows Task Scheduler
- Open Task Scheduler
- Create a new task
- Set trigger to run every minute
- Action: Start a program
- Program/script: curl or wget
- Arguments: "https://your-site.com/wp-cron.php?doing_wp_cron"
Plugin Settings
Navigate to T4S Rewriter > Settings to configure the plugin:
API Configuration
- API Key: Enter your T4S Rewriter API key
- Required for the plugin to function
- The system will validate your API key
- A status indicator shows if the connection is working
Language Settings
Choose from available languages for content rewriting:
- English
- Vietnamese
- Spanish
- French
- German
Image Settings
- Download Images: Toggle automatic image downloading
- When enabled: Images are downloaded to your media library
- When disabled: Original image URLs are used
Creating and Managing Jobs
Creating a New Job
- Navigate to T4S Rewriter > Jobs
- Click "Add New Job"
- Configure the following settings:
Basic Settings
- RSS URL: Enter the RSS feed URL to fetch content from
- Categories: Select one or more WordPress categories
- Writing Style: Choose from various styles:
- Auto
- Professional
- Casual
- Academic
- Creative
- Technical
- Journalistic
- Informative
- Conversational
- Post Status: Choose to publish posts immediately or save as drafts
Limits & Controls
- Daily Post Limit: Maximum posts per day (0 = unlimited)
- Hourly Post Limit: Maximum posts per hour (0 = unlimited)
- Article Order: Choose processing order (ascending/descending)
- Job Status: Enable or disable the job
- Featured Image: Require or make optional
Managing Jobs
The job details page shows:
- All job settings
- Processing statistics
- Last run time
- Processed articles list
Available Actions
- Fetch RSS Now: Manually fetch new articles
- Process Next Article: Manually process pending articles
- Edit Job: Modify job settings
- Filter Articles: View by status (All/Pending/Completed/Failed)
Processing Flow
graph LR
A[RSS Feed] --> B[Fetch Content]
B --> C[Queue Articles]
C --> D[Process with AI]
D --> E[Create Post]- Plugin fetches content from RSS feed
- New articles are queued for processing
- Articles are rewritten according to settings
- Posts are created in WordPress