Osclass Support Forums

Osclass theme support => Veronika Osclass Responsive Theme => Topic started by: Olegs on November 11, 2019, 03:51:28 PM

Title: XML integration
Post by: Olegs on November 11, 2019, 03:51:28 PM
Hello, @Mb themes

Is it possible to integrate a XML file with ads from another portal?

Title: Re: XML integration
Post by: MB Themes on November 11, 2019, 04:10:52 PM
It's usually not working due to different location/category/user/listing structure.
Title: Re: XML integration
Post by: Olegs on November 11, 2019, 04:39:06 PM
It's usually not working due to different location/category/user/listing structure.

Can you look on this file? if possible to such integration. And if possible, can you do it?
Title: Re: XML integration
Post by: MB Themes on November 11, 2019, 05:02:59 PM
We cannot do that.
Title: Re: XML integration
Post by: Olegs on November 11, 2019, 05:07:50 PM
We cannot do that.

Where can I find the technical parameters of the fields? to understand which fields are required to fill out.
Title: Re: XML integration
Post by: MB Themes on November 11, 2019, 05:33:42 PM
You must go through databse. No such docs exists.
Title: Re: XML integration
Post by: Olegs on November 11, 2019, 07:56:30 PM
@Mbthemes

I found some information for:

Code: [Select]
<?xml version="1.0" encoding="utf-8" ?>
<listings>
    <listing>
        <title lang="en_US"><![CDATA[Title in USmana1]]></title>
        <content lang="en_US"><![CDATA[Description]]></content>
        <category lang="en_US">Auto</category>
        <contactemail>[email protected]</contactemail>
        <contactname>Mr. False Name1</contactname>
        <price>123.45</price>
        <currency>USD</currency>
        <city_area>07841454774</city_area>
        <city>Arizona</city>
        <region>Arizona</region>
        <countryId>US</countryId>
        <country>United States</country>
        <custom name="client">Companie</custom>
        <custom name="tip">Vanzare</custom>
        <image>http://domain/cats/13.jpg</image>
        <image>http://domaine/cats/598.jpg</image>
        <image>http://domain/cats/1908.jpg</image>
        <datetime>2013-03-08 12:34:56</datetime>
    </listing>
</listings>

But here is missing telephone number fields. I have I tried <s_phone> and <s_phone_mobile> but its doesn't works.
Is the correct name of the phone fields I use? I understand that the osclass itself does not have a phone number entry. And you modified it in your templates



Title: Re: XML integration
Post by: Olegs on November 14, 2019, 01:14:58 PM
Hello @Mbthemes

How can i use attribute plugin from osclasspoint for xml integration

For example:
If i use custom fields from osclass its looks like what

<custom name="Color">Black</custom>


But if need to choose attribute from attribute plugin (from osclasspoint) ?  I need to change Custom name to attribute plugin name?
can you write to me how to do it?


Thanks



Title: Re: XML integration
Post by: MB Themes on November 14, 2019, 04:50:57 PM
You must get attribute id and attribute value id
Title: Re: XML integration
Post by: Olegs on November 14, 2019, 05:22:28 PM
You must get attribute id and attribute value id


but i need to begin line like <custom name="attribute id">attribute value id</custom>

or

<s_identifier id="ID-NR">attribute value id</s_identifier>

????
Title: Re: XML integration
Post by: MB Themes on November 14, 2019, 05:32:18 PM
I have never worked with xml