2017 © Pedro Peláez
 

library simple-rss

A simple class to generate RSS feeds

image

mparaiso/simple-rss

A simple class to generate RSS feeds

  • Saturday, March 23, 2013
  • by Mparaiso
  • Repository
  • 0 Watchers
  • 2 Stars
  • 31 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 8 Versions
  • 0 % Grown

The README.md

RSS

Build Status, (*1)

A rss feed generator, (*2)

author : M.Paraiso contact: mparaiso@online.fr, (*3)

status : Work in Progress, (*4)

Basic Usage

$this->channel = array(
    "title"       => "My rss channel",
    "link"        => "http://alink",
    "description" => "the description",
    "lang"        => "en-en",
    "copyright"   => "mparaiso",
    "webmaster"   => "mparaiso@yahoo.php",
    "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 :, (*5)

<?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>mparaiso@yahoo.php</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>

The Versions

23/03 2013

dev-master

9999999-dev https://github.com/Mparaiso/simple-rss

A simple class to generate RSS feeds

  Sources   Download

MIT

The Requires

 

by Avatar Mparaiso

social feed rss

23/03 2013

0.0.7

0.0.7.0 https://github.com/Mparaiso/simple-rss

A simple class to generate RSS feeds

  Sources   Download

MIT

The Requires

 

by Avatar Mparaiso

social feed rss

23/03 2013

0.0.6

0.0.6.0 https://github.com/Mparaiso/simple-rss

A simple class to generate RSS feeds

  Sources   Download

MIT

The Requires

 

by Avatar Mparaiso

social feed rss

23/03 2013

0.0.5

0.0.5.0 https://github.com/Mparaiso/simple-rss

A simple class to generate RSS feeds

  Sources   Download

MIT

The Requires

 

by Avatar Mparaiso

social feed rss

23/03 2013

0.0.4

0.0.4.0 https://github.com/Mparaiso/simple-rss

A simple class to generate RSS feeds

  Sources   Download

MIT

The Requires

 

by Avatar Mparaiso

social feed rss

23/03 2013

0.0.3

0.0.3.0 https://github.com/Mparaiso/simple-rss

A simple class to generate RSS feeds

  Sources   Download

MIT

The Requires

 

by Avatar Mparaiso

social feed rss

21/03 2013

0.0.2

0.0.2.0 https://github.com/Mparaiso/simple-rss

A simple class to generate RSS feeds

  Sources   Download

MIT

The Requires

 

by Avatar Mparaiso

social feed rss

21/03 2013

0.0.1

0.0.1.0 https://github.com/Mparaiso/simple-rss

A simple class to generate RSS feeds

  Sources   Download

MIT

The Requires

 

by Avatar Mparaiso

social feed rss