When you try to embed newsroom content into your webpage, incorrect implementations may lead to 'mixed content' issues.
Mixed content means that a HTTPS page also loads content from a HTTP source where ideally it should be HTTPS-only. This can result in browser warnings such as this:
In Chrome (but other browsers offer similar options), the root cause of this can be investigated by right clicking anywhere on the page and choosing the 'Inspect' option. This opens up the Developer Tools, which allow you to peek under the hood. Click the 'Security' tab:
Reload the page. After reloading, you may see something like the following:
If the content with a HTTP origin actually originates from the content.presspage.com domain, this can be fixed.
Usually, this happens when you use a component on your page that grabs the Newsroom RSS feed and uses the <enclosure url>
element to retrieve and display images. Per the RSS 2.0 spec, the enclosure url MUST be HTTP rather than HTTPS.
So, to offer you a simple workaround, we have added the <pp:image>
element which is the HTTPS version of the same image in the enclosure URL.
If you need a high-res version of the image instead, you can also use the <pp:imageOriginal>
element provided that the originally uploaded image is large enough.
Comments
0 comments
Article is closed for comments.