| 1:11 pm on Mar 31, 2005 (gmt 0)|
BBEdit has a remove comments tool. It's such a useful piece of software, I'd recommend it to any mac webmaster.
IIRC, BBEdit tools only work on the active window. If you want to de-comment your whole site at once, you could put together a find/replace that uses regular expressions and runs against a directory.
A bit more set up, but much quicker for more than a handful of pages.
| 1:56 pm on Mar 31, 2005 (gmt 0)|
And the regular expression Deodato mentions might look like this:
Do Apple-F, click "Use grep" to do the regular expression thing, and extend selection to match multiline comments.
Definitely back up your site first, though.
Also, if you don't want to spend money today, TextWrangler will do the same thing in the same way. It's a free product from the same company that makes BBEdit.
| 3:48 pm on Mar 31, 2005 (gmt 0)|
|I have a website based on Dreamweaver templates and libraries |
It adds a step, but if you have Dreamweaver and are using templates and libraries there is an option to publish a site with all the comments and other dreamweaver junk ripped out. Look for it here:
Modify Menu > Templates > Export without Markup...
Just make sure to export to a new folder and to backup before doing it. :)
| 3:50 pm on Mar 31, 2005 (gmt 0)|
DW can also do the regex in a site wide find and replace ..
| 11:11 pm on Mar 31, 2005 (gmt 0)|
|Modify Menu > Templates > Export without Markup... |
Now I feel REALLY stupid!
I really must read the online help more carefully (I lost the plot after the first 2000 pages!)
| 2:29 pm on Apr 3, 2005 (gmt 0)|