Hi, I am wondering if folks who enjoy the pocoo tools--particularly Genshi, GHRML and CleverCSS--might be interested in SHPAML:
http://shpaml.webfactional.com/ Like GHRML, shpaml is a light syntax layer for HTML-like languages that is largely inspired by the haml project. SHPAML differs from haml and GHRML in the sense that it is not tied to a particular templating solution; it is meant to be simply preprocessed down to the next layer, whether that be Genshi, Django, raw HTML, or some other intermediate output that has syntax like HTML. Like GHRML, SHPAML is implemented in Python, and I believe it is being more actively maintained. SHPAML plays really nice with Genshi, thanks to the way that Genshi embeds commands in tags. (Also note that there is no percent sign!) shpaml: py:match path="head" once="true" head py:attrs="select('@*')" ... output to genshi: <py:match path="head" once="true"> <head py:attrs="select('@*')"> ... </head> </py:match> The SHPAML website has an online tutorial where you can try out your own examples like the above. It is also has all the normal stuff-- Download, FAQ, links to a mailing list, etc. Here it is again: http://shpaml.webfactional.com/ I hope you check it out! Cheers, Steve -- You received this message because you are subscribed to the Google Groups "pocoo-libs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pocoo-libs?hl=en.
