[dokuwiki] Re: Thoughts On FCKW

Hi,

> i have been thinking about the continuation of the FCKW project.
> 
> one of the most important developments planned is to port the  
> html2wiki conversion to php.
> 
> i would love to do this with XSLT using the XSL extension [1].
> 
> what are your thoughts about this?

Can you be sure the editor will always return valid xhtml? Otherwise an
XSLT parser might have problems. I'd try to avoid using a special
library - the idea behind porting the thing to PHP is to make it easier
for people to install. Onstalling a PHP extension is not possible for
many people.

> is the XSL extension enabled on most php 5 servers?

Aha! Time for some popularity data. We have 312 records currently. 91
have the xsl extension, 30 have the xslt extension. Wouldn't call that
"most".
 
> can i expect php 5 these days?

| cnt | version           |
|   5 | 5.0               |
|  18 | 4.3               |
|  44 | 5.1               |
|  57 | 4.4               |
| 188 | 5.2               |

not yet, but close.


-- 
http://www.splitbrain.org

Other related posts: