2017 © Pedro Peláez
 

library rss

Simple Pie wrapper

image

emsf14/rss

Simple Pie wrapper

  • Friday, November 28, 2014
  • by Zemlan
  • Repository
  • 1 Watchers
  • 0 Stars
  • 23 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

RSS wrapper

Build Status Scrutinizer Code Quality Code Coverage, (*1)

This is a Simple Pie wrapper that makes it easy to display RSS feeds. You can even merge multiple feeds into one., (*2)

Installation

Using Composer and Packagist, it's easy to get started. Simply add the following to your composer.json file:, (*3)

"require": {
    "emsf14/rss": "dev-master"
},

After using Compser to install the package, you can find it in your vendor directory, ready for use. In the webroot subfolder you'll find a simple working example. Important! The cache-folder needs to be writeable., (*4)

All you need to do to display a feed is to instantiate the CRSS class with an array of one or more RSS feed URls. Then call the metod "printFeed", it returns a string containing the feed., (*5)

$feed = new \Emsf14\library\CRSS([
    'http://feeds.bbci.co.uk/news/rss.xml'
]);

echo $feed->printFeed();

The Versions

28/11 2014

dev-master

9999999-dev https://github.com/EmilSjunnesson/rss

Simple Pie wrapper

  Sources   Download

MIT

The Requires

  • php >=5.4

 

by Emil Sjunnesson

wrapper rss education

27/11 2014

v3.0

3.0.0.0 https://github.com/EmilSjunnesson/rss

Simple Pie wrapper

  Sources   Download

MIT

The Requires

  • php >=5.4

 

by Emil Sjunnesson

wrapper rss education

27/11 2014

v2.0

2.0.0.0 https://github.com/EmilSjunnesson/rss

Simple Pie wrapper

  Sources   Download

MIT

The Requires

  • php >=5.4

 

by Emil Sjunnesson

wrapper rss education