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 (six pages)   show all comments

cor - 11.02.05 3:52 pm

Currently, cbparser will strip HTML links (optional), but leave regular HTML structures alone. It won't process php scripts, of course.

It would be trivial to kill all HTML tags, a line like..
$bb2html = strip_tags($bb2html);
would do that. Drop it inside the function, right after the global statement. (say, line 155, if you are using the current beta) I may add a preference.

I've always seen the ability to drop into html when needed as a great thing, I'm curious, what exactly are you trying to prevent?

;o)
(or


anonymous - 08.03.05 1:03 am

Its Great :) Thanks dude :)


nice - 18.03.05 10:55 pm

may i too have a comment like this on my "powered by corzblog" site? how's the code?


cor - 18.03.05 11:24 pm

nice, read the front page!

;o)
(or

ps.. what "powered by corzblog" site? (drop the link in here, this page has nice Google PR, and it rubs off, you know!)


Fabs - 19.03.05 8:37 pm

where can i get smileys



cor - 20.03.05 5:44 am

They are inside the corzblog distribution, or just right click and "save image as" from any comment page (see under the comment form)

Many were originally from phpbb2, check it out.

;o)
(or



oscar - 20.03.05 2:13 pm

I was wondering how exatly do you use this code... I know you have to include ait in the file you want to use... but is there a working example somewhere to download?

thanks


cor - 20.03.05 2:32 pm

see inside the file itself,
instructions are included!

;o)
(or



Joe - 15.04.05 7:01 am

I had a question about adding something into the corzblog code. Can you do a page where it is strictly for the blogger that has access to the 'edit' and 'add a blog' option? I plan on giving this a thorough workout so I can get a handle on PHP (or maybe buy a license hint hint) but I dont want just anyone able to have the ability to go through and try to edit my blog.

Dude the thing is just awesome!


cor - 15.04.05 12:00 pm

Well, Joe, although folk can play with your 'add' and 'edit' links, they can't do any of it without a password. In other words, they can try all they like, but it wouldn't change anything!

Is that what you mean?

;o)
(or

ps.. I code specifically with php n00bs in mind, so have fun!


Joe - 15.04.05 7:44 pm

Yep, that's what I'm looking for!
Thanks


next comments (14 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!