=== WordPress RSS Feed Retriever ===
Contributors: tjtaylor
Donate link: https://thememason.com/plugins/rss-retriever/
Tags: rss aggregator, rss feed, autoblog, rss parsing, news aggregator
Requires at least: 2.8
Tested up to: 5.0
Stable tag: 1.2.2
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
A simple, lightweight RSS aggregator plugin which uses shortcode to fetch and display multiple RSS feeds. Use as a news aggregator, autoblog, or RSS parsing.
== Description ==
This plugin fetchs an RSS feed, or multiple feeds, and displays them in an unordered list using shortcode.
How to use:
Simply copy and paste the example code below to wherever you would like to display your RSS feed. Replace the url and other properties as needed. (See FAQ section below to use in Gutenberg blocks, widgets, and PHP)
Example:
[wp_rss_retriever url="http://feeds.feedburner.com/TechCrunch/" items="10" excerpt="50" read_more="true" credits="true" new_window="true" thumbnail="200" cache="7200"]
Features:
- Fetch as many RSS feeds as you want
- Display the RSS feed wherever you want using shortcode, including text widgets
- Control whether to display the entire RSS feeds content or just an excerpt
- Control how many words display in the excerpt
- Control whether it has a Read more link or not
- Control whether links open in a new window or not
- Simple, lightweight, and fast
- Easy to setup
- Fetch thumbnail or first image
- Control size of thumbnail
- Set cache time (in seconds)
- Control order of items
- Aggregate multiple feeds into one list
- **NEW** Dofollow or nofollow options
Live Demo:
http://demo.thememason.com/rss/
Properties:
- url - The url of the rss feed you wish to aggregate from. For multiple urls simply use a comma between them.
- items - Number of items from the rss feed you wish to fetch (Default is 10)
- orderby - Order the items by date, reverse date, or random (date, date_reverse, random)
- title - Whether to display the title or not (true or false, defaults to true)
- excerpt - How many words you want to display for each item (Default is 0 or infinite, use 'none' to remove the excerpt)
- read_more - Whether to display a read more link or not (true or false, defaults to true)
- new_window - Whether to open the title link and read more link in a new window (true or false, defaults to true)
- thumbnail** - Whether or not you want to display a thumbnail, and if so, what size you want it to be(true or false, defaults to true. Inserting a number will change the size, default is 150)
- source - Whether to display the source or not (true or false, defaults to true)
- date - Whether to display the publish date or not (true or false, defaults to true)
- cache - How long you want the feed to cache the results in seconds (Default is 43200, (12 hours))
- dofollow - Whether to make links dofollow or nofollow (Defaults to nofollow)
- credits - Whether to give credit to the plugin author (Defaults to false)
**PLEASE NOTE: Using thumbnails can cause longer load times depending on the feed you are fetching from, use with caution.
Please post any issues under the support tab. If you use and like this plugin, please don't forget to rate it! Additionally, if you would like to see more features for the plugin, please let me know.
This plugin features autoblog capabilities by aggregating multiple rss feeds anywhere on your website. Shortcode can be used anywhere including in posts, pages, text widgets, and in PHP files by using the do_shortcode function. This RSS import plugin is very lightweight with a minimal amount of code as to insure it will not slow down your website. Build a custom news aggregator or use this plugin as a simple feed to post plugin by displaying the RSS parsing feed within the pages of your choice. This RSS aggregator is built on the SimplePie API.
== Frequently Asked Questions ==
= How do I display a feed in my content? =
Copy and paste the example shortcode above into your content. Replace the url and other parameters as needed. Update/publish the page or post.
= How do I display a feed in a widget? =
Create a new text widget. Click on the "Text" tab. Copy and paste the example shortcode above. Replace the url and other parameters as needed.
= How do I display a feed using PHP? =
Here's an example of how to display an RSS feed with PHP
= How do I display a feed with a Gutenberg Block? =
Click on the "+" icon to add a new block. Search for "shortcode". Click on the shortcode block to add it. Copy and paste the example shortcode above into the block. Replace the url and other parameters as needed.
== Installation ==
This section describes how to install the plugin and get it working.
1. Upload `wp-rss-retriever.zip` to the `/wp-content/plugins/` directory
2. Unzip the file
3. Activate the plugin through the 'Plugins' menu in WordPress
4. Use the example shortcode [wp_rss_retriever url="http://feeds.feedburner.com/TechCrunch/" items="10" excerpt="50" read_more="true" credits="true" new_window="true" thumbnail="200" cache="7200"] anywhere in your content
5. Change the url and other properties as needed
== Changelog ==
= 1.0 =
* Initial release
= 1.0.1 =
* Fixes bug where excerpt included html and broken images
= 1.0.2 =
* Pulls images & html in when excerpt is not enabled
= 1.1 =
* Fixed several bugs
* Fetch thumbnail or first image
* Control size of thumbnail
* Set cache time (in seconds)
* Now includes small CSS file, required for thumbnail support
= 1.1.1 =
* Support for aggregating multiple feeds into one list
* Ability to order posts by date or reverse date
* Options to display or remove source and date
* Option to remove title
= 1.2 =
* Fix SSL error
* Add default nofollow for links
* Add option for dofollow
= 1.2.1 =
* Fix a bug where the error message "No Items" was displaying outside of the list item
* Fix an error that displays sometimes on 404 pages
* Add optional plugin credits (disabled by default)
* Add orderby="random" method
= 1.2.2 =
* Dates now translates to the language set in WordPress general settings
* Date and time format now uses the format set via WordPress general settings