WP-Property: Importer - Basic XML Import Step By Step For WP-Property Importer

Use this XML import method to import XML, WP-Property, JSON, CSV feeds. More advanced importations will require knowledge of XPath rule and/or DMQL query construction. For your convenience, we do provide time-saving import installation services.

For XML and XPath structures follow this link: http://www.w3schools.com/xml/xml_xpath.asp


Step 1: Setting the Source

To begin you will need the URL for a valid XML feed. 

1.WP-Property > Importer > Add New

2.Name the Import Schedule

3.Input the URL for the XML feed

4.Select XML in the Type dropdown (the Advanced XML / JSON Settings Toggle will then appear)

5.Check Source (top, right of URL and Type)

6.If source is good continue, if not, review error messages and previous steps

7.Open the XML source (in another browser tab) so that you can see the data structure

8.For a basic installation, the Root XPath Query should be set to the root node of the XML data you wish to import by preceding the value with 2 forward slashes. The property element is the repeating element that contains property-specific data. The following rule will select all elements that are on the 'root/property' level.

root/property or //property

Note: "property" is not always the correct element. "Object" and "ID" are also popular element tags in XML documents.

You can get more creative with the property element, for example if you wanted to only select elements that have a status of available:

/root/property[@status="Available"] or //property[@status="Available"]

9.Choose a Default (WP-Property) Property Type. You can create new Property Types at WP-Property>Settings>Developer tab

XML_Setting_Source_001


Step 2: Mapping Attributes

Mapping attributes is essentially telling XMLI what to do with the raw data from your feed. All feeds are automatically converted into XML format, which allows you to use XPath rules to identify attribute values from the feed. XPath is a query language that tells the computer which attributes from the XML document we need to grab.

1.From the dropdown, select the attribute that the feed value corresponds to. 

2.Enter the XPath rule to the value. The XPath rule is determined by the tag name and placement of the value in the feed.

To get the primary image, which you should map over to Featured Image.

images/image[@primary=1]/url images/*/path

To get all non-primary images, which should be mapped over to Images (Allows Multiple)

images/image[@primary != 1]/url

3.Press the "Add Row" button to add additional rows as needed.

4.From the Unique ID Attribute dropdown select the attribute which is unique to every listing - this will be used for updating and merging listings later. 

5.Once done, press "Save Configuration"

6.Press "Preview Import" to see an example of what the data will look like after processing.

6.Press "Process Full Import" to initiative processing of all data in the feed.

XML_Map_Attributes

WP-Property: Importer

  1. Images are not Importing in WP-Property Importer
  2. XML and RETS Setup Services for WP-Property Importer
  3. Properties not published or Pending Images Download for WP-Property Importer
  4. WP-Property: Importer - Home
  5. Error No listings are found when running the WP-Property Importer Check your Query
  6. Could not connect to RETS server HTTP in WP-Property Importer
  7. Could not load XML Object from raw data in WP-Property Importer
  8. RETS DMQL basics for WP-Property Importer
  9. Issues Connecting to RETS Server for WP-Property Importer
  10. New Google Spreadsheet format in WP-Property Importer
  11. Google Spreadsheet errors in WP-Property Importer
  12. WP-Property: Importer - Useful XPath Rules To Use In Schedules
  13. WP-Property: Importer - There Was An Issue Doing The RETS Search In WP-Property Importer
  14. WP-Property: Importer - Translating
  15. Installing WP-Property: Importer
  16. WP-Property: Importer - Running The Import For WP-Property Importer
  17. WP-Property: Importer - Recommended Values For Server Configuration Options For WP-Property Importer
  18. WP-Property: Importer - MySQL Server Has Gone Away
  19. WP-Property-Importer-Introduction To RETS
  20. WP-Property: Importer - Integration Of WP Importer With Agents Add On
  21. WP-Property: Importer - Importing CSV
  22. WP-Property: Importer - Google Spreadsheet Format Error. Authentication With Google Failed. Reason Is Bad Authentication In WP-Property Importer
  23. WP-Property: Importer - DMQL Queries
  24. WP-Property: Importer - Could Not Load XML Object From Raw Data. Looks Like The Data Has Errors And Can Not Be Converted To XML Object In WP-Property Importer
  25. WP-Property: Importer - Could Not Connect To RETS Server, PHRETS 1 Cookie File \"\" Cannot Be Written To. Must Be An Absolute Path And Must Be Writable Within WP-Property Importer
  26. WP-Property: Importer - Basic XML Import Step By Step For WP-Property Importer
  27. WP-Property: Importer - Basic RETS Import Step By Step For WP-Property Importer
  28. WP-Property: Importer - Available XPath Functions For WP Importer Schedules
  29. WP-Property: Importer - Attribute Matches In Schedule Settings For WP-Property Importer
  30. WP-Property: Importer - Advanced Schedule Options For WP-Property Importer

Feedback and Knowledge Base