Use the html2haml binary:
$ html2haml -h
Usage: html2haml [options] [INPUT] [OUTPUT]
Description: Transforms an HTML file into corresponding Haml code.
Options:
-r, --rhtml Parse RHTML tags.
--no-rhtml Don't parse RHTML tags.
-x, --xhtml Parse the input using the more
strict XHTML parser.
-s, --stdin Read input from standard input
instead of an input file
--trace Show a full traceback on error
-?, -h, --help Show this message
-v, --version Print version
It's installed when you install Haml with RubyGems.
--John
On Jan 11, 2009, at 1:30 PM, Mark Muskardin wrote:
Hi All,
Can I convert all my front-end markup to HAML in Radiant CMS? If
so, how
would I do that?
ERB is getting old!
//Mark
_______________________________________________
Radiant mailing list
Post: [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant
_______________________________________________
Radiant mailing list
Post: [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site: http://lists.radiantcms.org/mailman/listinfo/radiant