Home Plugins fetchub
Fetchub logo

Fetchub

by Unioney on WordPress.org

Fetch, translate, and publish RSS feeds automatically using AI-powered processing with a robust per-feed cron scheduling system.

(3)
Admin Settings Page – Configure AI providers, API keys, and general settings.

Admin Settings Page – Configure AI providers, API keys, and general settings.

Fetchub is an advanced WordPress plugin that automates the aggregation, translation, and publication of RSS feeds. It fetches feed items, detects their language, and translates them into a target language using AI providers such as OpenAI, Gemini, Claude, and Grok. With features like AI-driven content ranking, customizable cron intervals per feed, and an intuitive admin interface, Fetchub streamlines content management. The plugin requires a valid token for full functionality, offering new users a 3-day trial to explore its capabilities.

Key Features

  • AI-Powered Translation: Translate feed content using OpenAI, Gemini, Claude, or Grok with support for over 90 languages.
  • Content Ranking: AI evaluates and ranks feed items by importance using the ai_rank_importance function.
  • Custom Cron Scheduling: Set unique fetching intervals per feed (e.g., every X minutes) via WP-Cron.
  • Manual Fetching: Trigger instant feed updates via AJAX with buttons for individual or all feeds.
  • Feed Configuration: Define intervals, categories, maximum posts, AI models, temperature, custom prompts, target languages, and block words per feed.
  • Token System: Requires activation with a valid token; includes a 3-day trial for new users.
  • Export/Import Settings: Backup and restore settings as JSON files for easy migration.
  • Revoke Token: Deactivate the token for use on another site.
  • Stop All Feeds: Halt all active feed requests to manage server resources.
  • Smart Logic: Enable AI-driven ranking to prioritize high-value content.
  • Block Words: Filter out unwanted content by specifying keywords.
  • Semantic Duplicate Detection: Avoid republishing similar content using AI analysis.
  • Featured Image Support: Automatically fetches and sets featured images from feeds or linked pages.
  • Secure Design: Uses nonces for AJAX requests and adheres to WordPress coding standards.
  • Post Status Options: Publish posts as “publish” or “draft” by default.
  • Feed URL Column: Displays the source feed URL in the WordPress posts list.
  • Fetched URL Column: Shows the original URL of the fetched item in the WordPress posts list for easy reference.

Supported AI Models

  • OpenAI: GPT-4.1 nano, GPT-4.1 mini, GPT-4o mini, GPT-4o, GPT-4.1, o1 mini, o3 mini, o1, GPT-3.5 turbo
  • Gemini: Gemini 1.5 Flash-8B, Gemini 2.0 Flash Lite, Gemini 1.5 Flash, Gemini 1.5 Pro, Gemini 2.0 Flash
  • Claude: Claude 3.5 Haiku, Claude 3.5 Sonnet, Claude 3 Opus, Claude 3 Sonnet, Claude 3 Haiku
  • Grok: Grok 3 mini Beta, Grok 3 mini Fast Beta, Grok 3 Beta

Requirements

  • WordPress 6.0 or higher
    – guarantees core polyfills such as str_starts_with() that Fetchub relies on.
  • PHP 7.4 or higher
    – required for arrow functions (fn()) and modern language features.
    – fully tested on PHP 8.0, 8.1, 8.2, 8.3 and 8.4.
  • Standard PHP extensions: cURL, OpenSSL, and DOM/XML (all enabled by default on mainstream hosts).
  • WP-Cron active (or a real system cron) so per-feed schedules can run.
  • 512 MB memory_limit or greater recommended when using multiple AI models.

Best practice for performance
For the smoothest AI processing and zero-maintenance cron execution, we recommend hosting your WordPress site on ihost WordPress Cloud Hosting.
See FAQ 12 for an ihost-optimised php.ini template you can copy-and-paste.

External services

This plugin contacts five external APIs. For legal clarity users are told what
is sent, why, and where:

  • OpenAI Chat Completions API – Generates titles, summaries and translations.
    – Sends: prompt text and numeric parameters whenever a post is translated or summarised.
    – Endpoint https://api.openai.com/v1/chat/completions
    – Terms https://openai.com/policies/terms-of-use
    – Privacy https://openai.com/policies/privacy-policy

  • Google Gemini Generative Language API – Same purpose for Gemini models.
    – Sends: prompt text and numeric parameters.
    – Endpoint (base): https://generativelanguage.googleapis.com/v1beta/models/{model}:generateContent
    – Terms https://policies.google.com/terms
    – Privacy https://policies.google.com/privacy

  • Anthropic Claude API – Same purpose for Claude models.
    – Sends: prompt text and numeric parameters.
    – Endpoint https://api.anthropic.com/v1/messages
    – Terms https://www.anthropic.com/terms
    – Privacy https://www.anthropic.com/privacy

  • xAI Grok API – Same purpose for Grok models.
    – Sends: prompt text and numeric parameters.
    – Endpoint https://api.x.ai/v1/chat/completions
    – Terms https://x.ai/terms
    – Privacy https://x.ai/privacy

  • Fetchub Licence Server – Validates your e-mail/token and handles revocation.
    – Sends: e-mail address, licence token and site URL at activation or once every six hours.
    – Endpoint (base): https://fetchub.com/wp-json/fetchub/v1/verify (and /revoke)
    – Terms https://fetchub.com/terms
    – Privacy https://fetchub.com/privacy-policy/

Functions

– Singleton instance of the main plugin class.
– Handles plugin activation, including initial setup and scheduling.
– Handles plugin deactivation, including clearing all scheduled cron jobs.
– Registers plugin settings.
– Enqueues admin scripts and styles.
– Adds the main admin menu page.
– Displays the plugin settings page HTML.
– AJAX handler for manual instant feed fetching.
– AJAX handler to fetch and process all feeds instantly.
– AJAX handler to stop all feeds and clear running jobs.
– AJAX handler to update AI model options based on active providers.
– WP-Cron hook for per-feed processing.
– Processes a feed URL, parses items, and publishes posts.
– Generates post title using AI from content.
– Ranks feed items using AI.
– Identifies content language for translation.
– Translates text using the selected AI provider.
– Processes hyperlink markers in translated text.
– Unified API call method for all AI providers.
– Checks if a post with the given GUID already exists.
– Checks if an attachment with a matching file exists.
– Sets the featured image for a post from a URL.
– Scrapes the first image URL from a given link.
– Checks if a given text contains any of the configured block words.
– Removes trailing opinion phrases from content.
– Removes leading duplicate title from content.
– Simplifies text for slug-like comparison.
– Cleans raw HTML/text content.
– Checks if a GUID has been globally seen (cached).
– Marks a GUID as globally seen and caches it.
– Handles the import of settings from a JSON file.
– Handles the export of settings to a JSON file.
– Handles token revocation submission.
– Saves a one-sentence summary of a post for duplicate checks.
– WP-Cron task to clean up old post summaries.
– Adds the Feed URL column to the posts list.
– Displays the Feed URL in the posts list column.
– Adds the Fetched URL column to the posts list.
– Displays the Fetched URL in the posts list column.
– Adds Settings/Activate links on the Plugins page.

License

This plugin is released under the GNU General Public License v2 or later. See LICENSE.txt for full details.

Active installations0+
Weekly downloads
14-46.15%
Version1.1
Last updated7/3/2025
WordPress version6.0
Tested up to6.8.1
PHP version7.4
Tags
aggregatorAIfeedrsstranslator