Read before you want to do this project!!
I have a WordPress website in the real estate. It doesn't support the XML feed. So i want you make it possible to make an XML feed of the properties, my partners with another website can integrate it into their website.
The theme i bought is from Myhouse.
My website: [url removed, login to view]
What i really want:
1. In word-press with any of the properties an option is provided which you can indicate "export
To XML ": yes / no
2. And then a piece of code where the XML is created with all the data my partners want.
"Every property is represented as post [url removed, login to view] with custom post type estate ([url removed, login to view]).
Property fields are based on post meta data ([url removed, login to view]) and taxonomies ([url removed, login to view]). MyHome text field = taxonomy and MyHome number field = number field.
Every field has unique slug which you can find in your database (table: myhome_attributes, field: base_slug). Since your API uses different IDs for property attributes, you will have to create some kind of relation between them.
Overall after your receive properties from your API you will have to create loop and
1) Add property = add post ([url removed, login to view])
2) Add attributes = add_post_meta if it's number field ([url removed, login to view]) or wp_s"
Would be nice in advance you can tell me how you gonna do that.
Thank you very much