Liqiud basics
Modules
API
Mailer
RSS Feeds
On this page
Overview
Below you can see all the available drops on the RSS feeds object
| Name | Description |
| rss.items | Returns array of RssFeedItemDrop |
{% assign feed = rss_feeds.get_jesper_talk %} {% for item in feed.items %} {{ item.title }} {{ item.description }} {% endfor %}
Get RSS feed
Let's say you have registered a RSS feed with the key "wizard_news", the feed is then accessible through rss_feeds drop.
{% assign feed = rss_feeds.get_wizard_news %}
{% for item in feed.items %}
{{ item.title }} - {{ item.description }}
{% endfor %}Invalid tag will return a list of all available tags.
Custom feeds
If you are missing tags in the available tags list, its likley that they aren't included in the RSS Parser Library. Some tags requires to be explicitly defined in the RSS Parser. You can do this by adding each tag in the Custom tags field. The custom tags will be accessible just like the ordinary tags. Adding each tag with a comma and a space as separator (tag1, tag2, tag3).
Get custom tags
Get custom tags "popular", "trending", "azkabanPrisoners" and "wi:cool"
{% assign feed = rss_feeds.get_wizard_news %}
{% for item in feed.items %}
{{ item.popular }}
{{ item.trending }}
{{ item.azkabanPrisoners }}
{{ item.wi_cool }}
{% endfor %}Updated: 2020-06-23