A CakePHP plugin containing a RssView class to generate RSS feeds.
This branch is for use with CakePHP 5.0+. See version map for details.
There used to be a core helper for RSS generation, but it had several deficiencies. It also was removed in 4.0. So this plugin aims to provide a better support for feed generation.
- 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).
- Allow mini-templating where necessary.
- Automatic View class mapping via
rss
extension.
See my article for details on the history of this view class.
https://sandbox.dereuromark.de/sandbox/feed-examples
- Maybe add Feed readers instead of just writers.
- Add AtomView ?