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!
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!
spidering a website looking for errors seems like a neat idea... but then actually correcting the errors would be a huge pain. You would have the mistakes in a browser, and then have to fix them in a text editor.
So... why not do it all in one window, and use an HTML/text editor that underlines spelling mistakes? e.g. TextMate (OS X) but i'm sure there are loads of others.
posted by kamelhoecker at 2:54 PM on October 24, 2006
So... why not do it all in one window, and use an HTML/text editor that underlines spelling mistakes? e.g. TextMate (OS X) but i'm sure there are loads of others.
posted by kamelhoecker at 2:54 PM on October 24, 2006
You might have to preprocess out the < % % > tags before you run the spell check though.
aspell has options that let you ignore the contents of certain HTML tags.
posted by nebulawindphone at 6:03 AM on October 25, 2006
aspell has options that let you ignore the contents of certain HTML tags.
posted by nebulawindphone at 6:03 AM on October 25, 2006
This thread is closed to new comments.
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