Connecting via XML feed - Riviera Property Network

Transcription

Connecting via XML feed - Riviera Property Network
Connecting via
XML feed
Your 3 Quick Steps to Connect your XML feed
Step 1 Ensure you have registered to RPN and received your login details.
Step 2 Ensure your XML feed matches the RPN structure as outlined in this
document. You may need to check with your webmaster/data manager.
Step 3 Email your XML feed URL to [email protected]
Once we have received your feed we will check it conforms and then integrate it
into the RPN system. This should be within 24 hours unless there are any
problems highlighted on our test run. Once all is confirmed we will email you to
say your properties are on the RPN system.
Contents Page 3: XML field description table Page 5: Appendix 1: Property locations Page 7: Appendix 2: Property types Page 8: Appendix 3: Property styles Page 9: Appendix 4: An XML example The table below lists the default fields and ordering that have to appear in your XML data feed. Numbers in parenthesis in the Data Type column represent the maximum number of supported characters. If there are two numbers (i.e., "10,2"), the second number indicates the maximum number of decimals allowed in the value. All XMLs have to conform to the UTF-­‐8 character set. Please note that each property node should include a unique id attribute (see the XML example below). Field Description Example Data type DESCRIPTION A short description of a property, used as a header title on the RPN website. Location of a property chosen from a list in Appendix one. If the location is not included in the list, a new one can be added and the list will be extended after verification. Surface of the property, given in square metres. The property type, chosen from the list in Appendix two. The number of bedrooms. <![CDATA[Four bedrom penthouse in Antibes]]> Text Antibes String (50) 82 Number (6,2) String (25) The number of bathrooms. The numer of floors the property is situated in. The floor the property is situated on. Does the property include a garage? Does the property include a swimming pool? Does the property include a garden? Does the property include a cave? Style of the property, chosen from the list in Appendix three. A distance to the nearest airport specified in kilometres. (This field is optional) 2 14 Number (2) or „studio” Number (2) Number (3) 14 Number (3) yes Option (yes/no) Option (yes/no) Option (yes/no) Option (yes/no) String (10) AREA SURFACE TYPE BEDROOMS BATHROOMS FLOORS FLOORSITUATED GARAGE SWIMMINGPOOL GARDEN CAVE STYLE AIRPORTDISTANCE SALE Is the property for sale? ASKINGPRICE Asking price of the property. This field is required if SALE has value ‘yes’. The currency is EUR. A full and detailes description of the property. FULLDESCRIPTION Apartment 3 yes no no Modern 16 yes 600000 <![CDATA[ A superb modern top floor apartment situated in a 15 floor building right in the heart of the French Riviera – in the lovely and attractive town of Antibes… It comprises of three spacious and bright bedrooms, two new Number (5,2) Option (yes/no) Number (11,2) Text LOCATIONDESCRIPTION A detailed description of the property’s location. KEYWORDS A list of coma separated keywords used for the website’s internal search system. This field is optional. A list of images, each in a separate IMAGE node, specified as a full URL of the image’s physical location. There has to be at least one image provided and a maximum of 6. IMAGES DPE Diagnostic de performance energetique GES Les gaz à effet de serre | C
bathrooms and an American style kitchen. On the terrace...]]> <![CDATA[ Antibes is a very popular and friendly town situated in….]]> <![CDATA[ penthouse, modern, antibes]]> Text Text <![CDATA[http://mywebsite.com/ String (255) images/image1.jpg]]> String value A, B, C, D, E, F or G String value
A, B, C, D, E, F or G B Appendix 1: Property locations •
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
Antibes Bandol Beaulieu-­‐sur-­‐mer Beausoleil Biot Cagnes-­‐sur-­‐mer Cannes Cap d'Ail Castagniers Cavalaire Sur Mer Chateauneuf de Grasse Eze Fayence Frejus Golfe-­‐Juan Grasse Grimaud Juan-­‐les-­‐Pins La Croix Valmer Le Cannet La Garde Freinet Le Lavandou La Mole and Plan de la Tour Le Rouret Les Issambres Magagnosc Mandelieu and La Napoule Menton Moans-­‐Sartoux Monaco Monte-­‐Carlo Mougins Nice Opio Ramatuelle Roquebrune-­‐Cap-­‐Martin Roquefort les Pins Sainte-­‐Maxime Saint-­‐Jean-­‐Cap-­‐Ferrat Saint-­‐Laurent-­‐du-­‐var Saint-­‐Paul-­‐de-­‐Vence •
•
•
•
•
•
•
•
•
•
•
Saint-­‐Raphael Sophia-­‐Antipolis St Tropez Super Cannes Theoule-­‐sur-­‐mer Valbonne Vallauris Vence Vidauban Villeneuve-­‐Loubet Villefranche-­‐sur-­‐mer Appendix 2: Property types •
•
•
•
•
•
•
•
•
•
•
Apartment Villa Office Hotel Building Investment Opportunity Buy to Let New Development Land Consortium Opportunity Off Plan Appendix 3: Property styles •
•
•
•
•
Modern Provincial Unique Old New Appendix 4: An XML example <?xml version="1.0" encoding="UTF-­‐8"?> <properties> <property id=”123”> <description><![CDATA[Four bedrom penthouse in Antibes]]></description> <area>Antibes</area> <surface>30</surface> <type>studio</type> <bedrooms>4</bedrooms> <bathrooms>2</bathrooms> <floors>15</floors> <floorsituated>15</floorsituated> <garage>yes</garage> <swimmingpool>yes</swimmingpool> <garden>no</garden> <cave>yes</cave> <style>modern</style> <airportdistance>15</airportdistance> <askingprice>600000</askingprice> <fulldescription><![CDATA[Lorem ipsum dolor sit amet...]]></fulldescription> <locationdescription><![CDATA[Antibes lorem ipsum dolor sit amet]]></locationdescription> <keywords><![CDATA[penthouse, antibes, modern]]></keywords> <images> <image><![CDATA[http://mywebsite.com/images/image1.jpg]]></image> <image><![CDATA[http://mywebsite.com/images/image2.jpg]]></image> <image><![CDATA[http://mywebsite.com/images/image3.jpg]]></image> <image><![CDATA[http://mywebsite.com/images/image4.jpg]]></image> <image><![CDATA[http://mywebsite.com/images/image5.jpg]]></image> <image><![CDATA[http://mywebsite.com/images/image6.jpg]]></image> </images> <dpe>B</dpe> </property> <property id=”124”> ... </property> </properties>