[Petal] Maypole

Jean-Michel Hiver jhiver at mkdoc.com
Wed Jun 16 17:01:03 BST 2004


Yuval Kogman wrote:

>Hi,
>
>I created a dirt simple Maypole::View::Petal, which is really nothing
>special.
>
>I'm not enjoying the template conversion, though.
>
>Would someone please look at them, and see how to do them? My schedule
>is becomming too tight to again, and I won't fit it this week. I
>converted about 30% so far, and you can see some of this working at
>
>	http://nothingmuch.woobling.org/beerdb
>
>Important parts are missing.
>
Hey that's kinda cool.

>I just can't eat that TT stuff - it's so ugly, and it uses stuff which
>is just not right to do under Petal.
>
>Something which might resolve the issues I'm having is to port the
>	object/path/?thing
>extension that Zope's implementation has, which interpolates thing into
>the path, and then evaluates the path. This is used extensively under
>Simon Cozens original TT templates.
>
Darn. Could you give a simple TT example? Just so that I can write a 
test and try to get it working.

>I've used Petal::Utils for some of the template stuff.
>
>Note that the reason I use Petal is that my X?HTML is very bad. It would
>be a good idea for someone to look
>
HTML Tidy is your friend :)

Cheers,
Jean-Michel.



More information about the Petal mailing list