CakePHP Plugin with RssView to create RSS feeds.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
config
docs
src/View
tests
.editorconfig
.gitattributes
.gitignore
.travis.yml
LICENSE
README.md
composer.json
phpunit.xml.dist

README.md

CakePHP Feed Plugin

Build Status Coverage Status Minimum PHP Version License Total Downloads Coding Standards

A CakePHP 3.x Plugin containing a RssView class to generate RSS feeds.

Version notice

This branch only works for CakePHP 3.5.5+ - please use the 2.x branch for CakePHP 2.x.

What is this plugin for?

There is a core helper for RSS generation, but it has several deficiencies. So this plugin aims to provide a better support for feed generation.

Goals of this view class

  • Support view-less actions via serialize.
  • Get rid of the ridiculously verbose "inline" namespace declarations.
  • Simplify the use of namespaces and their prefixes (auto-add only those that are actually used).
  • Support CDATA (unescaped content).

Additional features

  • Automatic View class mapping via rss extension.

See my article for details on the history of this view class.

Demo

http://sandbox.dereuromark.de/sandbox/feed-examples

Installation & Docs

Possible TODOs

  • Maybe add Feed readers instead of just writers.
  • Add AtomView ?