Embed web browser to show "External page content"

Manmath Kulkarni asked on February 14, 2017 11:00

Hi,

I am creating a website in which I would like to show external web link/Url that can show live information from other URL(Outside Kentico CMS).

How to show contents of external URL in Kentico using web part(Pgaeholder/placeholder/browser).

Is there any web part in which I can set external URL and this web part will work as embedded browser.

Kindly share your ideas how this can be implemented.

Thanks in advance,
Manmath.

Recent Answers


Peter Cranston answered on February 14, 2017 14:49

Sounds like you want to embed an iframe. If it's just a one off you could use the Static HTML webpart and put the markup in there, e.g.

<iframe width="560" height="315" src="http://www.someexternalsite.com" frameborder="0"></iframe>

If you want it to be more dynamic to show different urls on multiple pages, I'd suggest creating your own custom webpart.

0 votesVote for this answer Mark as a Correct answer

Peter Mogilnitski answered on February 14, 2017 15:58 (last edited on February 14, 2017 16:08)

Well It is really depends on what sort of content you want to show. For example if you want to to show some news, most likely the external site has rss/atom feed that you can consume on your Kentico site. There are examples how to do it:

External RSS feed

Displaying items from external RSS feeds

IFRAME could be a solution if there is no other alternative, but I would not recommend it nowadays.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.