A JL-RSS feed is composed of the following elements:
RSS container: Standard RSS and name space declarations
Channel container: Channel definitions
If all of your ads have values in common - e.g. all of the ads are for one country - you can declare a default value here (see possible channel elements).
Items: these are individual content items, each one of which is in single, unique ad. Items are nested within the channel:
The Just Landed RSS-specification contains common item elements plus specific ones for housing and jobs.
In the case of several images for a single ad being available, images can be nested within an item.
In the case of titles and descriptions for a single ad being available in different languages, content blocks must be nested within an item (for more information see below and examples).
Your JL-RSS file should start like this:
<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:jl="http://classifieds.justlanded.com/en/xml/1.0">
And end like this:
</rss>
NB: As a standard we use UTF-8 encoding for JL-RSS so we can handle all languages.
After the first part of the RSS Container, you declare your channel like this:
<channel>
<title>Name of your site</title>
<link>http://www.YourSite.com</link>
<description>Short description about your site</description>
<pubDate>Sun, 19 May 2007 15:21:36 GMT</pubDate>
And before the second part of the RSS Container, you close the Channel container like this:
</channel>
<?xml version="1.0 " encoding="UTF-8" ?>
<rss version="2.0" xmlns:jl="http://classifieds.justlanded.com/en/xml/1.0">
<channel>
<title>Name of your site</title>
<link>http://www.YourSite.com</link>
<description>Short description about your site</description>
<pubDate>Sun, 19 May 2007 15:21:36 GMT</pubDate>
[ITEMS GO HERE]
</channel>
</rss>
Click here for some examples