[pmwiki-users] Wrap/Embed html+js file in wiki pages?

Patrick R. Michaud pmichaud at pobox.com
Wed Apr 11 15:45:52 CDT 2007


On Wed, Apr 11, 2007 at 04:38:50PM -0400, Justin wrote:
> Tegan Dowling wrote:
> > On 4/11/07, Justin <lists at harbell.net> wrote:
> >> Can I embed or wrap a complex HTML document inside a Pmwiki page? It
> >> needs to include a lot of javascript.
> > 
> > Will this do it?
> > http://pmwiki.org/wiki/Cookbook/EnableHTML
> 
> I gave that a try.  It works with <b> and <i>, but not with <iframe>
> I put this below the include (in config.php):
>       EnableHtml('iframe|b|i');
> Then:
>       <iframe id="blah" src="http://foobar.net:3000/moocow" 
> scrolling="no" marginwidth="0" marginheight="0" frameborder="0" 
> vspace="0" hspace="0" style="overflow:visible; width:900px; 
> height:620px; display:none"></iframe>
> 
> This works fine in a normal page (.html or .php) but in Pmwiki it just 
> didn't show up at all.

The http://foobar.net:3000/moocow address might need to be
escaped somehow, otherwise PmWiki may pick it up as a link
to be converted.  So, perhaps try [=http://foobar.net:3000/moocow=]
instead.

Pm



More information about the pmwiki-users mailing list