movim/feedcleaner

A simple PHP library that clean RSS feeds to Atom 1.0

dev-master 2024-10-23 17:09 UTC

This package is not auto-updated.

Last update: 2024-11-03 18:36:48 UTC


README

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 !