embedding iframe in trac wiki pages?

585 views
Skip to first unread message

nsriram

unread,
Aug 8, 2007, 2:31:50 PM8/8/07
to Trac Users

A couple of questions

1. It appears that the <iframe> is not allowed in trac html.. Is
there any way to use the object tag as an XHTML compliant alternative
or is that also banned from trac wiki pages? Are embeds at all
possible?

2. I am using a trac install that is version 0.9.4 on linux. What is
the recommended method for upgrading to the current version?

Emmanuel Blot

unread,
Aug 8, 2007, 5:42:54 PM8/8/07
to trac-...@googlegroups.com
> 1. It appears that the <iframe> is not allowed in trac html..
Sure, <iframe> is not a valid XHTML tag.

> there any way to use the object tag as an XHTML compliant alternative
> or is that also banned from trac wiki pages?

Yes, see http://trac.edgewall.org/wiki/TracIni#wiki-section,
render_unsafe_content option.
I don't know how 0.9 works (too old), I used to patch Trac code before
this option was introduced.

> Are embeds at all possible?

Yes, but you'd better ensure untrusted used are not allowed page edition.

> 2. I am using a trac install that is version 0.9.4 on linux. What is
> the recommended method for upgrading to the current version?

1. Uninstall Trac (all of Trac, including the htdocs and template
files, but obviously excluding your Trac projects)
2. Install 0.10.4 or 0.11pre
3. Run trac-admin upgrade and trac-admin wiki upgrade on each of your
Trac projects

HTH,
Manu

nsriram

unread,
Aug 10, 2007, 9:59:09 AM8/10/07
to Trac Users
Thanks.. Will do the upgrade after a few weeks and report back here.

On Aug 8, 5:42 pm, "Emmanuel Blot" <manu.b...@gmail.com> wrote:
> > 1. It appears that the <iframe> is not allowed in trac html..
>
> Sure, <iframe> is not a valid XHTML tag.
>
> > there any way to use the object tag as an XHTML compliant alternative
> > or is that also banned from trac wiki pages?
>

> Yes, seehttp://trac.edgewall.org/wiki/TracIni#wiki-section,

Reply all
Reply to author
Forward
0 new messages