Advert Feed v1.1.3
myholidaycaravan.co.uk now accepts advert feeds onto the website, meaning listings for caravans currently for sale by other companies may be passed into our system and advertised on our site.
The format for the feed itself is XML and is very simple...
|ref||This is the unique reference number for the advert||Required||All Characters allowed. Max 15 Characters|
|name||A small descriptive name for the advert||Required||All Characters allowed. Max 100 Characters|
|description||A full description of the caravan being advertised||Required||All Characters allowed. Max 4000 Characters|
|price||The price of the caravan being advertised||Required||Numerical|
|year||The build year of the caravan being advertised||Optional||Numerical|
|dimensions||The physical dimensions of the caravan being advertised||Optional||All characters allowed|
|bedrooms||The number of bedrooms the caravan being advertised contains||Optional||Numerical|
|sleeps||The number of people the caravan being advertised can sleep||Optional||Numerical|
|features||A pipe-separated (|) list of features of the caravan||Optional||All Characters allowed. Max 2000 Characters|
|image1url||The full URL to the web-ready main image of the caravan||Optional||All Characters allowed. Max 255 Characters|
|image_other||A comma-separated list of the full URLs to the web-ready images of the caravan||Optional||All Characters allowed|
Please review the latest DTD (right-click --> Save As...) for this XML feed.
<?xml version="1.0" ?>
<!DOCTYPE ads SYSTEM "http://www.myholidaycaravan.co.uk/mhc-adsfeed-1.1.3.dtd">
<description>The description of the first listing goes</description>
<features>Balcony|Air conditioning|Satellite TV</features>
<description>The description of the second listing goes</description>
These XML files are to be hosted on YOUR servers. Our systems will regularly pull the data to retrieve the latest information.
Each park within your group must have it's own XML file containing the listings relevant to that park.
To ensure your XML feed adheres to the DTD, please test using the W3Schools XML Validator (please note that to test your XML against a DTD, you must visit this site using Internet Explorer).