RSS & Podcast Feed Action

This action can be used to check one or more online RSS feeds. Using a smart check approach, this operation will trigger only as new items are found: if the feed is not changing, this operation will not trigger.

Settings

The action uses the following settings:

Remarks

This action is capable of downloading and parsing multiple standard feeds containing both blog or news entries or media podcasts.

When using multiple feed sources and Single Feed Variables mode, only the first unread item will be returned. When using Dynamic Carousel mode or Data Model mode all feeds will be evaluated until Max Items value is reached.

Unread items tracking is done by using the feed url source as a key. For this reason, multiple feeds sharing the same news may still be displaying the same results. As an example, let's look at the following feed sources:

https://www.mynewssite.com/feed?tag=FINANCE
https://www.mynewssite.com/feed?tag=POLITICS

The above sources are both from the same site, filtering news by tag. A news entry may very well have both, talking about POLITICS and FINANCE and the user may end up seeing the news two times. To prevent this you can use feed categorization to group each feed into a specific category like below:

NEWS > https://www.mynewssite.com/feed?tag=FINANCE
NEWS > https://www.mynewssite.com/feed?tag=POLITICS

This way of declaring feed sources will force Xenioo to use NEWS as key instead of each feed URL. As a result, shared items will be always tracked as read.

When using Data Model mode, Xenioo will just retrieve any new feed item and return a variable named rss_model containing the full model of the items retrieved. This model, of which you find an example below, can be manipulated using cloud scripting or inline parsing.

[
    {
        "index" : 0,
        "title" : "the feed global title",
        "subtitle" : "the feed item title",
        "text" : "the description of the item, max 125 chars",
        "fullbody" : "the full description of the item",
        "url" : "the url of the item",
        "image_url" : "the image of the item, if any",
        "audio_url" : "the audio url of the item, if any"
    },
    {
        "index" : 1,
        [...]
    },
]

Trigger

Unread Entries. This action will trigger any child operation when new unread entries are found.

Variables

This action produces the following variables:

Availability

Channel specific availability follows the table below:

This action can be used only inside interactions and not as child of other actions. This action requires a Premium Account to be used on a live chatbot.

Further Reading

Last updated