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.

button to undo the last javascript change
cbparser quick bbcode guide..
Most common bbtags are supported, and with cbparser's InfiniTags™ you can pretty much just make up tags as you go along. If cbparser can construct valid html tags out of them, it will. Experimentation is the key, and preview often.

A few bbcode examples..
[b]bold[/b], [i]italic[/i], [big]big[/big], [sm]small[/sm], [img]http://foo.com/image.png[/img], [code]code[/code],[code]teletype[/code], [url="http://foo.com" title="foo!"]foo U![/url], and more.. To post code with indentation and/or strange characters, .htaccess, etc., use [pre][/pre] tags.
download cbparser
an HTML5 compliant bbcode parser



Welcome to the comments facility!


previous comments (ten pages)   show all comments

satanuke - 04.08.05 12:38 am


writeln('smiley for :D');



cor - 04.08.05 3:29 am

smiley for :lol:

Yeah, I know! But if you lack a sense of adventure, you can easily add "javascript" to your banned words.

;o)
(or


Needs - 09.08.05 7:30 pm

I really really need help turning something I did in HTML into code for a phpbb form. It's a table that i've created.....can someone help me??

email me if you can -- i don't know if i'll be able to find this site again.. smiley for :roll:
sweetie_pies20@yahoo.com


cor - 09.08.05 9:56 pm

try ##php on freenode IRC.

;o)
(or

ps.. check your menus, there should be something called "favourites", or "bookmarks", that's where you put sites you want to find again.


test - 10.08.05 10:25 am

Hi all!


cbr600 - 13.08.05 1:43 pm

could you add support for /li (close list item) and then get W3C XHTML Validator ?


cor - 13.08.05 10:38 pm

well, all this XHTML is new territory for me, but coincedentaly (if there were really such a thing) that's exactly what I've been studying and working on these last few days, the results so far..

http://ampsig.com

So I'm gradually working my way around to first, making all my "packages" XHTML compliant - "thumber" already is, because I needed it for ampsig.com, and then eventually the gubbinz here at corz.org, because I installed Opera, and all I have to say is, erm, sorry smiley for :eek:

So yes, somewhere in all that, cbparser will be getting a grande make-over, clean-up, scub and polish, etc, I'm learning new stuff all the time, so it will doubtless come out the other side spik and span!

cuz damn! when I see that big green "This Page Is Valid XHTML!" I go all fuzzy inside! smiley for :lol:

I'll post details here when I eventually get around it.
Thanks for the nudge.

;o)
(or


UpMaker - 26.08.05 8:14 pm

Fatal error: Cannot redeclare bb2html() (previously declared in /deathrectory/cbparser.php:236) in /deathrectory/cbparser.php on line 235


cor - 26.08.05 8:32 pm

You only need to include it once smiley for :ken:

;o)
(or


Zapotek - 10.09.05 4:26 pm

Cor thanx for giving the source to the masses!
I used it as inspiration for my CMS's parser...

Thanx again...


Ali - 23.09.05 10:20 am

<?php echo 'neat!'; ?>



next comments (10 pages)

First, confirm that you are human by entering the code you see..

(if you find the code difficult to decipher, click it for a new one!)


gd verification image

 

Welcome to corz.org!

I'm always messing around with the back-end.. See a bug? Wait a minute and try again. Still see a bug? Mail Me!