Re: Designating which template produced the output HTML?

Kevin Spencer <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.html-template
Message-ID <[email protected]>
On 7/30/05, Justin Simoni <[email protected]> wrote:
> 
> Does anyone have any best practices in labeling the code that each
> template creates? For example, he proposed that we simply use HTML
> comments and wrap the template itself around them. For example:
> 
> <!-- start [template_name].tmpl -->
> 
> and
> 
> <!-- end [template_name].tmpl -->
> 
> What do you guys do?

I do exactly what you described here.  Each of my templates have the
following 2 HTML comments:

<!-- begin foo.tmpl -->
<!-- end foo.tmpl -->

--
Kevin.


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.