This is a simple PHP script to retrieve book data from Livraria Cultura website. This script relies on PHP DOM classes and was only tested in UNIX environment with PHP >= 5.3
There are three classes:
- DomFinder - This is an abstraction on PHP DOM class to make it easier to navigate in the document using XPATH
- Book - Book data and info parsing methods.
- BookRetriever - Methods for search and retrieve some especific book data.
This code is licensed under GPL (GNU Public License) V3. http://www.gnu.org/copyleft/gpl.html