Title: RSS Feed Block (Gutenberg)
Author: aatanasov
Published: <strong>2018 年 7 月 23 日</strong>
Last modified: 2022 年 6 月 10 日

---

搜尋外掛

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://s.w.org/plugins/geopattern-icon/rss-feed-block_ffffff.svg)

# RSS Feed Block (Gutenberg)

 由 [aatanasov](https://profiles.wordpress.org/aatanasov/) 開發

[下載](https://downloads.wordpress.org/plugin/rss-feed-block.0.3.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/rss-feed-block/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/rss-feed-block/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/rss-feed-block/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/rss-feed-block/#developers)

 [技術支援](https://wordpress.org/support/plugin/rss-feed-block/)

## 外掛說明

This is a Gutenberg block that pulls posts from an RSS feed.

The plugin uses the `fetch_feed` WordPress function to display the entries from 
a feed on your website (https://codex.wordpress.org/Function_Reference/fetch_feed).

### Requirements

Gutenberg has to be installed on your WordPress instance in order to use this plugin.

### Configuration

Once the plugin is installed, you’ll first need to enter the URL of your feed URL.
There is a helpful button for validating the feed URL. If there is something wrong,
an error will appear.

Here are the available feed options:
 1. Number of posts to be shown on the front-
end. The default number is 10. 2. Whether to show the descriptions of the posts 
on the front-end. 3. Whether to show the dates of the posts on the front-end. 4.
Whether to show the content of the posts on the front-end.

### WordPress Hooks

There are a few WordPress hooks that allows you to modify the output. All of them
are related to the front-end.

**Actions**

    ```
    grf_before_items -- called before displaying the feed on your site.

    grf_before_item -- called before each feed entry.

    grf_after_item -- called after each feed entry.

    grf_after_items -- called after all listed entries.
    ```

**Filters**

    ```
    grf_frontend_output -- allows you to modify the HTML markup that will be displayed on the site.<h3>Front-end error messages</h3>
    ```

In case, a feed isn’t configured or it isn’t a valid one, the following messages
might appear on the page that uses the custom block:
 – Missing feed URL: `Please
set the URL of the RSS feed through the WordPress dashboard.` – Incorrect feed: `
Please make sure the provided URL is a valid feed.` – No posts: `No feed items found.`

## 螢幕擷圖

[⌊On the left side the screenshot shows the form where you can enter your feed URL
and validate it. On side panel you can see the available options of the block.⌉⌊
On the left side the screenshot shows the form where you can enter your feed URL
and validate it. On side panel you can see the available options of the block.⌉[

On the left side the screenshot shows the form where you can enter your feed URL
and validate it. On side panel you can see the available options of the block.

[⌊This screenshot shows the options of the block.⌉⌊This screenshot shows the options
of the block.⌉[

This screenshot shows the options of the block.

## 適用於區塊編輯器

這個外掛提供 1 個可供 Gutenberg/區塊編輯器使用的區塊。

 *   RSS Feed Block (Gutenberg)

## 安裝方式

Here are the steps for installing and setting up this plugin to your WordPress site:–
download the plugin and upload it to your plugins folder; – activate the plugin 
from the WordPress dashboard; – go to the edit page of the article, that will display
the feed, and choose the **RSS Feed** Gutenberg block from the available list.

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈RSS Feed Block (Gutenberg)〉的開發相關工作。

參與者

 *   [ aatanasov ](https://profiles.wordpress.org/aatanasov/)

[將〈RSS Feed Block (Gutenberg)〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/rss-feed-block)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/rss-feed-block/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/rss-feed-block/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/rss-feed-block/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/rss-feed-block/)。

## 變更記錄

0.3 Add show content option.

0.2 Address some incompatibility issues.

0.1 first version.

## 中繼資料

 *  版本 **0.3**
 *  最後更新 **4 年前**
 *  啟用安裝數 **10+**
 *  WordPress 版本需求 ** 5.0.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.0.12**
 *  PHP 版本需求 ** 5.6 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/rss-feed-block/)
 * 標籤:
 * [block](https://tw.wordpress.org/plugins/tags/block/)[feed](https://tw.wordpress.org/plugins/tags/feed/)
   [gutenberg](https://tw.wordpress.org/plugins/tags/gutenberg/)[rss](https://tw.wordpress.org/plugins/tags/rss/)
 *  [進階檢視](https://tw.wordpress.org/plugins/rss-feed-block/advanced/)

## 評分

這個項目尚無任何評論記錄。

[Your review](https://wordpress.org/support/plugin/rss-feed-block/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/rss-feed-block/reviews/)

## 參與者

 *   [ aatanasov ](https://profiles.wordpress.org/aatanasov/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/rss-feed-block/)