SZBBCodes

SZBBCodes is a class for handling BBCodes. For those unfamiliar with BBCodes, it’s that HTML-like markup language used on the forums like [b] for bold and so on.

SZBBCodes can be used with any other script that returns a string since SZBBCodes simply formats a string according to the BBCode standards. SZBBCodes also handles smileys and is packaged with the standard MSN smileys.

SZBBCodes is XHTML 1.1 compatible and does not take use of any obsolete tags.

Supported Markup

  • Basic text formating
  • Links
  • Auto creates links from URL’s and email addresses
  • Lists
  • Source Code Highlighting

Requirements

  • Runs on both windows and Linux based platforms
  • PHP 4.x

Usage

The following example will demonstrate how to use the package.
As the example contains alot of source in source I cannot display it here since it will mess up the page, so please click here to download it instead. The example is also in the zip file.

Download

Visit the Google Code Project Page for download

Leave a Reply

You must be logged in to post a comment.