Export images as specific array
-
Hi!
I`m working on custom xml export, should be like this<?xml version="1.0" encoding="UTF-8"?> <Ads target="Avito.ru" formatVersion="3"> <Ad> <Id>h632145</Id> <Category>Музыкальные инструменты</Category> <GoodsType>Гитары и другие струнные</GoodsType> <AdType>Товар приобретен на продажу</AdType> <Address>Москва, м. Речной вокзал</Address> <Title>Гитара Yamaha Pacifica</Title> <Description><![CDATA[ Гитара в очень хорошем состоянии, надёжная, прекрасный звук, есть едва заметные следы использования. Не Китай, сделана в Индонезии. Была у нас группа, распалась, поэтому некоторые инструменты оказались уже не нужны. Могу предложить вместе с гитарой: шнур 3 метра, фирменный широкий ремень, хороший чехол, а также комбоусилитель. Есть два громких усилителя. С одним (10 Вт) цена за всё 10500, с другим (15 Вт) - 12500. ]]></Description> <Price>8000</Price> <ManagerName>Менеджер по продажам</ManagerName> <AllowEmail>Да</AllowEmail> <Images> <Image url="https://64.img.avito.st/640x480/4044040064.jpg"/> <Image url="https://94.img.avito.st/640x480/4044040394.jpg"/> <Image url="https://29.img.avito.st/640x480/4044040429.jpg"/> <Image url="https://42.img.avito.st/640x480/4044040442.jpg"/> <Image url="https://43.img.avito.st/640x480/4044040443.jpg"/> </Images> <VideoURL>http://www.youtube.com/watch?v=YKmDXNrDdBI</VideoURL> <AdStatus>Free</AdStatus> </Ad>I`m almost done, but there is a problem with images array, how can i put images in array like this –
<Images> <Image url="https://64.img.avito.st/640x480/4044040064.jpg"/> <Image url="https://94.img.avito.st/640x480/4044040394.jpg"/> <Image url="https://29.img.avito.st/640x480/4044040429.jpg"/> <Image url="https://42.img.avito.st/640x480/4044040442.jpg"/> <Image url="https://43.img.avito.st/640x480/4044040443.jpg"/> </Images>And is it possible at all?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘Export images as specific array’ is closed to new replies.