I don't know too much about it. I do, however, know that Banhurt's Dream Journal 2.3 program has a feature that automatically uploads your dreams to the website, and even allows for BBCode configuration.

If you're really good with that kind of thing, you could ask to see the source code and try to put something together off of that.