Spell-checking 100's of html and rhtml docs?
October 24, 2006 2:11 PM
Subscribe
Spell-checking 100's of html / rhtml docs?
Searching for a program that will allow me to check for spelling errors in multiple rhtml files at once.
Alternatively, an online service that scours a list of urls for spelling errors.
Thanks!
posted by masymas to computers & internet (3 comments total)
Just do a Dir[**] to get all the files under where you are, do a .each on them, and run each one through the spell checker. You might have to preprocess out the < % %> tags before you run the spell check though.
The other option if you have a working site is to spider the site, and check the generated html. You just need to be careful to catch all the variations of options since you can't test all the if/else branches at once in that way.>
posted by cschneid at 2:17 PM on October 24, 2006