On Thursday 20 April 2006 14:01, Andrew Milton wrote:
+-------[ Gaute Amundsen ]----------------------
| On Thursday 20 April 2006 13:23, Andrew Milton wrote: | > +-------[ Gaute Amundsen ]---------------------- | > | > | On Thursday 20 April 2006 12:15, Andrew Milton wrote: | > | > +-------[ Gaute Amundsen ]---------------------- | | <snip> | | > | But, why render the page, when I could just parse it to get the field | > | order? Fun with regexp, or dom :) | > | > Because you can just throw it at the ZPT or DTML engines, convert to | > text and as a side-effect you get something ready to put into the | > email? | > | > If you want to write your own parser, feel free. | | I should have suspected :) | | Any hints to get me statred on the zpt version?
I don't know what you have now, so no not really.
PageTemplate can be imported from Products.PageTemplates It as a write method that lets you put the html into it.
Thanks. I will get back to the list when I am done, but it may not happen in a few days. Gaute.