Is there a way to add HTTP feed to webpages.

I have an IDX property search feed that needs to be added. It is secure link that is offered in HTTP only from MLS provider and is used by all the other major webpage sites already.

Any suggestions?

Thank you

I’m not sure I understand what you need.

Can you give extra info?
What do you mean by Feed? what should be seen on the screen?

Liran.

I am trying to host an IDX property search provide by a MLS provider for realtors.

It is the standard map search function you find on any real estate agent / company webpage and refreshes every 15 minutes with updated property listing available to customers. It is provided in http only, not https. The html code box only expects https.

Is there another way to setup the html code provided by IDX which is provided in http only.

For real estate agent and real estate companies webpages; its almost essential to provide a map search function with properties on the home page. Customers expect it to be available, even as an action item on home page.

Thank you.

Hello,

Embedding a non-secure http code with an iframe on Wix sites is not possible.
Thank you for your feedback.

While your IDX provider only allows non-secure code, perhaps other IDX providers are offering the use of secured code embedding or even a complete API, which will allow you to implement the listing data by accessing the service directly with Wix Code

Depending on what you’re trying to do, there is a chance it might work with HTTP afterall.

See this:

Embed a site with a URL that begins with the HTTP protocol

To embed a site with a URL that begins with the HTTP protocol, you can do either of the following:

Embed the site using the HTTPS protocol.

  • From the More section of the Add menu, drag an HTML Code element to your page.

  • In the HTML Component’s settings panel, select Code .

  • Add the code below.

  • Edit the code to contain the URL of the site you want to embed (with an “s” added to the “http”) and the size you want it to be.

< iframe src=“https://sitetoembed.com” width=“100%” height=“500” frameborder=“0” scrolling=“auto” allowtransparency=“true”></ iframe >

Turn off SSL protection for your site. (Note: this will make your site less secure.)

  • In the Editor menu, select Site and choose Site Manager .

  • In the Site Settings panel, select Domain and click Turn off SSL .

  • From the More section of the Add menu, drag an HTML Code element to your page.

  • In the HTML Component’s settings panel, set its Website Address to be the URL of the page you want to embed.

Taken from this article: Velo: Working with the HTML iframe Element | Help Center | Wix.com

Thanks Sam,

Turning off the HTTPS, allowed me to paste it into the code section, not the url. But it did allow the " non-secure http code with an iframe"…

-So that is a viable solution for people needing to host non https in HTML box.-

Quick additional question:

Is there way to have your website check incoming visitors screen requirements and then auto adjust screen resolution to each device that is viewing the site?

Some viewing components, such as large map search is necessary to have full screen on all devices, which makes it more usable for all devices.

Thank you.

Hi,

You can’t know the exact device, but you can know the window size using wixWindow .
Liran

Thanks Liran.

For anyone who wants to detect the device type, you can use this Q&D method of identifying device type.

import wixWindow from 'wix-window';
let isDesktop,isMobile,isTablet;
$w.onReady( function(){
	//...
	isDesktop = (wixWindow.formFactor === "Desktop");
	isMobile = (wixWindow.formFactor === "Mobile");
	wixWindow.getBoundingRect()
	.then((WindowSizeInfo) =>{	
		isTablet = ( (wixWindow.formFactor === "Desktop") && (WindowSizeInfo.document.width === 980));	
	});	
}	

Keep in mind that the isTablet variable is set within the promise asynchronously, so attempting to console.log() it right after will give you undefined.