Assistance required with XML data feed integration from another site into my website. Can this be done? I have databases already established for my Wix site, but need to work out how XML data can be fed into it.
I’ve designed a site for my client, but was not told until the project was almost complete that they want data they are entering into another site to be displayed on their site. Long story cut short, they are a marine/boat dealer who use a popular sales site that has the ability to feed other sales websites, as well as their own. Iframes look like crap when displaying the data, so I’m hoping to find another way.
I initially created a database for the client to enter their sales info, however I’m now hoping there is a way to get the external XML data to feed into my Wix database. Is this possible?
I have the same question, the suggested links are how to share data collections from Wix site not how to feed Wix data collection from another live data source.
Wix promised me at the London meeting that they were developing an app to allow pages to pull information from other sites as an XML feed. That was over a year ago I think.
They also said they were developing an app specifically for Real Estate Agents, as ALL Agents need to display their portfolio on generic sites first in order to sell a house… So basically Wix is still a waste of time if you want to have real estate clients…
I have more of a problem with how to the big Wix boys lied in front of everybody when asked a direct question. Just say you still can’t do it, which closes Wix off to anybody in Real Estate, and closes that industry off to me as a Designer…
Workaround:
With a little coding experience, you can integrate IDX from an external serve r using Corvid by Wix. You can find more information about using Corvid here .
I’m attempting to build a job that imports external xml feed (RSS) into a WIX datasource. The first step of retrieving the xml file using fetch() has yielded errors that I need help interpreting.
When I specify the xml as a literal string in the backend jsw, I can retrieve the content to the front end, but if I substitute the fetch() results for the literal xml, I get an error. Here is the simplistic prototyping backend code which successfully passes the literal text to the front end:
export function showXML(URL) {
var xml =
'<?xml version="1.0" encoding="utf-8"?>' +
'<note importance="high" logged="true">' +
' <title>Happy</title>' +
' <todo>Work</todo>' +
' <todo>Play</todo>' +
'</note>';
return xml;
Below is attempt to use fetch() to retrieve the xml. It results in the error: “converting circular structure to JSON”
import {fetch} from 'wix-fetch';
export function showXML(URL) {
let sourceURL='https://digitaltrends.com/feed/';
let xml= fetch (sourceURL, {
method: 'get'});
return xml;
}
I tried adding the “body: ‘text’” option to fetch(), but that did not eliminate the error.
Is it not possible to retrieve an xml file with fetch()?
My expectation was that the xml could be obtained with fetch() and then converted to json with xml-js utilities to then be inserted into a datasource.
Any guidance with this will be greatly appreciated!
Thanks.
Instead of commenting on old posts. Please consider creating a fresh post while clearly explaining your issue. This helps you get quicker solution and keeps the Community Forum clean.