Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dereuromark/cakephp-feed
CakePHP Plugin with RssView to create RSS feeds.
https://github.com/dereuromark/cakephp-feed
cakephp cakephp-plugin feed php rss
Last synced: 25 days ago
JSON representation
CakePHP Plugin with RssView to create RSS feeds.
- Host: GitHub
- URL: https://github.com/dereuromark/cakephp-feed
- Owner: dereuromark
- License: mit
- Created: 2015-01-08T18:19:13.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2024-09-12T13:29:00.000Z (3 months ago)
- Last Synced: 2024-10-11T06:32:52.334Z (2 months ago)
- Topics: cakephp, cakephp-plugin, feed, php, rss
- Language: PHP
- Size: 3.9 MB
- Stars: 13
- Watchers: 5
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: docs/Contributing.md
- License: LICENSE
Awesome Lists containing this project
- awesome-cakephp - Feed plugin - Containing an RssView class to easily generate (complex) RSS feeds. (Templating)
README
# CakePHP Feed Plugin
[![CI](https://github.com/dereuromark/cakephp-feed/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/dereuromark/cakephp-feed/actions/workflows/ci.yml?query=branch%3Amaster)
[![Coverage Status](https://codecov.io/gh/dereuromark/cakephp-feed/branch/master/graph/badge.svg)](https://codecov.io/gh/dereuromark/cakephp-feed)
[![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%208.1-8892BF.svg)](https://php.net/)
[![License](https://poser.pugx.org/dereuromark/cakephp-feed/license.svg)](LICENSE)
[![Latest Stable Version](https://poser.pugx.org/dereuromark/cakephp-feed/v/stable.svg)](https://packagist.org/packages/dereuromark/cakephp-feed)
[![Total Downloads](https://poser.pugx.org/dereuromark/cakephp-feed/d/total.svg)](https://packagist.org/packages/dereuromark/cakephp-feed)
[![Coding Standards](https://img.shields.io/badge/cs-PSR--2--R-yellow.svg)](https://github.com/php-fig-rectified/fig-rectified-standards)A CakePHP plugin containing a RssView class to generate RSS feeds.
## Version notice
This branch is for use with **CakePHP 5.0+**. See [version map](https://github.com/dereuromark/cakephp-feed/wiki#cakephp-version-map) for details.
## What is this plugin for?
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.### 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).
- Allow mini-templating where necessary.### Additional features
- Automatic View class mapping via `rss` extension.See [my article](https://www.dereuromark.de/2013/10/03/rss-feeds-in-cakephp/) for details on the history of this view class.
### Demo
https://sandbox.dereuromark.de/sandbox/feed-examples## Installation & Docs
- [Documentation](docs/README.md)
### Possible TODOs
* Maybe add Feed readers instead of just writers.
* Add AtomView ?