Getting rid of NL2BR and broken BBCode
Posted: Thu Apr 28, 2005 5:26 pm
Hi.
First of all, this is no offense agains the developer(s) responsible for the BBCode plugin. I just found it completely unusable in version 0.8 because of the changes to "which character is valid in an URL and which not". Therefore I decided to quit using BBCode and instead write plain HTML. Additionally, I wanted to stop using NL2BR and instead write <p> and <br/> tags manually.
I first thought about changing all of my 240 blog entries manually, but after the fifth I found out that this sucked.
Therefore I wrote a little script to do this stuff automatically. If you want to do the same thing, have a look at BBCode Destroyer for Serendipity. It's a simple PHP script (public domain), and there's also a small english "how to use" manual.
Giving the community something back,
Tim.
First of all, this is no offense agains the developer(s) responsible for the BBCode plugin. I just found it completely unusable in version 0.8 because of the changes to "which character is valid in an URL and which not". Therefore I decided to quit using BBCode and instead write plain HTML. Additionally, I wanted to stop using NL2BR and instead write <p> and <br/> tags manually.
I first thought about changing all of my 240 blog entries manually, but after the fifth I found out that this sucked.
Giving the community something back,
Tim.