定制 silici0/googleparserfeed 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

silici0/googleparserfeed

Composer 安装命令:

composer require silici0/googleparserfeed

包简介

Parser in PHP to Google Merchant Feed

README 文档

README

splio api access via PHP

Parse google merchant feed to array PHP

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/

统计信息

  • 总下载量: 6.63k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 4
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 4
  • Watchers: 1
  • Forks: 4
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2017-12-20