#202

Product support

Visit this product's website for support.

Categories

  • Developer Tools
  • Social
  • Utility

This plugin fetches and merges RSS/Atom feeds from various sources to put on your website. It can be automated using a cronjob or triggered manually.

You can also create your own feed by merging multiple external feeds.

For example:

www.someotherdomain.com/news/symfony/rss
www.someotherdomain.com/news/laravel/rss

becomes:

www.yourdomain/feeds/frameworks

If you have issues or ideas for improvement, please let me know. You can create issues on the Github page of this plugin or even create your own Pull Request.

This plugin is available in the following languages:

  • Dutch
  • English

Other plugins by Alwin Drenth

Redirect

Redirect (Editors' Choice) - Advanced Redirect plugin for October CMS

HtmlPurifier

HtmlPurifier - Adds a standards compliant HTML filter to October CMS.

The following themes use this plugin:

An overview of the RSS feed sources

RSS & Atom feeds

The plugin uses the zendframework/rss-feed package to parse the RSS and/or Atom feeds. For more information on this package goto http://framework.zend.com/manual/current/en/index.html#zend-feed

Components

The plugin is configured with 4 example sources and has a few components which help you to display items and/or sources on your website.

Items

Shows a list of most recent RSS items limited on the maximun number of items provided by you.

An example of implementation code in your CMS page:

title = "A list of items"
url = "/items"
layout = "default"
is_hidden = 0

[rssItems]
maxItems = 10
==
{% component 'rssItems' %}

PaginatableItems

Shows a list of most recent RSS items with an additional paginator element.

An example of implementation code in your CMS page:

title = "A list of items (paginatable)"
url = "/items"
layout = "default"
is_hidden = 0

[rssPaginatableItems]
itemsPerPage = 3
==
{% component 'rssPaginatableItems' %}

Sources

Shows a list of sources.

An example of implementation code in your CMS page:

title = "A list of sources"
url = "/sources"
layout = "default"
is_hidden = 0

[rssSources]
==
{% component 'rssSources' %}

Reporting Widgets

This plugin contains also a RSS Headlines widget to show the latest headlines on your Dashboard. This widget has three configurable properties: maxItems, title and dateFormat.

Cronjob

There are many ways to configure a cronjob. Here's an basic example of cronjob configuration line:

5/* * * * php path/to/artisan adrenth:fetch-rss >> /dev/null 2>&1

The above line takes care of fetching all sources every 5 minutes.

The adrenth:fetch-rss command takes an optional source_id argument. Provide the source ID if you want to fetch only 1 source at that time.

Execute from code

In your plugin code you can also use the following code to execute the Artisan command:

<?php

use Artisan;
// ...

Artisan::call('adrenth:fetch-rss', ['source' => 2]);
1.2.0

Add German translation (Thank you Pascal Garber)

Aug 13, 2017

1.1.0

Bugfixes and improvements; minimum requirement is now PHP 5.6

Aug 12, 2017

1.0.15

Change database column lengths to support utf8mb4

Apr 13, 2017

1.0.14

Change database foreign and unique key lengths

Apr 01, 2017

1.0.13

Bugfixes and optimizations

Mar 30, 2017

1.0.12

Minor fixes and optimizations

May 31, 2016

1.0.11

Updates plugin dependencies and some minor fixes

May 10, 2016

1.0.10

Add functionality to create feeds

Feb 02, 2016

1.0.9

Add export/import functionality for sources and add bulk fetch button to sources list view

Jan 28, 2016

1.0.8

Add a paginatable item component and improve default component templates

Jan 28, 2016

1.0.7

Add filter to item lists and allow user to delete item/sources from list view

Jan 15, 2016

1.0.6

Prevent overwriting existing Items while fetching RSS feed

Jan 07, 2016

1.0.5

Add publication settings to Item and Source

Dec 30, 2015

1.0.4

Add localization (English and Dutch language)

Dec 29, 2015

1.0.3

Add code fixes for to meet PHP 5.4 compatibility

Dec 20, 2015

1.0.2

Add RSS Headlines dashboard widget

Dec 14, 2015

1.0.1

First version of RssFetcher

Dec 12, 2015

Not applicable.