The joy of parsing #announcement fstdt.com blog

And now I understand why I've never replaced the old BBCode engine that Yahweh wrote ages ago. Finicky does not begin to describe some of the engines out there, but I have one up to the same level of functionality the old engine had, and there's no longer the random # breaks links error.

The good:
Tags are up to snuff
Tags can now use # to link to anchors on a page(like specific comments on quote comment pages which has apparently never worked)
There is a quote tag, and I can add them on a whim.

The bad:
That took me about twice as long as I normally devote to development in a week due to switching out a couple candidates and the darnedest error in parsing I've seen due to ordering and an errant Boolean.

Still less time than writing it up from scratch though. So next week's work is going to revolve around pagers and all around getting links to plug into pages correctly.

And for everyone's reference a list of the BBCodes to be available, this will be in the new site's FAQ:
b Bold
s Strikethrough
sub Subscript
sup superscript
i Italics
u Underline
img Image
quote Quote
list Define a list
* Define a list item
url Links, without the damn # problem.

9 comments

Confused?

So were we! You can find all of this, and more, on Fundies Say the Darndest Things!

To post a comment, you'll need to Sign in or Register. Making an account also allows you to claim credit for submitting quotes, and to vote on quotes and comments. You don't even need to give us your email address.