Man Linux: Main Page and Category List


       html2haml - Transforms an HTML file into corresponding Haml code.


       html2haml [options] [INPUT] [OUTPUT]


       Transforms an HTML file into corresponding Haml code.


       -r, --rhtml
               Parse RHTML tags.

               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

       Please note this program’s function is to make a first approach towards
       converting your HTML. Although usually it will give you a  nearly  good
       result,  it  will often need tweaking - This is specially true when you
       are parsing RHTML, as it can  include  parsable  and  conditional  tags
       which can be misinterpreted and break nesting.


       This program is shipped as part of the libhaml-ruby1.8 library package,
       you can check its corresponding  documentation  can  be  found  in  the
       libhaml-ruby-doc package.


       This  manual  page was written by Gunnar Wolf <>, based
       on the command-line output of this program, for  the  Debian  GNU/Linux
       system (but may be freely used by others).

                               December 18, 2008                  html2haml(1)