I am doing some HTML parsing and I would like to convert some content I get to textile counterparts.
<li> -> *
<b>, <strong> -> **
etc...
and strip others (not permitted html tags)
I have a table plugin in my textile editor (that defines rows and columns with | )
I tried this html2textile class but it is not doing the job well I also stumbled upon this STackOverflow's question: How can I convert HTML to Textile?
They suggested a link to a blog with (now) empty article, no content, so it was not helpful
There are plenty of Ruby and Python examples but for PHP your best bet is to debug the html2textile class you linked to and improve it. There are really no other PHP examples other than the blank CakePHP example.