From: Douglas Livingstone Date: 2005-01-21T04:36:09+09:00 Subject: Re: Add comments to static web pages ? On Fri, 21 Jan 2005 04:25:58 +0900, Aredridel wrote: > Iff the pages are XHTML, it should be really easy to parse them with > REXML, add what you want, and dump them back out again, all with a > script. I'd search to the end of , or some other easy to define > tag (perhaps right after an
with id='postsgohere', even). > > The script to do that would trvially be about 20 lines long; perhaps a > bit more with aggressive error checking. > How do you get Ruby to phrase the file if the URL is http://example.com/myfile.htm for example? Douglas