0.1 2015-06-08 07:59 UTC

This package is auto-updated.

Last update: 2022-06-25 00:54:45 UTC


README

Set of PHP classes to generate, read and combine RSS feeds.

Installation

Use composer to install. Or add packagist package ceus-media/rss to your composer-driven project.

Example

use \CeusMedia\RSS as RSS;

$channel = new RSS\Model\Channel();
$channel->setTitle("RSS Test Channel");
$channel->setLink("http://example.com/#rss");
$channel->setDescription("...");

$item = new RSS\Model\Item();
$item->setTitle("Item 1");
$item->setLink("http://example.com/#item1");

$channel->addItem($item);

$xml = RSS\Renderer::render($channel);