Cointelegraph News RSS Import
Import news from Cointelegraph RSS feed into WordPress posts
by Duckname · github.com/duckyname/cointelegraph-news-rss · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/duckyname/cointelegraph-news-rss/archive/refs/heads/main.zipA WordPress plugin that automatically imports news articles from the Cointelegraph RSS feed into your WordPress site as posts.
Description
This plugin allows you to easily import cryptocurrency news from Cointelegraph's RSS feed directly into your WordPress site. It supports both manual and automatic imports, with configurable settings for authors, categories, and import frequency.
Features
- Manual Import: Import news articles on-demand with a single click
- Automatic Import: Schedule automatic imports at customizable intervals (1, 2, 4, 6, 12, or 24 hours)
- Duplicate Prevention: Automatically skips articles that have already been imported
- Featured Images: Automatically downloads and sets featured images from articles
- Tag Extraction: Intelligently extracts tags from article titles
- Category Assignment: Assign imported posts to specific categories
- Author Selection: Choose which WordPress user should be assigned as the author
- Configurable Import Count: Set how many articles to import (1-50 per import)
Requirements
- WordPress 5.0 or higher
- PHP 7.0 or higher
- Active internet connection for fetching RSS feed
Installation
- Download the plugin files
- Upload the
cointelegraph-news-rssfolder to the/wp-content/plugins/directory - Activate the plugin through the 'Plugins' menu in WordPress
- Navigate to Cointelegraph News in the WordPress admin menu
Usage
Initial Setup
- Go to Cointelegraph News in your WordPress admin menu
- Configure the following settings:
- Number of News: How many articles to import per import (1-50, default: 10)
- Author: Select the WordPress user to assign as author for imported posts
- Category: (Optional) Select a category to assign to imported posts
- Auto Import: Enable/disable automatic imports
- Timeframe: Select how often to check for new articles (if auto import is enabled)
- Click Save Settings
Manual Import
- Configure your settings (see above)
- Click the Import Now button
- The plugin will fetch the latest articles from Cointelegraph RSS feed
- A status message will display showing how many articles were imported and how many were skipped (duplicates)
Automatic Import
- Enable Auto Import in the settings
- Select your desired Timeframe (1, 2, 4, 6, 12, or 24 hours)
- Save your settings
- The plugin will automatically import new articles at the specified interval using WordPress cron
How It Works
- The plugin fetches articles from
https://cointelegraph.com/rss - Each article is checked for duplicates using GUID and link
- Articles are imported as published WordPress posts
- Featured images are downloaded and set automatically
- Tags are extracted from article titles (filtering out common stop words)
- The original article link is added to the post content
Configuration Options
| Setting | Description | Default |
|---|---|---|
| Number of News | Number of articles to import per import | 10 |
| Author | WordPress user to assign as author | Current user |
| Category | Category to assign to imported posts | None |
| Auto Import | Enable automatic scheduled imports | Disabled |
| Timeframe | Interval between automatic imports | 2 hours |
Technical Details
- Plugin Version: 0.1.2
- Text Domain:
cointelegraph-news-rss - License: GPL v2 or later
- RSS Feed URL:
https://cointelegraph.com/rss
Notes
- Duplicate articles are automatically detected and skipped
- Tags are automatically extracted from article titles
- The plugin uses WordPress cron for scheduled imports
- Featured images are downloaded and stored in your WordPress media library
Support
For issues, feature requests, or contributions, please visit the GitHub repository.
License
This plugin is licensed under the GPL v2 or later.
Copyright (C) 2024 Duckname
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
Author
Duckname
- GitHub: @duckyname
Changelog
Version 0.1.2
- Initial release
- Manual and automatic RSS import functionality
- Featured image support
- Tag extraction from titles
- Duplicate detection