asmaru/rss

2.0.1 2021-05-29 13:02 UTC

This package is auto-updated.

Last update: 2024-03-29 03:38:03 UTC


README

Codacy Badge

\asmaru\rss

\asmaru\rss is a simple RSS writer. This component is Licensed under MIT license.

Usage

$rss = new RSS();
$rss->channel()->setTitle('The title');
$rss->channel()->setLink('http://example.org/');
$rss->channel()->setDescription('The description');

$item = $rss->channel()->createItem();
$item->setTitle('The item title');
$item->setLink('http://example.org/item');
$item->setDescription('The item description');

echo $rss;

Installation

You can install directly via Composer:

$ composer require asmaru/rss

License

MIT license