Adventures As Me


bBlog: comments and trackbacks

Written 22 Sep 2005

Some new code is now in the repo governing comments and trackbacks. Also string handling (which is where a lot of the activity takes place). To truly test this code, I replaced the functions on this blog with what I placed in the repo.

Trackbacks and comments now obey the same policies, use the same methods for string handling, DB saving. In fact, all places that previously contained duplicate code are now sharing code.

Better link transformation exists in this code. Link transformation is where a person types http://www.example.com and it gets processed and output as example.com. It is fairly thorough, thanks to the power of regular expressions. Although I noticed in a test comment that I missed a case (time to add it to the unit test).

bBlog version 0.8 will have lots of great stuff!

Related Posts