[wp-hackers] Re: Plugin to post source code needs testing

Otto otto at ottodestruct.com
Tue Sep 18 18:00:50 GMT 2007


On 9/11/07, Christian Höltje <docwhat+list.wp.hackers at gerf.org> wrote:
> I think he meant from a developer's point of view.  Also, I tried that
> plugin and I had problems.  I did like that the syntax let you disable
> the plugin and it looked "okay" in the browser...but this plugin has
> that potential as well...

Well, yes, if it used normal pre codes instead of these [source] things.

> The JavaScript SyntaxHighliter doesn't generate correct XHTML, so that
> *is* a problem.

Ouch. Didn't know that. Okay, yeah, that's a deal-breaker for me. If
the code is invalid, then it shouldn't be on the page, IMO.

> I wouldn't mind the server side approach if it could be cached, but
> running GeSHi everytime gets expensive for anything more than small
> snippets.  And I do like the ability to server the unformatted
> version, etc.

WP-Cache. Works great. :)


More information about the wp-hackers mailing list