XML Feed


XML feed is a system which allows the advertisements on your personal website to be synchronized with those on CollectionCar.com

So whenever you add, edit or delete ads on your personal website, the advertisements on CollectionCar.com will be updated automatically within the week.

You have to provide us with the url of the webpage where the xml feed is established.
So please mail us the url after the code has been set up on mail (at) collectioncar.com
See example of such a webpage with an xml feed.

The code of the xml feed should look like this:

						<?xml version="1.0" encoding="UTF-8"?>
						<channel>
							<item>
								<make><![CDATA[Citroen]]></make>
								<model><![CDATA[DS 19]]></model>
								<year>1964</year>
								<price>59995.00</price>
								<description><![CDATA[Ad Description]]></description>
								<id><![CDATA[24234234]]></id>
								<image>
									<img_url><![CDATA[http://www.example.com/img1.jpg]]></img_url>
								</image>
								<image>
									<img_url><![CDATA[http://www.example.com/img2.jpg]]></img_url>
								</image>
								<image>
									<img_url><![CDATA[http://www.example.com/img3.jpg]]></img_url>
								</image>
								<condition>0</condition>
								<pubDate>Tue, 22 Nov 2011 01:39:45 -0600</pubDate>
							</item>
							<item>
								<make><![CDATA[Citroen]]></make>
								<model><![CDATA[DS 19]]></model>
								<year>1964</year>
								<price>59995.00</price>
								<description><![CDATA[Ad Description]]></description>
								<id><![CDATA[24234234]]></id>
								<image>
									<img_url><![CDATA[http://www.example.com/img1.jpg]]></img_url>
								</image>
								<image>
									<img_url><![CDATA[http://www.example.com/img2.jpg]]></img_url>
								</image>
								<image>
									<img_url><![CDATA[http://www.example.com/img3.jpg]]></img_url>
								</image>
								<condition>0</condition>
								<pubDate>Tue, 22 Nov 2011 01:39:45 -0600</pubDate>
							</item>
						</channel>
					


Remarques:

  • About pictures: Up to 5 images max per advertisement
  • In field <description>, please enter the text of description in html so the layout of the original text is saved when it’s synchronized.
  • About “condition” of car:

    In case you don’t have the condition rating of the car on your site:
    please set condition to a fixed number, probably “0”

    <condition>0</condition>
    so condition will always be marked as (in this case) “cond 1 Exceptional”

    OR you can set to any other condition:

    cond 1 Exceptional = 0
    cond 2 Excellent = 1
    cond 3 Very good = 2
    cond 4 Good = 3
    cond 5 Restorable = 4
    cond 6 Parts only = 5
    Accident = 6

  • the field <id> is a unique id for the advertisement from your side, preferable without spaces in string.
  • Synchronization is done weekly.