[Moin-user] headers in python

Mark Grieveson dg135 at torfree.net
Tue Feb 20 12:57:54 EST 2007


On Tue, 20 Feb 2007 11:51:53 -0500
Mark Grieveson <dg135 at torfree.net> wrote:

> Hello.  I'm trying to integrate a moinmoin wiki with the rest of my site.  Can header files be done in python?  In php, I use the code: 
> 
> <? include ("header.html"); ?> 
> 
> Is there an equivalent code in python?  I Googled, but without success.
> 
> Thanks.
> 
> Mark
> 

Okay, I figured this out.  I don't think there's a feasible way for me to do this with python; so, I stopped mucking about and breaking my wikiconfig.py file, and instead added

<? include("header.html"); ?>
<? include("http://www.mysite.com/cgi-bin/moin.cgi"); ?> 
<? include("footer.html"); ?>

to my index.php file.

It works.  So I can now integrate the wiki into my site.

Mark




More information about the Moin-user mailing list