From: Jason Roelofs Date: 2007-02-23T04:58:20+09:00 Subject: Re: bbcode <> html? ------=_Part_35408_16579137.1172174286372 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Well, I don't know of a library that does BBCode, but be sure to check out Textile: http://en.wikipedia.org/wiki/Textile_(markup_language) And Redcloth, the Ruby Textile interpreter: http://whytheluckystiff.net/ruby/redcloth/ Cleaner, IMO, thank BBCode, because frankly, anything that keeps the ordinary user from typing out HTML is a good thing. Jason On 2/22/07, nodenator@gmail.com wrote: > > Is there a library out there already that will convert text marked up > in "bbcode" into HTML? > > For those not knowing what bbcode is, it's the ML used by forum > software such as phpbb to dumb down the interface. > > For example, to link to a site you would write: > [url=http://somewhere.com]Click here![/url] > > But to force a link without renaming it you would write: > [url]somewhere.com[/url] > > I just don't want to reinvent the wheel. > -- > - > node > > ------=_Part_35408_16579137.1172174286372--