Hi all,
I needed a robust bbcode parser - the existing ruby libaries have alot
of
issues with them so I ended up taking the c++ project from Sourceforge
and
wrote a small wrapper. So if anyone could use…
http://rubyforge.org/projects/bbcodelib/
or
gem install bbcodelib
Then its as easy as:
require ‘rubygems’
require ‘bbcode’
new_string = BBCode::parse_string(original_string)
If you need to change the ouput, you have to edit the bbcode_parser.h
and
recompile - I might try to remedy this at some point but its certainly
better than what we have…
Best Regards,
Stephen Blackstone