html2text in php
Rich Pedley
elfin at elfden.co.uk
Fri Jun 30 06:26:34 EDT 2006
On 30/06/2006 00:15, Milian Wolff wrote:
> Hi there!
>
> I recently ported Aaron Swartz' html2text.py to PHP and would like to know
> what you think about it.
> Any suggestions and bug reports are much appreciated.
>
> Check it out: http://milianw.de/projects/html2text/
>
> Note: Michel Fortins PHP Markdown Extended is supported (that is: tables and
> definitionlist are supported in some way)
>
> There are still some bugs but I hope to sort them out soon.
>
> Best regards
>
> PS: I have a question regarding regular expressions, should I write that in
> another email? Or is this not the right place for that?
>
I get the following error:
Warning: XML error #4: not well-formed (invalid token) at line 1 in
/www/htdocs/w0065fc9/milianw/projects/html2text/html2text.php on line 149
when trying to convert some html to markdown:
<div id ="menu">
<h2>Admin</h2>
<ul>
<li><a href="http://www.quirm.net/admin/index.php">Admin login</a></li>
</ul>
</div>
Rich
More information about the Markdown-Discuss
mailing list