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!
<?php echo 'neat!'; ?>
<?php
if ($you == 'patient') {
// wait for it..
$cbparser = 'all-new';
$feature1 = '100% xhtml compliant';
$feature2 = '100% css styled';
$featurex = 'and more!';
}
// check out corzblog for the latest and greatest developments.
// release date to be announced.
?>
Yeah, I like it!
;o)
(or
it's back!
Expect this page to be a bit messy for a while because a) the new cbparser is still in progress, and that's the version running here, and b) while cbparser is outputing nice xhtml, corz.org is still messy old htmlsoup.
but you get the idea.
;o)
(or
where can I download the latest version? Thanks
another suggestion, if I type [B]bla and don't close it, your script should close it automatically for me.
You can't! It's not ready for distribution yet (there are still a few bugs to iron out). When it is, it will be in the /beta section, as ever.
Auto-closing tags isn't on the cards, if you need that sort of thing, check out the PEAR package.
;o)
(or
the new version is looking real good, will it be ready soon?
Joe
Hi there!!!
Great work with this!!!!!!
thx dude 4 that script
works fine ;P
cheers! feck, I still haven't gotten the new version up yet, as you can see by this page, I got a bit sidetracked in middle of the whole xhtml update thing, but the parser works great, these site comments are 100% validating XHTML!
Maybe this weekend, but definitely in your inbox if you are motivated enough to mail me about it. Watch out though, after fixing my gmx settings today (so they disabled that old method, huh) I got a zillion and five mails to get through
ho hum..
;o)
(or
2 adam:
the id right after the semicolon is the $bbcode_uid which is generated with make_bbcode_uid function in bbcode.php file. It makes every bbcode in the post unique.