Skip to content
This repository has been archived by the owner on Aug 3, 2022. It is now read-only.

A PHP class for converting REAXML compliant XML files into a PHP array.

License

Notifications You must be signed in to change notification settings

Synergi/REA-XML-Parser

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#REA XML Parser

This code allows you to easily retrieve an associative arary of properties indexed by property type. Properties types as specified in the REAXML documentation include:

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

##Credit:

##License:

  • This code is licensed under with the GPL 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.

    ##Usage: $rea = new REA_XML($debug=true); //uses default fields

     $properties = $rea->parse_dir($xml_file_dir, $processed_dir, $failed_dir, $excluded_files=array());
    
     //or
     $property = $rea->parse_file();
    

For a full list of fields please see. http://reaxml.realestate.com.au/ and click 'Mandatory Fields'

##TODO:

  • Test with a all mandatory fields in the specification. Currenlty only the default fields have been tested.
  • Pull filename from file path rather than supplying both

About

A PHP class for converting REAXML compliant XML files into a PHP array.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published