• Resolved elcapitan63

    (@elcapitan63)


    Hi,

    I’m trying to import properties from Resales online but I get the following error: “Content, title and excerpt are empty”. I cannot find these fields in the XML extract (see below)

    Regards, Frank

    <property>
    
    <Reference>R4364245</Reference>
    
    <AgencyRef/>
    
    <Country>Spain</Country>
    
    <Province>Málaga</Province>
    
    <Area>Costa del Sol</Area>
    
    <Location>Benahavís</Location>
    
    <SubLocation/>
    
    <PropertyType>
    
    <NameType>Residential Plot</NameType>
    
    <Type>Plot</Type>
    
    <TypeId>3-1</TypeId>
    
    <Subtype1>Residential Plot</Subtype1>
    
    <SubtypeId1>3-2</SubtypeId1>
    
    </PropertyType>
    
    <Status>
    
    <system>Available</system>
    
    <en>Available</en>
    
    </Status>
    
    <Bedrooms>0</Bedrooms>
    
    <Bathrooms>0</Bathrooms>
    
    <Currency>EUR</Currency>
    
    <Price>100000</Price>
    
    <OriginalPrice>100000</OriginalPrice>
    
    <Dimensions>Metres</Dimensions>
    
    <Built>258</Built>
    
    <Terrace>0</Terrace>
    
    <GardenPlot>202</GardenPlot>
    
    <CO2Rated/>
    
    <EnergyRated/>
    
    <OwnProperty>1</OwnProperty>
    
    <Pool>0</Pool>
    
    <Parking>0</Parking>
    
    <Garden>0</Garden>
    
    <Description>Residential plot in the heart of Benahavis. It comes approved in Nota Simple with a house project developed in basement, ground, first and second floor, parking space. The plot has 202 sqm .</Description>
    
    <PropertyFeatures>
Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Property Hive

    (@propertyhive)

    Hi Frank,

    That doesn’t look the same as the XML referenced in their docs or ReSales Online feeds I’ve worked with in the past:

    https://devdocs.resales-online.com/index.php/docs/export-xml-feeds/rso-feed-structure/resale/

    Notice how yours has uppercase node names, and your ‘Reference’ field is called ‘<Reference>’ whereas there’s is called ‘ref’. Just a few of the differences.

    Has this XML actually come from ReSales Online themselves?

    Steve

    Thread Starter elcapitan63

    (@elcapitan63)

    Hi STeve,

    the XML is obtained via the resales api as follows:

    https://webapi.resales-online.com/V6/SearchProperties?p_agency_filterid=1&p1=xxxxxxx&p2=a5e6f88bf819d5103672da0e8427f070a0922976

    where xxxxxxx is my client nr.

    Regards, Frank

    here is the related doc: Resales Online Web API V6 (resales-online.com)

    Thread Starter elcapitan63

    (@elcapitan63)

    this will clarify the issue:

    Regarding methods, please take note of the following information:

    1 – XML Feeds

    • Requires a database.
    • Property information on your website will not be in real-time.
    • XML feeds need to be programmed to run each night to update your website database, they cannot be executed during the day.
    • The full database feed is incremental; after the full feed has been executed for the first time, subsequent executions will only return property changes, additions and deletions to your database. The full database feed will NOT WORK with website creation applications such as Wix, 1&1, WordPress, etc.
    • The OwnProperties and New Developments feeds are not incremental and will load all properties on every execution of the feed.
    • XML export – Full Documentation for Web Developers

    2- API – This option pulls the data on a real-time basis.
    ?

    • Your web developer would need to setup server to server requests to pull properties onto your site without the need for a database, see the following articles which explain what you will need to setup to pull the properties correctly.
    • WebAPI V6 – Full Documentation for Web Developers
    • Your web developer would have to build your own search function for this option.
    • The WebAPI should not be used to populate a database as it does not contain the functionality to return updates only.
    • If using a CMS site (Contact Management System such as WordPress, Joomla, etc), you will need to use a custom-built plug-in to implement the API. There are web developers who have already developed a plug-in specifically for this use
      (these may not be available from the WordPress Plugin Store, but should be available directly from the developer’s website).

    So, I was looking at the wrong XML feed…

    Plugin Author Property Hive

    (@propertyhive)

    Thanks for sending this through. So it’s the XML format we use. But again the documentation they’ve linked to differs from the XML you included in your first post.

    If it’s of any use I’m including below the kind of URL we normally use to get the XML data:

    https://xmlout.resales-online.com/live/Resales/Export/CreateXMLFeedV3.asp?U=RESALES@XXX&P=YYYY&Sandbox=TRUE&ER_Image=true&ER_Show=true

    Note: That’s not a live URL, just an example of the URL format we have used in the past.

    Hopefully they can advise but let me know if I can assist further from this end.

    Plugin Author Property Hive

    (@propertyhive)

    Just seen you’re other post. So it looks like you were using the v6 API. Hopefully they can switch you over to the XML feed.

    Thread Starter elcapitan63

    (@elcapitan63)

    I have both type of feeds and will test the ‘normal’ XML feed now. The remaining questions is if your plugin handles the incremental type (full database feed)?

    Plugin Author Property Hive

    (@propertyhive)

    No support for incremental yet. It’s on the roadmap but I’m afraid no timescales can be provided at present.

    I’ll mark this thread resolved as the root cause has been found I believe. Should issues persist, do feel free to raise another thread.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Resales XML feed empty feed’ is closed to new replies.