Пример описания коттеджа

Вернуться к описанию XML-формата

 <?xml version="1.0" encoding="UTF-8"?>

<root>

    <offers>

        <offer>

            <id>123456</id>

            <part>загородная</part>

            <object-type>коттедж</object-type>

            <description><![CDATA[Уютный коттедж в аренду - 20 км от МКАД по Каширскому шоссе. Деревня Иваново, чистый воздух, рядом пруд]]></description>

            <url><![CDATA[http://example.com/mycottage.html]]></url>

            <created-at>2014-11-03 05:37:57</created-at>

            <updated-at>2014-11-01 00:00:00</updated-at>

            <images>

                <image primary="1"><![CDATA[http://example.com/img/foto1.jpg]]></image>

                <image primary="0"><![CDATA[http://example.com/img/foto2.jpg]]></image>

                <image primary="0"><![CDATA[http://example.com/img/foto4.jpg]]></image>

                <image primary="0"><![CDATA[http://example.com/img/foto5.jpg]]></image>

            </images>

            <bargain>

                <type>аренда</type>

                <price>

                    <value>80000</value>

                    <unit>total</unit>

                    <currency>RUR</currency>

                    <period>month</period>

                </price>

            </bargain>

            <seller>

                <phone>1 (234) 567-89-10</phone>

                <extension></extension>

                <name><![CDATA[Петр Петров]]></name>

                <email><![CDATA[petrov@example.com]]></email>

            </seller>

            <location>

                <country>Россия</country>

                <state>Московская</state>

                <town>Иваново</town>

                <town-region></town-region>

                <district>Каширское</district>

                <latitude>55.798413</latitude>

                <longitude>37.530566</longitude>

                <highway>

                    <name>Каширское</name>

                    <distance>10</distance>

                </highway>

            </location>

            <floor>

                <total>1</total>

                <current>1</current>

            </floor>

            <area>

                <living>200</living>

                <plot>20</plot>

            </area>

            <house-info>

                <heating-type>камин</elevator>

                <watercloset-type>в доме</concierge>

            </house-info>

            <object-info/>

            <plot-info/>

        </offer>

    </offers>

</root>

Вернуться к описанию XML-формата