A simple PHP library that clean RSS feeds to Atom 1.0
PHP
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src/FeedCleaner
LICENSE
README.md
composer.json

README.md

feedcleaner

A simple PHP library that clean RSS feeds to Atom 1.0

Load FeedCleaner

To load FeedCleaner in your project just include the library to your composer file

{
    "require": {
        "movim/feedcleaner": "dev-master"
    }
}

Use FeedCleaner

use FeedCleaner\Parser;

$parser = new Parser;   // We instanciate the parser
$parser->setXML($xml);  // We set the XML of the current feed
$parser->parse();       // We parse and clean it
$parser->generate();    // And finally we display it !