dereuromark/cakephp-feed

A CakePHP plugin containing a RssView to generate RSS feeds.

Installs: 6 789

Dependents: 2

Suggesters: 0

Stars: 11

Watchers: 4

Forks: 5

Open Issues: 1

Type:cakephp-plugin

1.2.0 2019-09-04 10:38 UTC

README

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

A CakePHP plugin containing a RssView class to generate RSS feeds.

Version notice

This branch is for use with CakePHP 3.7+. See version map for details.

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

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

Installation & Docs

Possible TODOs

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