Re: Re: BBCodeParser alerts
| From: | Jean-Marc Fontaine | Date: | Fri, 25 Apr 2003 07:16:38 +0000 |
| Subject: | Re: Re: BBCodeParser alerts | ||
| References: | 1 2 3 4 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-15502@lists.php.net to get a copy of this message | ||
Hi Jon,
> Have you got a version I could take a look at anywhere? Sounds like it's
> just what I need right now, and I'd like to know whether to wait a while
> for this, or go ahead and roll my own.
Currently the smilies handling routines and the DB container are written. An
XML container is planned to be added soon.
The tags routines are written but I need to fix a bug when I "htmlentities"
imbricated tags. I have a clue on how to fix it but I had not the time do
try it yet.
The containers can have 3 complexities :
- Simple -> To handle bbCode very easily (Tags looking like this :
[x]...[/x] or [x=y]...[/x] or [x="y"]...[/x])
- Medium -> To handle custom tags enclosed in [ ] (Tags looking like this
for example but not limited to this : [x y="z" a=b]...[/x])
- Complex -> To handle customs tags like in the medium container but with
custom enclosing characters (Tags looking like this for example but not
limited to this : {x y="z" a=b}...{/x})
A DB container is nearly done (Complex remaining) and an XML container is
planned.
Regarding the sanitize() method, it is only planned for now, nothing is
written.
I am currently working on this package and will submit it to this newsgroup
for approval as soon as I believe it is done. In the meantime I can provide
you some work in progress version if you want.
Regards
Jean-Marc