Linux 软件免费装
Banner图

WordPress RSS Feed Retriever

开发者 tjtaylor
更新时间 2021年3月21日 23:09
捐献地址: 去捐款
PHP版本: 2.8 及以上
WordPress版本: 5.7
版权: GPLv2 or later
版权网址: 版权信息

标签

rss feed rss import rss parsing news aggregator rss aggregator

下载

1.0.1 1.0.2 1.1 1.1.1 1.2 1.2.1 1.2.3 1.2.4 1.2.5 1.2.6 1.3 1.3.0 1.3.1 1.3.10 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.7 1.3.8 1.3.9 1.4.0 1.4.1 1.4.2 1.4.3 1.5.0 1.5.1 1.5.2 1.5.3 1.5.5 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.0 1.2.2 1.6.5

详情介绍:

This plugin fetches an RSS feed, or multiple feeds, and displays them in an unordered list using shortcode. Demo | Video Tutorial | PRO Version How to use: [youtube https://www.youtube.com/watch?v=2EPdD65zS5U] 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="12 hours"] Live Demo: http://demo.thememason.com/rss/ Features: Properties: **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.

安装:

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

常见问题:

The thumbnail is not displaying

This could be because the source you're fetching from does not include the featured image in their RSS feed. There is nothing you can do to fix this unless you have control of the source website. If so, you can simply install this plugin on the source website and it will include the featured images within the RSS feed automatically.

The thumbnail is blurry

This is due to the source website including a low resolution image in their feed. There is nothing you can do to fix this unless you have control of the source website. If so, you can simply install this plugin on the source website and it will include larger featured images within the RSS feed automatically.

How do I change the layout? (ie. make the thumbnail first)

You can change the layout via WordPress filters. Add the following code to your themes functions.php file: function custom_rss_layout_callback( $layout ) { $layout = array( 'thumbnail', 'title', 'content', 'postdata', ); return $layout; } add_filter( 'wp_rss_retriever_layout', 'custom_rss_layout_callback' ); In addition, you can add your own HTML to the output if you want to wrap elements. Example: $layout = array( ' ', 'thumbnail', 'title', 'content', 'postdata', '' ); Or, if you only want to display the title: $layout = array( 'title', );

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.

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

更新日志:

1.6.0 1.5.5 1.5.3 1.5.2 1.5.1 1.5.0 1.4.3 1.4.2 1.4.1 1.4.0 1.3.10 1.3.9 1.3.7 1.3.6 1.3.5 1.3.4 1.3.3 1.3.2 1.3.1 1.3.0 1.2.6 1.2.4 1.2.2 1.2.1 1.2 1.1.1 1.1 1.0.2 1.0.1 1.0