PHP Parser ODPS compliant. This library is intended to parse OPDS feeds. Feed examples :
- http://www.feedbooks.com/catalog.atom
- http://longueuil.pretnumerique.ca/catalog.atom
- https://framabookin.org/b/opds/
Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:
$ composer require bookeenweb/opds-parser
This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.
use OpdsBundle\Business\OpdsParserBusiness;
...
/**
* @var OpdsParserBusiness
*/
private $odpsParser;
public function __construct()
{
$this->odpsParser = new OpdsParserBusiness();
...
}
- parseFile : read an OPDS feed from a file
- parseURL : read an OPDS feed from an url
- parseSearchUrl : application/opensearchdescription+xml feed parser. Retrieve search urls