# RSS Feed插件

对于新闻媒体来说，Messenger机器人的一个常见用途，是让用户可以进行新闻订阅，并在每天固定的时间推送最新的新闻给到用户。为了方便用户快速完成这样的功能，我们提供了一个RSS Feed的高级插件给到您。

{% hint style="success" %}
在内容块的编辑界面中，点击 "高级插件" - "RSS Feed"，BotHub会为您创建一个默认的RSS Feed的高级插件
{% endhint %}

![](/files/-LCSb86cqLDX-QtJp07P)

创建完成后，您可以自行编辑RSS Feed组件，包括基本的RSS Feed的地址，以及是否包含订阅卡片等信息

![](/files/-LCSbD3zJAWtIKFXY9N0)

我们支持的RSS Feed的格式，包括Atom 1.0以及RSS 0.91-2.0，如果您输入的URL不是合法的Feed格式，那么在这个组件中会显示为 "未验证"

![](/files/-LCSbaaMrrku4aT0rhO2)

而当我们将RSS Feed的内容回复给用户的时候，是以一组橱窗卡片的形式显示给用户。

![](/files/-LCSbh4l0h3ua5PM4f-V)

而对于展示的橱窗卡片，也可以定制其展示形式，比如，修改下方按钮的文字

![](/files/-LCSbnE6YuO6E6K9J9x0)

修改后，对应的橱窗卡片的内容也会发生变化

![](/files/-LCSbtZqWevh82DLnkVR)

此外，整个RSS Feed的橱窗卡片的最后一个卡片可以给用户提供订阅功能，也可以在组件中进行设置

![](/files/-LCSc1yT4AHSyd17GxUk)

那么在橱窗列表的最后一列，就能看到提供用户订阅的内容卡片了。

![](/files/-LCScEisYfH2jUJ6xeMu)

BotHub会每10分钟抓取一次RSS Feed，所以用户每次看到的新闻都是最新的。\
对于订阅了新闻的用户，要定时向用户发送新闻推送，可以看 "订阅推送" 部分的文档。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://bothub.gitbook.io/project/advanced-tool/plugin/rss-feed.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
