On Fri, 21 Jan 2005 03:35:59 +0900, itsme213 <itsme213 / hotmail.com> wrote:
> Any suggestions on simple ways (preferably Ruby-based) to do this? Or where
> would be a good place to start looking?

I don't know how to do it in Ruby (I'm just just starting) but you can
use Apache/PHP if you want. Have a look here:

http://www.ilovejackdaniels.com/php/google-style-keyword-highlighting/

That describes a way to attach a PHP file at the beginning and end of
every file in a directory. Instead of a word highlighting script,
replace it with a script to pull comments from a database. The last
step is to set the following in your .htaccess file to make html files
act as PHP files:

AddType application/x-httpd-php html htm

Can this be done with Ruby?

Douglas