Including wiki pages from a different environment

4 views
Skip to first unread message

didley

unread,
May 6, 2008, 10:10:48 AM5/6/08
to Trac Users
Hi,

I'm looking for a possibilty to include wiki pages from one
environment to a other environment. I found some plugins but they only
for the same environment. Is there anywhere a plugin for it or a other
solution?

- didley

Noah Kantrowitz

unread,
May 6, 2008, 10:28:16 AM5/6/08
to trac-...@googlegroups.com

Using the IncludeMacro:

[[Include(http://othertrac/wiki/Page?format=raw, text/x-trac-wiki)]]

--Noah

didley

unread,
May 8, 2008, 4:47:45 AM5/8/08
to Trac Users
> Using the IncludeMacro:
>
> [[Include(http://othertrac/wiki/Page?format=raw, text/x-trac-wiki)]]
>
> --Noah

Sounds gut but I'm using Trac 0.11dev and the Include Macro works not
with this Version.

- thanx didley

Noah Kantrowitz

unread,
May 8, 2008, 5:08:03 AM5/8/08
to trac-...@googlegroups.com

It works fine for me on 0.11-stable.

--Noah

signature.asc

didley

unread,
May 8, 2008, 7:56:36 AM5/8/08
to Trac Users
Oh I see. I did use the include macro from Macro Bazaar. Now I found
yours on trac-hacks.org. Trac recognize the plug in but when I use
your example the I get

Error while retrieving file

HTTP Error 404: Not Found

It works with general web sites for example www.gmx.de but it don't
works with a site from a other environment. I wrote the name of the
wiki page in correct form.

I don't know why.

- didley

didley

unread,
May 14, 2008, 5:10:30 AM5/14/08
to Trac Users
Now It works when I don't use the add on "?format=raw, text/x-trac-
wiki"

But it imports the whole Site of the environment. I wanna import the
wiki sites only.

Is it possible?

- didley

Noah Kantrowitz

unread,
May 14, 2008, 5:22:53 AM5/14/08
to trac-...@googlegroups.com
didley wrote:
> Now It works when I don't use the add on "?format=raw, text/x-trac-
> wiki"
>

Try with format=txt

--Noah

signature.asc

didley

unread,
May 14, 2008, 6:13:58 AM5/14/08
to Trac Users


On May 14, 11:22 am, Noah Kantrowitz <kan...@rpi.edu> wrote:
>
> Try with format=txt
>
> --Noah

That's great. Many thanx.

- didley
Reply all
Reply to author
Forward
0 new messages