[Zope] Using ZReST in page templates or python scripts

Steven Hayles sh23 at leicester.ac.uk
Thu Aug 7 10:23:48 EDT 2003


I think that file's only in ZOPE 2.7 which is still at beta 1.

"Zope 2.7 or higher integrates reST as part of the Python
docutils package."

Steven

On Wed, 6 Aug 2003, Andreas Jung wrote:

> see doc/RESTRUCTUREDTEXT.txt
> 
> -aj
> 
> --On Mittwoch, 6. August 2003 14:57 Uhr -0300 Alec Munro 
> <alec.munro at eoascientific.com> wrote:
> 
> > Hi List,
> > I'm wondering if there's a way to use restructuredText functionality from
> > within a page template or python script? For example, I am storing
> > information in a mysql database. A fair amount of this information could
> > do with the ability to be formatted. I am hoping I can utilize
> > restructuredText for this. I provide a through-the-web interface for
> > editing this content, and I would like to teach my boss + coworkers
> > simple ReST syntax, so they can edit it themselves. I would then like the
> > either store it as is, and transform it when accessed, or transform it
> > immeadiatly after editing, and store it that way. So a function from
> > python that would convert ReST to HTML would really do the trick. Thanks,
> >
> > Alec Munro
> >
> >
> >
> > _______________________________________________
> > Zope maillist  -  Zope at zope.org
> > http://mail.zope.org/mailman/listinfo/zope
> > **   No cross posts or HTML encoding!  **
> > (Related lists -  http://mail.zope.org/mailman/listinfo/zope-announce
> >  http://mail.zope.org/mailman/listinfo/zope-dev )
> 
> 
> 
> 
> 
> _______________________________________________
> Zope maillist  -  Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )
> 




More information about the Zope mailing list