On Thu, Jun 15, 2006 at 10:08:38PM +0200, Florian Lindner wrote: > Hello, > how can I use (render to html) restructered text that is in a static file?
This might help (untested, I like Twiki-Source better :-) ): rest=zapi.createObject(None,'zope.source.rest',my_restrucuted_textstring) view=getMultiAdapter((removeAllProxies(rest),request),IBrowserView,'') html=view() You just have to read your static file's content into the string 'my_restrucuted_textstring' before this example code is executed. Regards, Frank _______________________________________________ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users