Takes a google base feed for online stores and returns an array for use
Switch branches/tags
Nothing to show
Clone or download
Permalink
Failed to load latest commit information.
GoogleBaseFeedParser.php Removed reference to project specific variable Nov 24, 2012
README Committed readme Dec 19, 2011

README

--------------------
2011-12-19

Google Base Feed Parser

This will take a products feed and convert it to an array for use however you see fit.

You can pick and choose which fields it will put into the array

example usage:

$feed = new GoogleBaseFeedParser( 'http://www.domain.com/googlebasefeed.xml' );
$fields = array( 'title','link','description','id','brand','image_link','model_number','google_product_category','price' );
$feed->setFieldsToRetrieve( $fields );		
$results = $feed->getFeedResults();								

foreach ( $results as $result ) {
	echo "<strong>" . $result['title'] . "</strong><br>";
	echo $result['description'] . "<br><br>";
	
}
--------------------