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!
yeah, it went haywire for a day, all better now though. ages ago, in fact. my hosts' "automatic advertising program" was thankfully removed from corz.org. clearly I need more PayPal buttons onsite.
nah, the big question for me is; how did I miss your comment? a few other things were wonky that day, comment notfification must have been affected. I wonder is there are any others? hmm..
aye, apart from my host's web server disappearing every other night, all night , everything works great! *sigh*
;o)
(or
This is FANTASTIC parser! Keep up good work!
Maybe I seem noobish to ask this question. but i want to know anyway.
Where can i find the whole list of BBCodes available for use and their descriptions? I can't seem to find them anywhere. Though there are bits and pieces here and there. I'm looking for a WHOLE list mind you. :)
TIA
if cor can email me when there is an answer, that would be great!
just want to say that this is a great piece of work! go on cor!
mattC, thank you!
it's a job I've been putting off.
see, originally this very page was simply that, but the tags got out of control, this page needed to be more, and your post was just the motivation I needed to sit down and do a good old list proper.
I put it here, and I hope you find it useful.
;o)
(or
There's a colfusion version of this over at nomorepasting thought you might like to know. I think it only goes one way.
pat
cool! thanks pat!
Yer right, it only does the bbcode-to-html side of things, but handy nonetheless. Amazing to see someone actually give me credit, usually folks just rip my stuff clean off! hehe
well spotted!
;o)
(or
thanks corz. :)
Hi, has anyone ever experienced having problems seeing the advanced options. I have cleared cache and passwords to login to the advanced options and i still cannot see the pages. The links come up at the left hand side but the main page does not change to the options for that selection. Have tried resetting router etc with no luck, any help would be great, thanks in advance, chris. ;-)
Hey Chris! you gott ease up on the booze dude!
mind you, the comment mechanism has been acting kinda weird these days. could be, erm...
;o)
How do i get the parser to NOT accept a comment that has HTML, or strip it out or something like that. Your parser seems to accept both HTML and bbcode and process any script. Is there something I could add to your script to prevent them from using HTML?
Thankx. Great Script.
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..
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