XML Export

BG

EN

The XML export of Pangea Group extends the namespace of the RSS 2.0 in order to provide specific fields, describing the offers.
The XML structure is as follows (the elements in green are optional):

<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:pg="http://www.pangeagroup.biz/xml/">
  <channel>
    <title>...</title>
    <description>...</description>
    <link>...</link>
    <language>...</language>

    <item>
      <title>...</title>
      <link>...</link>
      <description><![CDATA[...]]></description>
      <pubDate>...</pubDate>
      <guid>...</guid>

      <category domain="...">...</category>
      ...
      <category domain="...">...</category>

      <enclosure url="..." length="..." type="..." />

      <pg:enclosure url="..." length="..." type="..." />
      ...
      <pg:enclosure url="..." length="..." type="..." />

      <pg:hot />
      <pg:for>...</pg:for>
      <pg:code>...</pg:code>

      <pg:price currency="...">...</pg:price>
      <pg:price-per-m2 currency="...">...</pg:price-per-m2>
      <pg:area>...</pg:area>
      <pg:floor>...</pg:floor>
      <pg:floors>...</pg:floors>
      <pg:rooms>...</pg:rooms>

      <pg:address-name>...</pg:address-name>
      <pg:address-number>...</pg:address-number>
    </item>

    <item>
    ...
    </item>

    ...

  </channel>
</rss>

The direct childs of channel -- title, description, link, language and item -- are those from the RSS 2.0 specification and have the standard semantic. They are required elements in the considered schema.

In what follows we describe the item childs.

title The offer name.
link The offer URL.
description Formatted with standard HTML tags description of the offer, including the offer characteristics (price, area, categories, etc.). The text is placed inside a CDATA section.
pubDate The date of the offer publishing or last modification in the format by RFC 2822.
guid Global unique identifier of the offer.
category Offer category; domain is the category name (e.g. "Type", "Location" and "District". The element value is in the language of the content transmitted and is located between the open and the closing tags. It is possible a hierarchy to be implemented for a given domain. In this case we use a slash (/) to separate the values (as required by the RSS 2.0 specification).
"Type" is the property type, e.g. Apartment, House, Land, ... ;
"Location" is the property location, e.g. Ski resorts, Ski resorts / Pamporovo, ... ;
"District" is the property district (quarter), e.g. Lozenets, Beli Brezi, ... ;
See the Pangea Group site for the possible values.
enclosure Main madia object ("icon") attached to the offer; the attributes semantic follows the RSS 2.0 specification.

The next item childs are extension of the RSS 2.0 specification.

pg:enclosure Media object attached to the offer as in RSS 2.0. The sum of all such elements represents the offer gallery.
pg:hot The presence of this elements indicates that the offer is a special one ('hot').
pg:for The offer type (sale or rent).
pg:code The offer code.
pg:price Sale or rent price (depends on the offer type) in the specified currency. The value of the currency attribute is a standard 3-letter code by ISO 4217. For now we use only EUR.
pg:price-per-m2 Price per square meter; uses the pg:price format.
pg:area Area of the property.
pg:floor The floor number, where the property is situated (if applicable).
pg:floors The floors count of the property (if applicable).
pg:rooms The rooms count of the property (if applicable).
pg:address-name The property's street (or other geographic object, as boulevard, square, etc.) name.
pg:address-number The property's street (or other object) number.