Re: Text_Wiki: HTML => Wiki
| From: | Paul M Jones | Date: | Mon, 28 Jun 2004 17:16:44 +0000 |
| Subject: | Re: Text_Wiki: HTML => Wiki | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-13380@lists.php.net to get a copy of this message | ||
Hi, Tobias,
is there a possibility to parse HTML to Wiki Markup with Text_Wiki?Not with Text_Wiki itself, as things are now, unless you want to write (1) a rule parser set for HTML, and (2) a rule renderer set that converts the Text_Wiki internal meta-format to Wiki. Sorry. :-( However, it is very possible to write a standalone script of custom regexes to convert HTML documents. I have done so myself, and while it is *very* limited, it helps with simple HTML pages. Email me off-list if you're interested in seeing the (very rudimentary) code for this. -- Paul M. Jones Savant: the simple alternative to Smarty for PHP. http://phpsavant.com/ DB_Table: build RDBMS tables and XHTML forms in one PHP class. http://wiki.ciaweb.net/yawiki/index.php?area=DB_Table Yawiki: a collaborative online documentation system. http://wiki.ciaweb.net/yawiki/index.php?area=Yawiki Yawp: a single-file foundation for PHP applications. http://phpyawp.com/