movim / feedcleaner
A simple PHP library that clean RSS feeds to Atom 1.0
dev-master
2024-10-23 17:09 UTC
Requires
- ezyang/htmlpurifier: ^4.16
- ramsey/uuid: ^4.7
This package is not auto-updated.
Last update: 2024-12-15 19:16:22 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 !