PHPackages                             dodecastudio/craft-feedreader - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. dodecastudio/craft-feedreader

ActiveCraft-plugin[Templating &amp; Views](/categories/templating)

dodecastudio/craft-feedreader
=============================

A simple plugin to load and display RSS and Atom feeds in Craft CMS templates.

2.0.1(1y ago)02.5k↑20%1proprietaryTwigPHP &gt;=7.4

Since Jul 8Pushed 1y ago2 watchersCompare

[ Source](https://github.com/dodecastudio/craft-feedreader)[ Packagist](https://packagist.org/packages/dodecastudio/craft-feedreader)[ RSS](/packages/dodecastudio-craft-feedreader/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (5)Dependencies (3)Versions (6)Used By (0)

FeedReader plugin for Craft CMS
===============================

[](#feedreader-plugin-for-craft-cms)

[![](src/icon.svg)](src/icon.svg)

Requirements
------------

[](#requirements)

- Craft CMS 3.X, 4.X or 5.X
- PHP 7.4+

Installation
------------

[](#installation)

Install the plugin as follows:

1. Open your terminal and go to your Craft project:

    ```
    cd /path/to/project

    ```
2. Then tell Composer to load the plugin:

    ```
    composer require dodecastudio/craft-feedreader

    ```
3. In the Control Panel, go to Settings → Plugins and click the “Install” button for FeedReader.

Overview
--------

[](#overview)

The FeedReader plugin makes use of Craft's built-in [Feeds API](https://docs.craftcms.com/api/v3/craft-feeds-feeds.html) to load and display RSS or Atom feeds directly in templates. As the Feeds API was deprecated in Craft 4, this plugin borrows the original code from Craft 3 in order to ensure function across both these versions of Craft.

Using FeedReader
----------------

[](#using-feedreader)

### Fetching a feed

[](#fetching-a-feed)

The `getFeed` variable will fetch a feed and return feed information and feed items as an array.

```
{% set newsFeed = craft.feedreader.getFeed("http://feeds.bbci.co.uk/news/uk/rss.xml", 43200, true) %}
```

You can then output information about the feed and the items it contains, like so:

```
{# Output feed info #}
{{ newsFeed.title }}
Feed: {{ newsFeed.link }}
{# Output the feed items #}

{% for newsItem in newsFeed.items %}

    {{ newsItem.title }} - {{ newsItem.date.date|date("Y-m-d H:i:s") }}

{% endfor %}

```

#### Supported parameters

[](#supported-parameters)

The parameters available for the `getFeed` variable are:

ParameterTypeDefaultDescription`url``String`The URL of the feed being loaded.`cacheDuraction``Int`86400The duration in seconds for which to cache the feed result. The default of 86400 can be overridden using a custom settings config file.`normalize``Boolean`trueWhether or not to "normalize" the data returned for each item or entry. This is helpful when non-standard data is being returned.### Fetching feed items

[](#fetching-feed-items)

If you don't need feed information and would like a little bit more control over the feed items, then the `getFeedItems` variable will fetch feed items and return them as an array.

```
{% set newsFeedItems = craft.feedreader.getFeedItems("http://feeds.bbci.co.uk/news/uk/rss.xml", 10, 10, 1000, true) %}
```

You can then output the items, like so:

```
{# Output the feed items #}

{% for newsItem in newsFeedItems %}

    {{ newsItem.title }} - {{ newsItem.date.date|date("Y-m-d H:i:s") }}

{% endfor %}

```

#### Supported parameters

[](#supported-parameters-1)

The parameters available for the `getFeedItems` variable are:

ParameterTypeDefaultDescription`url``String`The URL of the feed being loaded.`limit``Int`20The number of feed items to return.`offset``Int`0The starting index of the item from which to start the returned feed items.`cacheDuraction``Int`86400The duration in seconds for which to cache the feed result. The default of 86400 can be overridden using a custom settings config file.`normalize``Boolean`trueWhether or not to "normalize" the data returned for each item or entry. This is helpful when non-standard data is being returned.Plugin Settings
---------------

[](#plugin-settings)

Default settings can be overridden. Please see the `feedreader-config.php` file for details.

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance46

Moderate activity, may be stable

Popularity21

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~251 days

Total

5

Last Release

405d ago

Major Versions

0.9.0-beta1 → 1.0.02022-08-08

1.0.1 → 2.0.02024-04-22

### Community

Maintainers

![](https://www.gravatar.com/avatar/d8c4bf8ffa7d145ab97391463d478d99b9ddd3a948841315be947be89c43f2be?d=identicon)[tomkiss](/maintainers/tomkiss)

---

Top Contributors

[![tomkiss](https://avatars.githubusercontent.com/u/183310?v=4)](https://github.com/tomkiss "tomkiss (19 commits)")

---

Tags

dataatomrsscmsCraftcraftcmscraft-pluginfeedsfeedreader

### Embed Badge

![Health badge](/badges/dodecastudio-craft-feedreader/health.svg)

```
[![Health](https://phpackages.com/badges/dodecastudio-craft-feedreader/health.svg)](https://phpackages.com/packages/dodecastudio-craft-feedreader)
```

###  Alternatives

[lewisjenkins/craft-dynamic-fields

Populate Craft fields with dynamic data using the power of Twig.

14667.0k](/packages/lewisjenkins-craft-dynamic-fields)[nystudio107/craft-minify

A simple plugin that allows you to minify blocks of HTML, CSS, and JS inline in Craft CMS templates.

37461.2k29](/packages/nystudio107-craft-minify)[jalendport/craft-preparse

A fieldtype that parses Twig when an element is saved and saves the result as plain text.

1086.4k](/packages/jalendport-craft-preparse)[verbb/footnotes

Adds a footnotes feature to CKEditor fields and Twig templates.

213.3k](/packages/verbb-footnotes)[acclaro/translations

Easily launch and manage multilingual Craft websites without having to copy/paste content or manually track updates.

1229.5k](/packages/acclaro-translations)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
