Skip navigation
Currently Being Moderated

How to automatically eliminate template comments in page created from template?

Feb 27, 2013 2:56 AM

Tags: #dreamweaver #templates

Hi All,

 

I would like to eliminate Dreameaver-generated comments in published pages.

Pet peeve, maybe, but they are really a waste (of space, bandwidth, etc.)

 

Does anybody know if there's a way to have them automatically eliminated from the pages that are built from a template?

 

For instance, this page:

 

http://libri-belli-ma-anche-romanzi-brutti.it/Daria-Bignardi-Acustica- Perfetta.html

 

has comments stemming from the original template.

 

 

<h1><!-- InstanceBeginEditable name="Autore+Titolo" -->Daria Bignardi: L'Acustica Perfetta<!-- InstanceEndEditable --></h1>

 

Has anybody a suggestion about how they can be quicky removed before publication to the server?



Thanks all!

Riccardo



 
Replies
  • Currently Being Moderated
    Feb 27, 2013 5:36 AM   in reply to Riccardo Moschetti

    No, cannot be done.  DWT markup tells the program it's a template.  Frontpage/Expression Web has DWT files too and uses a similar markup for its templates.  Only way to get rid of it is to move to a server-side language like PHP or a CMS solution which uses includes.

     
    |
    Mark as:
  • Currently Being Moderated
    Feb 27, 2013 5:59 AM   in reply to Riccardo Moschetti

    Bandwith savings would be imperceptible from removing those bits of code if it were possible.

    Your real bandwith and page loading savings would come from resizing and optimizing your images.

    Did you realize that your home page image

    http://libri-belli-ma-anche-romanzi-brutti.it/recensioni-ricky-2.jpg

    is actually downloading a 4000 wide by 2276 high image but you are only displaying it at 400 wide?

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points