Hello here
Converting html to text in php with html2text - Removing the link list
I have been using the PHP class html2text recently.
See http://www.chuggnutt.com/html2text.php It's a great class but I wanted to get rid of the link list at the end of the conversion. So I modified the php class. You just need to call the method disableLinkList() before converting : $h2t =& new html2text($html);You can download the modified class here : http://www.lowas.be/cms/public/downloads/class.html2text.inc.txt |