thinkerytim/rea-xml-parser
Composer 安装命令:
composer require thinkerytim/rea-xml-parser
包简介
PHP Parser Class for REA XML
关键字:
README 文档
README
#REA XML Parser
This code allows you to easily retrieve an associative arary of properties indexed by property type. Property types as specified in the REAXML documentation include:
- residential
- rental
- land
- rural
- commercial
- commercialLand
- business
##Installation :
Using composer: composer require thinkerytim/REA-XML-Parser
##Usage: $rea = new Parser($debug=true); //uses default fields
$properties = $rea->parse_dir($xml_file_dir, $processed_dir, $failed_dir, $excluded_files=array());
//or
$property = $rea->parse_file($xml_file);
For a full list of fields please see. http://reaxml.realestate.com.au/ and click 'Mandatory Fields'
##Further Reading: You can see a write-up of this code been used to create posts in WordPress here: http://www.devblog.com.au/rea-xml-parser-and-wordpress
##License: This code is licensed under GNU GPL v3 and may be used and distributed freely. You may fork the code make changes add extra features etc. Any changes to this code should be released to the open source community.
统计信息
- 总下载量: 12
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GNU
- 更新时间: 2015-05-15