Embed external website into Wiki Live Page

Description
RomzMcGriess
Posts: 4
Joined: Wed Nov 15, 2017 8:46 am

Embed external website into Wiki Live Page

Postby RomzMcGriess » Wed Feb 14, 2018 12:45 pm

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

ALMighty
Posts: 80
Joined: Wed Apr 27, 2016 10:34 am
Location: Austria

Re: Embed external website into Wiki Live Page

Postby ALMighty » Thu Feb 15, 2018 1:24 pm

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.
Last edited by ALMighty on Thu Feb 15, 2018 1:47 pm, edited 2 times in total.

mhoe
Posts: 25
Joined: Tue Nov 29, 2016 3:30 pm

Re: Embed external website into Wiki Live Page

Postby mhoe » Thu Feb 15, 2018 1:39 pm

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>

ALMighty
Posts: 80
Joined: Wed Apr 27, 2016 10:34 am
Location: Austria

Re: Embed external website into Wiki Live Page

Postby ALMighty » Thu Feb 15, 2018 1:44 pm

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
---------------------------------------------------------------------------------------------------
Playing a good game is never lame. :D
Image

RomzMcGriess
Posts: 4
Joined: Wed Nov 15, 2017 8:46 am

Re: Embed external website into Wiki Live Page

Postby RomzMcGriess » Sun Feb 18, 2018 11:23 am

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.


Return to “Polarion Application Lifecycle Management (ALM)”

Who is online

Users browsing this forum: No registered users and 9 guests