W3C home > Mailing lists > Public > html-tidy@w3.org > January to March 2018

Re: Hello People - Tidy and Charset

From: Skr Jim <rmybrisetteget@msn.com>
Date: Mon, 5 Feb 2018 08:28:38 +0000
To: html-tidy <html-tidy@w3.org>
Message-ID: <CY4PR2201MB1176F4BA8D74E5B653BB2B2DDFFE0@CY4PR2201MB1176.namprd22.prod.outlook.com>
If you would like to print web pages and other HTML documents with Prince but find that they are not well-formed XHTML, try using the HTML Tidy utility to convert them to XHTML.

HTML Tidy<http://tidy.sourceforge.net/> is a free cross-platform tool (also available as a library) that can be used to tidy up irregular HTML as found on the web into valid HTML or XHTML. This is a handy way of converting old websites into a form that Prince can then print. Here is an example:


$ tidy -asxhtml -doctype loose messy.html > clean.xhtml
....
$ prince clean.xhtml

________________________________
rmybrisetteget@msn.com
Received on Monday, 5 February 2018 09:06:55 UTC

This archive was generated by hypermail 2.3.1 : Monday, 5 February 2018 09:07:06 UTC