2017 © Pedro Peláez
 

library googleparserfeed

Parser in PHP to Google Merchant Feed

image

silici0/googleparserfeed

Parser in PHP to Google Merchant Feed

  • Wednesday, December 20, 2017
  • by silici0
  • Repository
  • 1 Watchers
  • 0 Stars
  • 17 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 42 % Grown

The README.md

GoogleParserFeed

splio api access via PHP

Parse google merchant feed to array PHP, (*1)

Installation

composer require silici0/googleparserfeed:dev-master

Usage example

require "vendor/autoload.php";
use silici0\GoogleParserFeed\ParserGoogleFeed;

$buffer = file_get_contents("http://www.domain.com/googleshopping.xml");

$feed = new ParserGoogleFeed($buffer, LIBXML_NOCDATA);
print_r($feed->toArray());

Contribution

https://stackoverflow.com/questions/26400993/resolve-namespaces-with-simplexml-regardless-of-structure-or-namespace https://hakre.wordpress.com/2013/07/10/simplexml-and-json-encode-in-php-part-iii-and-end/, (*2)

The Versions

20/12 2017

dev-master

9999999-dev

Parser in PHP to Google Merchant Feed

  Sources   Download

by Rafael Cunha