Page 1 of 1

Embed external website into Wiki Live Page

Posted: Wed Feb 14, 2018 12:45 pm
by RomzMcGriess
Hello,

i try to embed a external page into a wiki live page. I tried with IFrame:

Code: Select all

<iframe src="http://en.wikipedia.org/wiki/Main_Page" width="100%" height="500"</iframe>

but its only showing a grey rectangle.

Is there a way to display websites in wiki pages?

Thanks for any advices.

Greetings Roman

Re: Embed external website into Wiki Live Page

Posted: Thu Feb 15, 2018 1:24 pm
by ALMighty
RomzMcGriess wrote:i try to embed a external page into a wiki live page. I tried with IFrame:

Code: Select all

<iframe src="http://en.wikipedia.org/wiki/Main_Page" width="100%" height="500"</iframe>

but its only showing a grey rectangle.

Is there a way to display websites in wiki pages?


You mean a Wiki Page. There are Wiki Pages and Live Docs (also called modules in Polarion) but no Live Wiki Pages. :wink: Or am I wrong? :oops:

Your code snippet has an error, the closing bracket is missing at the end of the opening iframe tag. This way is correct (see also https://www.w3schools.com/tags/tag_iframe.asp):

Code: Select all

<iframe src="http://en.wikipedia.org/wiki/Main_Page" width="100%" height="500"></iframe>


EDIT: Please forget what I said before that iframes are ostensibly not working anymore in wikipages. The answer from mhoe below says how it works correctly.

Re: Embed external website into Wiki Live Page

Posted: Thu Feb 15, 2018 1:39 pm
by mhoe
With https it works for me both, on a wiki page and on a LiveReport page

Code: Select all

<iframe src="https://en.wikipedia.org/wiki/Main_Page" width="100%" height="500"</iframe>

Re: Embed external website into Wiki Live Page

Posted: Thu Feb 15, 2018 1:44 pm
by ALMighty
mhoe wrote:With https it works for me both, on a wiki page and on a LiveReport page

Code: Select all

<iframe src="https://en.wikipedia.org/wiki/Main_Page" width="100%" height="500"</iframe>


Thank you! You are a genius! :D

I wondered why it didn't work because a few years ago the iframe was the propsed way to include external webpages on the official website: https://community.plm.automation.siemen ... a-p/380614

If the iframe still works and alwys works I wonder what this extension was for: http://extensions.polarion.com/extensio ... wiki-pages

Re: Embed external website into Wiki Live Page

Posted: Sun Feb 18, 2018 11:23 am
by RomzMcGriess
Thanks guys. Yes with HTTPS its working. And i know why its not working with HTTP. Outgoing requests on port 80 are blocked from the server firewall.