This document gives enough information to understand how the homein XML Feeds are structured. This document is aimed to a technical audiance, it assumed that the reader has basic understandings for how XML works. homein offers you the possibility to create your own XML Feed that our spider will read from your website. We will check your feed for updates every 24 hours once everything is set-up, the only you need to think about once you have given us the url to your feed is to keep your data updated. You can either create an XML feed that followings our specifications described later on in this document or if you already have an XML feed contact us to see if we can integrate it. Once you're properties have been imported successfully to homein.com your properties will automatically feed out to the sites:
If you have any questions send our tech team an email on tech@homein.com. Good luck with the integration, The homein staff VersionsBelow you can see the versions that have been release of the xml feed.
XML formatThe fastest and safest way to integrate to our system is to use our XML Feed format, this chapter will specify this format.Your feed must contain all the properties you want to have online, at the moment we don’t support feeds that incrementally add properties. This means that if a property existed in your feed yesterday and today you have removed it from your feed then it will be removed from homein. Note that if you change details about a property in homein’s extranet and then you change it to something differently in your xml feed then the changes you made in the extranet will be overwritten next time the homein spider crawls your feed. Note that you can start with implementing a feed with only the required elements to get everything up and running quick but to improve the quality of your properties we strongly recommend that you spend some time in also putting in as many as possible of the optional elements. For optional elements that are not specified the default value will be used, default values are indicated later on in this section where every single element is detailed. The feed must have the <properties> element as a root element, every new property will be represented by a <property> element. <?xml version="1.0" encoding="UTF-8" ?> Required elementsThe elements listed in this section must exist for each property in the feed. If they are missing the import will be marked as corrupt. <title>The title that will be used for the property. If this element is empty the first 100 characters of the <description> element will be used. <reference_code>Reference code you use internally. It’s important to implement this field, it’s the only way for us to be able to update existing properties or to remove properties that should not be online any more. If multiple properties have the same reference code they will overwrite each other.Format: Text, max 10 chars. <listing_section>Marks where the listing should be shown, rentals or sales.Format: Text. Possible values for this element are:
<property_type>Kind of property that is being advertised.Format: Text. Possible values for this element are:
<street>The full address to the location of the property, this element is only required when the latitude and longitude are not valid. For example: New oxford street 6, London.
The more you give in the address the easier it will be for us at homein to show your properties on the map. <longitude>This marks
the longitude for the property; if this value is present also the latitude must
be present. If the longitude and the latitude are valid the street field will
not be used to decide the map location of the property. <latitude>This marks the latitude for the property; if this value is present also the longitude must be present. If the longitude and the latitude are valid the street field will not be used to decide the map location of the property. <price>Price the property is being advertised for. In case of a rental property then this will be the price per month. The size of of the property expressed in square metres (m2). <bedrooms>This element indicates number of bedrooms for the property. <bathrooms>This
element indicates number of bathrooms for the property. Optional elementsThese elements are optional so if you don’t have these fields don’t worry. Don’t forget that the more information you’re able to give us the more information we will be able to serve you potential customers. <property_condition>Format:
<status>What status the property currently has, note, the status is set to delete then it will no longer be possible to update the property. In order for this field to have any effect you have to define the element <reference_code>.
<description>A free text description of the property, note that it’s important that the text is html encoded, so for example the & sign should come as & . This is done in the following way:
It’s also recommended to put the text data within a CDATA section. <floor>Floor the property is on, 0 is the ground floor. <parking>The element indicates if the property has a parking included.
<lift>Indicator for if the property has a lift or not.
<terrace>If the property has a terrace.
<terrace_size>The size of the terrace, if the element terrace is false this element will be ignored. <air_conditioning>If the property has air-conditioning.
<heating>If the property has a heating system.
<swimming_pool>If the property has a swimming pool.
<garden>If the property has garden.
<kitchen>What kind of kitchen the property has.
<storeroom>If the
property has a storage room.
<flooring>What kind of floor the property has.
<wardrobes>If the property has built-in wardrobes.
<communal_fees>How much the monthly communal fees are <communal_fee_incl>Only for “rentals” listings, it indicates if the communal fees are included in the montly rent.
<furnished>Only for “rentals” listings, it indicates if the property is furnished.
<equipped_kitchen>Only for “rentals” listings, it indicates if the property has a fully equipped kitchen.
<bills>Only for “rentals” listings, it indicates if the bills are included in the monthly rent.
<photos> and <photo>The <photos> element is a container for the <photo> elements. The <photos> element can contain up to 25 <photo> elements for each property. The value of the <photo> should be an absolute url to where the image can be found, try not to link to a thumbnail version of the image. This will decrease the result of your images.XML Sample: <photos> Sample feed<?xml version="1.0" encoding="UTF-8" ?> |