guilty / craft-rss
Use RSS Feeds in your templates with ease
Installs: 15 234
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 0
Forks: 3
Open Issues: 4
Type:craft-plugin
pkg:composer/guilty/craft-rss
Requires
- craftcms/cms: ^3.0.0-RC1
- dg/rss-php: ^1.3
This package is auto-updated.
Last update: 2025-10-18 05:26:02 UTC
README
Craft RSS is a simple helper plugin that lets you pull down an RSS feed and use it in your Twig templates.
Requirements
This plugin requires Craft CMS 3.0.0-beta.23 or later.
Installation
To install the plugin, follow these instructions.
- Open your terminal and go to your Craft project:
cd /path/to/project
- Then tell Composer to load the plugin:
composer require guilty/craft-rss
- In the Control Panel, go to Settings → Plugins and click the “Install” button for Craft RSS.
Configuring Craft RSS
No configuration needed.
Using Craft RSS
{% set blogFeed = craft.rss.loadRss("https://helgesverre.com/blog/feed/") %}
{% if blogFeed %}
<h1>{{ blogFeed.title }}</h1>
<a href="{{ blogFeed.link }}">{{ blogFeed.link }}</a>
<ul>
{% for post in blogFeed.item %}
<li>
<a href="{{ post.link }}">
{{ post.title }} - {{ post.pubDate }}
</a>
</li>
{% endfor %}
</ul>
{% endif %}
Brought to you by Guilty AS