0
When I put the banner code of the site weather forecast (http://www.tempoagora.com.br) on my website that has the HTTPS protocol. Banner does not load.
The code that the site generates is this:
And even changing the link "http://www.tempoagora.com.br/ta-widgets?cidades=Araguari-MG&tipo=vertical" to "//www.tempoagora.com.br/ta-widgets? cities=Araguari-Mg&type=vertical", removing the protocol the banner does not load.
Does anyone have any solution to solve this problem?
How are you integrating it into your website? via
<iframe>
?– Sergio
yes. put the code as the site generates: <iframe frameborder="0" allowtransparency="yes" scrolling="no" width="150" height="260" src="http://www.tempoagora.com.br/ta-widgets?cidades=Araguari-MG&type=vertical"></iframe>
– Bruno
I’ve been there. The browser blocks because it considers it unsafe. The only solution I found at the time was to consult the prediction via Curl in the XML that the site provided
– Lucas
That’s right Lucas. The Console shows me the Following error message: This request has been blocked; the content must be served over HTTPS. Could you help me with this problem? Is there an example of Curl in XML? I am not aware of this.
– Bruno
Know if Curl works with aspx?
– Bruno