On 1/6/06, SamFeltus <[EMAIL PROTECTED]> wrote:
>
> I thought of the webcrawler.  But that seems like a hack.  Seems like
> pages oughta be able to be marked static.
>
> TurboGears looks like it could be an economical way of creating and
> maintaining good looking static sites.

The TurboGears site itself is all built on Kid templates using the
script docgen.py that you'll find at the top level of the
distribution. I'm not exactly sure how CherryPy enters the mix if all
you're really thinking of is Kid templates.

If CherryPy is actually doing some dynamic calculation that you want
to preserve in static form, you could set a "static" attribute on
whichever methods you want to mark, and then recurse down from
cherrypy.root, calling each of the static methods in turn and saving
their output to a file.

Kevin

--
Kevin Dangoor
Author of the Zesty News RSS newsreader

email: [EMAIL PROTECTED]
company: http://www.BlazingThings.com
blog: http://www.BlueSkyOnMars.com

Reply via email to