Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 1.79 KB

README.md

File metadata and controls

38 lines (26 loc) · 1.79 KB

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 CakePHP3.x - please use the Tools plugin version for CakePHP 2.x! It is still dev (not even alpha), please be careful with using it.

What is this plugin for?

There is a core Rss helper, but it has several defencies.

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.

Installation & Docs

Possible TODOs

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