Hi, I like Haml. Unfortunately my html guy here at work is not such a fan. I noticed that the haml package has an html2haml program and started doing some work on haml2rhtml. By redefining 'push_script' and 'push_silent' (and a few others) I've got a fair bit working. On my 50 or so haml templates here at work I can convert about 30 of them to rhtml with no change in appearance.
It's not very nice that the tool fails that much though, so I'm just kind of putting this out there before I spend too much more time working on it. I want to make sure I'm not missing something terribly obvious. So I guess #1 question is is there already a way to do automatically convert haml -> rhtml? I've looked at the 'suppress_output' option and that can be kind of helpful, is there an easy way that I can use that to help me out? Hmm. Maybe I could suppress the output, but take a note of where the ruby code is and squeeze it back in once the rest of the template is done. Thanks, Brad --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Haml" 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/haml?hl=en -~----------~----~----~----~------~----~------~--~---
