PHP Classes

PHP RSS Feed Reader: Display the pages and descriptions of a RSS feed

Recommend this page to a friend!
  Info   View files Example   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 77 This week: 2All time: 10,131 This week: 94Up
Version License PHP version Categories
feed-reader 1.0Custom (specified...5XML, PHP 5, Web services
Description 

Author

This class can display the pages and descriptions of a RSS feed.

It takes the URL of a given RSS feed and retrieves the feed to be able to parse it.

The class can also display the links to the list of pages in the RSS feeds along with the feed entry descriptions.

Picture of jean paul Delaye
  Performance   Level  
Name: jean paul Delaye <contact>
Classes: 7 packages by
Country: Mexico Mexico
Age: 49
All time rank: 376347 in Mexico Mexico
Week rank: 109 Up3 in Mexico Mexico Up
Innovation award
Innovation award
Nominee: 2x

Example

<?php

/**
 * Feedreader Class
 * This class read and display feeds from a given RSS url.
 * input: RSS URL, number of feed to display.
 * @author Jean Paul Delaye
 */


require_once('class.feedreader.php');

   
$rss= new feedreader( "https://www.lavanguardia.com/rss/home.xml", 10);


?>


Details

feed-reader

Get feeds from RSS

This PHP class read and display feeds from a given RSS url. input: RSS URL, number of feed to display.

Requirements

php >= 5.4.0 

Installation

just copy the class to your classes folder

Basic Usage

$rss=  new feedreader( "https://www.lavanguardia.com/rss/home.xml", 10);

Inputs: RSS url, number of items

Working sample: https://intelector.com/leer-rss-2/


  Files folder image Files  
File Role Description
Plain text file class.feedreader.php Class Class source
Plain text file index.php Example Example script
Plain text file LICENSE Lic. License text
Plain text file README.md Doc. Documentation

 Version Control Unique User Downloads Download Rankings  
 100%
Total:77
This week:2
All time:10,131
This week:94Up