2017 © Pedro Peláez
 

library rea-xml-parser

PHP Parser Class for REA XML

image

thinkerytim/rea-xml-parser

PHP Parser Class for REA XML

  • Saturday, May 16, 2015
  • by thinkerytim
  • Repository
  • 1 Watchers
  • 0 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 12 Forks
  • 1 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

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:, (*1)

  • residential
  • rental
  • land
  • rural
  • commercial
  • commercialLand
  • business

Installation :

Using composer: composer require thinkerytim/REA-XML-Parser, (*2)

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', (*3)

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, (*4)

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., (*5)

The Versions

16/05 2015

dev-master

9999999-dev

PHP Parser Class for REA XML

  Sources   Download

GNU GPL V3

The Requires

  • php >=5.3.0

 

php real estate reaxml rea