corz.org uses cookies to remember that you've seen this notice explaining that corz.org uses cookies, okay!
corzblog bbcode parser preview
Here it is! My [search engine fodder] bbcode to html parser, and html to bbcode parser [/search engine fodder]!
This is the actual very onsite parser that parses the bbcode of my blogs and site comments, which as well its usual tasks of, well, you know, the parsing stuff, also moonlights doing a cute wee background demo of itself, you're looking at it. it knew you wanted to do that. hit the "preview" button to see at least one half of the parser's bbcode to html/html to bbcode functionality.
The front-end (below) is built-in to the parser, you just call the
function and it creates the form. The cool, super-portable JavaScript bbcode buttons and functions come
in the package, too. Have fun. Oh, and by the way, output is 100% pure HTML5, or nice plain bbcode, which ever way you look at it, it's free.
Welcome to the comments facility!
awesome! thanks!
just what I was looking for! excellent!
Oh My God..
I'll take that as a compliment! (Damn! I need my lol smiley! hey! I added that to cbparser today too, just do :lol: not in the release yet, laterz)
hmm.. maybe I outta make the comments thing cbparser-driven. now that's a good idea! start the clock!!
thanks for comments, it's been a fun thing to code ever since I ripped it out of the innards of corzblog.
just a silly bbcode parser
;o)
(or
really! start the clock!
it worked! of course.
I wonked for a bit, the include line is prepended with a "@" which supresses errors, and the error was that I was trying to redeclare the parser functions in the comments include for this cbparser file, and they were already declared in the cbparser file itself! does that make sense?
anyhoo, I added a check.. sorta thing, and it all fell into place. remember that if run corzblog and ever decide to latch on some "comment" mechanism!
where was I? oh yeah! it worked! of course, cbparser-powered comments!
;o)
(or
ps.. I need to make the comments text on this page smaller, though.
this is more updated than the one in corzblog, can I just drop it in place to upgrade??
yes!
It's worth grabbing a fresh copy every now and again and doing just that, it gets updated quite a lot in between corzblog releases. the latest stable zip is always here, though often the onsite version (used here and elsewhere) is newer still, though not always without its foibles.
keep a back-up in any case.
;o)
(or
I AM THE COW!
mooooo
u are teh god
heh, yeah wastZzz , I know.
hey! thanks simian [comment since deleted -ed], it was only a question of time, wasn't it. Thanks for demonstrating how bbcode survives inside pre tags. Just more fat for the googlebot to chew on. But we need more instances of the word PHP, though. php this, php that.
come on now kiddies!
;o)
(or