Download the PHP package mparaiso/simple-rss without Composer
On this page you can find all versions of the php package mparaiso/simple-rss. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download mparaiso/simple-rss
More information about mparaiso/simple-rss
Files in mparaiso/simple-rss
Download mparaiso/simple-rss
More information about mparaiso/simple-rss
Files in mparaiso/simple-rss
Vendor mparaiso
Package simple-rss
Short Description A simple class to generate RSS feeds
License MIT
Homepage https://github.com/Mparaiso/simple-rss
Package simple-rss
Short Description A simple class to generate RSS feeds
License MIT
Homepage https://github.com/Mparaiso/simple-rss
Please rate this library. Is it a good library?
Informations about the package simple-rss
RSS
A rss feed generator
author : M.Paraiso contact: [email protected]
status : Work in Progress
Basic Usage
$this->channel = array(
"title" => "My rss channel",
"link" => "http://alink",
"description" => "the description",
"lang" => "en-en",
"copyright" => "mparaiso",
"webmaster" => "[email protected]",
"image" => array(
"title" => "the image",
"url" => "imageurl",
"link" => "http://imagelink",
"width" => "500",
"height" => "500",
),
"items" => array(
array(
"title" => "item title",
"description" => "item description",
"guid" => "the guid",
"isPermalink" => 1,
"pubDate" => new \DateTime(),
),
)
);
$rssGenerator = new Mparaiso\Rss\SimpleRss($this->channel);
$rss = $rssGenerator->generate();
result :
<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title>My rss channel</title>
<link>http://alink</link>
<description>the description</description>
<lang>en-en</lang>
<copyright>mparaiso</copyright>
<webMaster>[email protected]</webMaster>
<image>
<title>the image</title>
<url>imageurl</url>
<link>http://imagelink</link>
<width>500</width>
<height>500</height>
</image>
<item>
<title>item title</title>
<description>item description</description>
<guid isPermalink='1'>the guid</guid>
<pubDate>Thu, 21 Mar 2013 15:49:22</pubDate>
</item>
</channel>
</rss>
All versions of simple-rss with dependencies
PHP Build Version
Package Version
The package mparaiso/simple-rss contains the following files
Loading the files please wait ....