Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 

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>";
	
}
--------------------

About

Takes a google base feed for online stores and returns an array for use

Resources

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.