WordPress RSS Feed Retriever

Kuvaus

This plugin fetches an RSS feed, or multiple feeds, and displays them in an unordered list using shortcode.

Demo | Video Tutorial

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"]

Live Demo:

http://demo.thememason.com/rss/

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 (width and height)
  • Set cache time (in seconds)
  • Control order of items
  • Aggregate multiple feeds into one list
  • Dofollow or nofollow options

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, use 150×200 format to set both width and height)
  • 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.

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.

Asennus

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

UKK

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

<?php echo do_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"]'); ?>
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.

Arvostelut

Great..

review edited --- as troubleshooted below, cause of issue is another plugin. admin menu editor -- which I had deactivated to test if was causing and issue remained, however on a site without admin menu editor ever being activated the position of WP RSS Retriever is not an issue Great Features Very Good Support Thank you for this very useful plugin. I was prepared to give it a hearty 5-stars, however the developer decision to force 2 WordPress RSS Retriever links under the "Dashboard" section of the admin menu, is extremely irritating and really unforgivable. Please reconsider that move, and I'll change my rating and become an even happier user Regards

Generally Good but…

It works well in general, but the "excerpt" attribute doesn't work when the feed contents are not in English. We tried in both traditional Chinese and simplified Chinese both give no response under your "excerpt" attribute.

Useful Free Plugin

Provides a quick, easy to use rss aggregator that meets 95% of our needs. Giving the ability to limit items per feed would boost to 100%

Sweet!

This is an awesome little plug-in, simple and easy to configure - it was exactly what I both wanted and needed. Though I confess that I am a code geek. But I believe that anyone who takes the ten minutes to read the well-written documentation on the options, the FAQ and the responses between users and the developer in the support forum will find it's easy to set up. If you are testing for refresh rate, test using a very active world news feed like google or bbc or reuters and set the cache parameter to something really low like "100." FYI I am currently running PHP 7.2
Lue kaikki 26 arvostelua.

Avustajat & Kehittäjät

“WordPress RSS Feed Retriever” perustuu avoimeen lähdekoodiin. Seuraavat henkilöt ovat osallistuneet tämän lisäosan kehittämiseen.

Avustajat

“WordPress RSS Feed Retriever” has been translated into 1 locale. Kiitoksia kääntäjille heidän työstään.

Käännä “WordPress RSS Feed Retriever” omalle kielellesi.

Oletko kiinnostunut kehitystyöstä?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Muutosloki

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

1.2.4

  • Utilizes the local timezone set in WordPress general settings

1.2.6

  • Fix HTML validation error

1.3.0

  • Refactor image CSS to make img element act as background-size:cover
  • Remove default list-item styles
  • Include ability to set width and height on thumbnails (ie. 200×150)
  • Fix an issue where plugin CSS was not enqueuing when using the shortcode inside a text widget
  • Fix an issue where excerpt=0 was not stripping html tags from the feed.

1.3.1

  • Fix an issue where excerpts in East Asian languages were not trimming words properly