Von: [email protected] [mailto:[email protected]] Im Auftrag von Vincent Massol Gesendet: Donnerstag, 21. Juli 2011 11:56 An: XWiki Users Betreff: Re: [xwiki-users] Include website as xwiki page Hi, On Jul 21, 2011, at 11:42 AM, Vincenzo Brancato wrote:
Hello,
is there a possibility to include a website directly as a wiki page, so that clicking on a link, that redirects you to >an external (www) page, loads the website directly as a "frame" in my xwiki instance. At the moment I am only able to >>create links that load the external site in a new tab or page.
Sure that's easy to do using $xwiki.getURLContent wrapped in a {{html}} macro. See for ex: http://extensions.xwiki.org/xwiki/bin/view/Extension/External+Pretty+Code
Didn't work for me, because it copies the code of the link. And the macro has a very terrible speed. Also these Macros do not work: http://extensions.xwiki.org/xwiki/bin/view/Extension/Iframe+Navigation+Macro http://extensions.xwiki.org/xwiki/bin/view/Extension/Iframe+Macro I don't know if it's my fault that the macros do not work, but this worked for me: {{html}} <iframe src="http://www.google.com" width="100%" height="100%"></iframe> {{/html}} Best regards Vince
Hope it helps, -Vincent
Best regards
Vince _______________________________________________
users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users