Account



 
PHP Classes > In-House PHP Classes > HTML Converter


HTML Converter
Converts simple HTML to PDF/RTF/Text
GZipped Archive
Download (29KB)
This class takes a pseudo-HTML document as input, and converts it to a formatted plaintext (TXT), Microsoft Word-compatible rich text (RTF), or PDF format document.

We refer to the input document as "pseudo-HTML", because the interpreter only handles a VERY limited subset of HTML. We use it internally to convert articles in our content management system into alternate downloadable formats, and it serves this purpose well.

If your requirements are more complex than
, , , ,

, and VERY simple CSS, however, then this class probably isn't for you.

Downloads: 2674
Added: Dec 13, 2005 11:48 PM
Last updated: Feb 13, 2007 03:20 PM
feedme@yenc32.com