2017 © Pedro Peláez
 

library crssfeed

PHP class for implementing a RSS feed

image

miax/crssfeed

PHP class for implementing a RSS feed

  • Friday, October 28, 2016
  • by miarau
  • Repository
  • 1 Watchers
  • 0 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

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

CRSSFeed

PHP module class to get content of one or more RSS feeds. This repository also contains SimplePie., (*2)

Installation

To implement crssfeed on your site, get a copy of this repository using git clone or download it to your desktop., (*3)

Make sure you have a path for the cache available at the defined location, if you do not want the feed to download new information on each request. Using a cache is better for your system performance. You can adjust this path in the module file, CRSSFeed.php., (*4)

Initialize a new instance of the module, sending in a adress to a RSS-feed to the constructor, and a duration for the cache if you like., (*5)

Next, echo the method getFeed() on the object to display the feed., (*6)

Example:, (*7)

$feed = new CRSSFeed(
[
"http://addresstofeed.com/rss",
"http://addresstoanotherfeed.com/rss"
]
);
echo $feed->getFeed();, (*8)

Licence

This software is free software and carries a MIT license. Any included external modules are subject to their own licensing., (*9)

History

v0.1.0 (first version), (*10)

Base functionality., (*11)

Copyright (c) Mia Raunegger, 2015, mia@design4u2.se, (*12)

The Versions

28/10 2016

dev-master

9999999-dev

PHP class for implementing a RSS feed

  Sources   Download

MIT

The Requires

  • php >=5.6

 

module rssfeed

28/10 2016

v0.3

0.3.0.0

PHP class for implementing a RSS feed

  Sources   Download

MIT

The Requires

  • php >=5.6

 

module rssfeed

26/04 2016

v0.2

0.2.0.0

PHP class for implementing a RSS feed

  Sources   Download

MIT

The Requires

  • php >=5.4

 

module rss