html templates
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 2901
HTML::Template 2.9
HTML::Template module attempts to make using HTML templates simple and natural. more>>
HTML::Template module attempts to make using HTML templates simple and natural.
HTML::Template library extends standard HTML with a few new tags for variables, loops, if/else blocks and includes.
A file written with HTML and these new tags is called a template. Using this module you fill in the values for the variables and loops declared in the template.
This allows you to seperate design (the HTML) from the data, which you generate in the Perl script. While there are many other HTML template systems available, this module is simple and fast.
It doesnt try to reinvent Perl CGI, it just augments HTML with a few new and very useful abilities.
Enhancements:
- A new option was added to enforce Taint mode for unescaped variables.
- Several long-standing bugs were fixed.
- The enhanced tests produced by the Phalanx project are now part of the module.
<<lessHTML::Template library extends standard HTML with a few new tags for variables, loops, if/else blocks and includes.
A file written with HTML and these new tags is called a template. Using this module you fill in the values for the variables and loops declared in the template.
This allows you to seperate design (the HTML) from the data, which you generate in the Perl script. While there are many other HTML template systems available, this module is simple and fast.
It doesnt try to reinvent Perl CGI, it just augments HTML with a few new and very useful abilities.
Enhancements:
- A new option was added to enforce Taint mode for unescaped variables.
- Several long-standing bugs were fixed.
- The enhanced tests produced by the Phalanx project are now part of the module.
Download (0.061MB)
Added: 2007-01-31 License: GPL (GNU General Public License) Price:
998 downloads
HTMLTemplate 1.4.2
HTMLTemplate converts HTML/XHTML templates into simple Python object models. more>>
HTMLTemplate converts HTML/XHTML templates into simple Python object models that can be manipulated through callback functions in your scripts. Fast, powerful and easy to use.
Main features:
Total separation of markup and code
- HTML templates can be edited using your favourite HTML editor and previewed in web browsers. Control code can be written and maintained with your favourite Python editor. Special tag attributes indicate which HTML elements should be converted into nodes within the object model. Absolutely no code is kept in the HTML markup, not even presentation logic.
Simple, practical API
- HTMLTemplates powerful, highly-refined interface is designed for simplicity and ease of use, yet without compromising power and flexibility. Its API is defined as just four public classes containing less than a dozen properties and methods.
Allows component-based construction
- Rendered pages can be constructed from a single large template or composed from several smaller ones. Generated content can be reused whole or in-part.
Doesnt get in your face
- Lightweight design, strictly KISS. No boilerplate code required. Strong emphasis on ease of use.
Free
- Released under LGPL licence, allowing use in both open and closed-source projects.
Enhancements:
- This release switches HTMLTemplate from the LGPL to the MIT License.
<<lessMain features:
Total separation of markup and code
- HTML templates can be edited using your favourite HTML editor and previewed in web browsers. Control code can be written and maintained with your favourite Python editor. Special tag attributes indicate which HTML elements should be converted into nodes within the object model. Absolutely no code is kept in the HTML markup, not even presentation logic.
Simple, practical API
- HTMLTemplates powerful, highly-refined interface is designed for simplicity and ease of use, yet without compromising power and flexibility. Its API is defined as just four public classes containing less than a dozen properties and methods.
Allows component-based construction
- Rendered pages can be constructed from a single large template or composed from several smaller ones. Generated content can be reused whole or in-part.
Doesnt get in your face
- Lightweight design, strictly KISS. No boilerplate code required. Strong emphasis on ease of use.
Free
- Released under LGPL licence, allowing use in both open and closed-source projects.
Enhancements:
- This release switches HTMLTemplate from the LGPL to the MIT License.
Download (0.032MB)
Added: 2006-03-24 License: MIT/X Consortium License Price:
1310 downloads
libhtmlTemplate 1.1.0
libhtmlTemplate, is a library to aid developers to separate content from code. more>>
libhtmlTemplate, is a library to aid developers to separate content from code. libhtmlTemplate is very simple, small and easy to use, its my first c++ project, so any feedback with the purpose of helping to improve the library is welcome as well as any bug report and feature request, ill be glad to help in what i can, and know.
Examples:
#include < htmlTemplate.h >
int main(int argc, char **argv) {
// There are three ways of instatiating a Template object
// This is the generic one
Template t;
// This one, predefines on instatiation the default path where the templates are
Template t_w_path("/var/www/html/templates");
// This one, predefines the path, and the template file
Template t_w_file_path("/var/www/html/template", "index.tpt");
// When you instatiate the template object as the generic one,
// the dir and file are the default ./ and index.tpt so
// if you want to change them, you must use the following methods
// Set the template dir
t.setDir("/var/www/mytemplatedir");
// Set the template file
t.setTemplate("mytemplate.tpt");
// Now you are ready to replace the predefined template values, with the ones you want
// Suppose you have a tag in the template, {{MYVALUE}}
// to place your value in his location just use addText(), notice the absense of {{ & }}
t.addText("MYVALUE", "This is my text");
// Now you can automatically display the result by calling playTemplate
cout<<less
Examples:
#include < htmlTemplate.h >
int main(int argc, char **argv) {
// There are three ways of instatiating a Template object
// This is the generic one
Template t;
// This one, predefines on instatiation the default path where the templates are
Template t_w_path("/var/www/html/templates");
// This one, predefines the path, and the template file
Template t_w_file_path("/var/www/html/template", "index.tpt");
// When you instatiate the template object as the generic one,
// the dir and file are the default ./ and index.tpt so
// if you want to change them, you must use the following methods
// Set the template dir
t.setDir("/var/www/mytemplatedir");
// Set the template file
t.setTemplate("mytemplate.tpt");
// Now you are ready to replace the predefined template values, with the ones you want
// Suppose you have a tag in the template, {{MYVALUE}}
// to place your value in his location just use addText(), notice the absense of {{ & }}
t.addText("MYVALUE", "This is my text");
// Now you can automatically display the result by calling playTemplate
cout<<less
Download (0.026MB)
Added: 2006-05-19 License: GPL (GNU General Public License) Price:
1255 downloads
HTML::Template::Set 1.009
HTML::Template::Set is a HTML::Template extension that adds set support. more>>
HTML::Template::Set is a HTML::Template extension that adds set support.
SYNOPSIS
in your HTML:
< TMPL_SET NAME="handler" >apples_to_oranges< /TMPL_SET >
< TMPL_SET NAME="title" >Apples Are Green< /TMPL_SET >
< HTML >
< HEAD >
< TITLE >< TMPL_VAR NAME="title" >< /TITLE >
< /HEAD >
< BODY >
< H1 >< TMPL_VAR NAME="title" >< /H1 >
< HR >
< BR >
< B >You authenticated as: < /B > < TMPL_VAR NAME="ENV_REMOTE_USER" >< BR >< BR >
< TMPL_IF NAME="oranges" >You prefer oranges< /TMPL_IF >
< /BODY >
< /HTML >
in your script:
use HTML::Template::Set;
my $tmpl = new HTML::Template::Set(
filename => foo.tmpl,
associate_env => 1
);
my $handler = $tmpl->param(handler);
if ($handler and $handler eq apples_to_oranges) {
$tmpl->param(oranges => 1);
}
print $tmpl->output();
<<lessSYNOPSIS
in your HTML:
< TMPL_SET NAME="handler" >apples_to_oranges< /TMPL_SET >
< TMPL_SET NAME="title" >Apples Are Green< /TMPL_SET >
< HTML >
< HEAD >
< TITLE >< TMPL_VAR NAME="title" >< /TITLE >
< /HEAD >
< BODY >
< H1 >< TMPL_VAR NAME="title" >< /H1 >
< HR >
< BR >
< B >You authenticated as: < /B > < TMPL_VAR NAME="ENV_REMOTE_USER" >< BR >< BR >
< TMPL_IF NAME="oranges" >You prefer oranges< /TMPL_IF >
< /BODY >
< /HTML >
in your script:
use HTML::Template::Set;
my $tmpl = new HTML::Template::Set(
filename => foo.tmpl,
associate_env => 1
);
my $handler = $tmpl->param(handler);
if ($handler and $handler eq apples_to_oranges) {
$tmpl->param(oranges => 1);
}
print $tmpl->output();
Download (0.009MB)
Added: 2007-08-16 License: Perl Artistic License Price:
799 downloads
HTML::CMTemplate 0.4.0
HTML::CMTemplate.pm is a Perl module that can generate text-based content from templates. more>>
HTML::CMTemplate.pm is a Perl module that can generate text-based content from templates.
SYNOPSIS
use HTML::CMTemplate;
$t = new HTML::CMTemplate( path => [ /path1, /longer/path2 ] );
$t->import_template(
filename => file.html.ctpl, # in the paths above
packagename => theTemplate,
importrefs => { myvar => hello },
importclean => { myclean => clean! },
);
theTemplate::cleanup_namespace();
print "Content-type: text/htmlnn";
print theTemplate::output();
# Template syntax is described below -- see that section to get the real
# details on how to use this sucker.
HTML::CMTemplate 0.4.0
A class for generating text-based content from a simple template language. It was inspired by the (as far as Im concerned, incomplete) HTML::Template module, and was designed to make template output extremely fast by converting a text/html template into a dynamic perl module and then running code from that module. Since the parsing happens only once and the template is converted into Perl code, the output of the template is very fast.
It was designed to work with mod_perl and FastCGI and has been the basis for all of the dynamic content on the Orangatango site (http://www.orangatango.com).
First release (version 0.1) was February 15, 2001 and was very quiet because it was a proprietary version.
As of version 0.2, it is released under the Artistic License. Its a much more feature-rich version as well as being Open Source! For a copy of the Artistic License, see the files that came with your Perl distribution.
The code was developed during my time at Orangatango. It has been released as open source with the blessing of the controlling entities there.
<<lessSYNOPSIS
use HTML::CMTemplate;
$t = new HTML::CMTemplate( path => [ /path1, /longer/path2 ] );
$t->import_template(
filename => file.html.ctpl, # in the paths above
packagename => theTemplate,
importrefs => { myvar => hello },
importclean => { myclean => clean! },
);
theTemplate::cleanup_namespace();
print "Content-type: text/htmlnn";
print theTemplate::output();
# Template syntax is described below -- see that section to get the real
# details on how to use this sucker.
HTML::CMTemplate 0.4.0
A class for generating text-based content from a simple template language. It was inspired by the (as far as Im concerned, incomplete) HTML::Template module, and was designed to make template output extremely fast by converting a text/html template into a dynamic perl module and then running code from that module. Since the parsing happens only once and the template is converted into Perl code, the output of the template is very fast.
It was designed to work with mod_perl and FastCGI and has been the basis for all of the dynamic content on the Orangatango site (http://www.orangatango.com).
First release (version 0.1) was February 15, 2001 and was very quiet because it was a proprietary version.
As of version 0.2, it is released under the Artistic License. Its a much more feature-rich version as well as being Open Source! For a copy of the Artistic License, see the files that came with your Perl distribution.
The code was developed during my time at Orangatango. It has been released as open source with the blessing of the controlling entities there.
Download (0.064MB)
Added: 2007-07-14 License: Perl Artistic License Price:
832 downloads
Label Templates 1.0
Label Templates are Free Opendocument Format Label Templates in over 50 sizes. more>>
Label Templates are free Opendocument Format label templates for Openoffice.org, KOffice or any other Office suite ODF ready for making labels.
Collection includes CD, DVD, address, mailing, round, media label templates, Avery sizes and more. US Letter size and 14 size paper formats available.
Setup time is quick with these templates and printing labels from these templates is easy.
<<lessCollection includes CD, DVD, address, mailing, round, media label templates, Avery sizes and more. US Letter size and 14 size paper formats available.
Setup time is quick with these templates and printing labels from these templates is easy.
Download (0.50MB)
Added: 2006-10-23 License: GPL (GNU General Public License) Price:
1116 downloads
HTML::Template::JIT 0.05
HTML::Template::JIT is a just-in-time compiler for HTML::Template. more>>
HTML::Template::JIT is a just-in-time compiler for HTML::Template. Templates are compiled into native machine code using Inline::C.
When using HTML::Template::JIT, the compiled code is stored to disk and reused on subsequent calls. HTML::Template::JIT is up to 8 times as fast as HTML::Template using caching.
Enhancements:
- Fixed param() to allow for blessed hash-refs. [Alex Kapranoff]
- Fixed url-escaping to work with UTF-8 characters. [Alex Kapranoff]
- Added support for JS escaping. [Alex Kapranoff]
- Fixed a compatibility problem with HTML::Template v2.8, which is now a prerequisite.
<<lessWhen using HTML::Template::JIT, the compiled code is stored to disk and reused on subsequent calls. HTML::Template::JIT is up to 8 times as fast as HTML::Template using caching.
Enhancements:
- Fixed param() to allow for blessed hash-refs. [Alex Kapranoff]
- Fixed url-escaping to work with UTF-8 characters. [Alex Kapranoff]
- Added support for JS escaping. [Alex Kapranoff]
- Fixed a compatibility problem with HTML::Template v2.8, which is now a prerequisite.
Download (0.030MB)
Added: 2005-12-27 License: GPL (GNU General Public License) Price:
1398 downloads
kmail templates 20061018
kmail templates is a patch for current 3.5 branch of kdepim package. more>>
kmail templates is a patch for current 3.5 branch of kdepim package which replaces Phrases configuration with more rich templates engine.
Templates use template syntax of well-known Thebat! mail client and allow construct a little more complicated messages than now.
<<lessTemplates use template syntax of well-known Thebat! mail client and allow construct a little more complicated messages than now.
Download (MB)
Added: 2006-10-19 License: GPL (GNU General Public License) Price:
1112 downloads
Blitz templates 0.5.1
Blitz templates is a fast template engine written in C and compiled as a PHP module. more>>
Blitz templates is a fast template engine written in C and compiled as a PHP module. It started as a php_templates replacement, but developed into much more.
The project is based on extensible template controllers (custom view classes in PHP) and weakly-active templates (simple logic in HTML).
Enhancements:
- Lot of code cleanup was done.
- The "parse" and "include" methods were improved, and their "vars" argument is not a globals array anymore; now its just an arbitrary iteration set and both methods comply with set/block/fetch.
- Templates included by the "include" method from PHP code inherit globals from the caller automatically.
- Corresponding tests were updated.
- A new article was added to the documentation: "Quick Geek Blitz Tutorial", which is addressed to those professionals who want to learn API basics in a minimum of time.
<<lessThe project is based on extensible template controllers (custom view classes in PHP) and weakly-active templates (simple logic in HTML).
Enhancements:
- Lot of code cleanup was done.
- The "parse" and "include" methods were improved, and their "vars" argument is not a globals array anymore; now its just an arbitrary iteration set and both methods comply with set/block/fetch.
- Templates included by the "include" method from PHP code inherit globals from the caller automatically.
- Corresponding tests were updated.
- A new article was added to the documentation: "Quick Geek Blitz Tutorial", which is addressed to those professionals who want to learn API basics in a minimum of time.
Download (0.10MB)
Added: 2007-08-14 License: BSD License Price:
803 downloads
HTML::Template::Expr 0.07
HTML::Template::Expr module provides an extension to HTML::Template which allows expressions in the template syntax. more>>
HTML::Template::Expr module provides an extension to HTML::Template which allows expressions in the template syntax.
HTML::Template::Expr module is purely an addition--all the normal HTML::Template options, syntax, and behaviors will still work.
Expression support includes comparisons, math operations, string operations, and a mechanism allowing you to add your own functions at runtime.
<<lessHTML::Template::Expr module is purely an addition--all the normal HTML::Template options, syntax, and behaviors will still work.
Expression support includes comparisons, math operations, string operations, and a mechanism allowing you to add your own functions at runtime.
Download (0.018MB)
Added: 2006-04-18 License: GPL (GNU General Public License) Price:
1285 downloads
XMLNews::HTMLTemplate 0.01
XMLNews::HTMLTemplate is Perl module for converting NITF to HTML. more>>
XMLNews::HTMLTemplate is Perl module for converting NITF to HTML.
SYNOPSIS
use XMLNews::HTMLTemplate;
my $template = new XMLNews::HTMLTemplate();
$template->readTemplate("mytemplate.html");
$template->applyTemplate("output.html", "story.xml", "story.rdf");
NOTE: this module requires the XML::Parser and XMLNews::Meta modules.
WARNING: this module is not thread-safe or re-entrant.
The XMLNews::HTMLTemplate module provides a simple mechanism for creating HTML pages from XML/NITF news stories and/or XML/RDF metadata files based on a user-supplied template file. The template is a simple HTML file (SGML or XML flavour) using special template commands, which the user includes as processing instructions, as in the following example:
To create an HTML page, you must first create an empty HTMLTemplate object:
my $template = new XMLNews::HTMLTemplate();
Next, you load the HTML template into the object:
$template->readTemplate("mytemplate.html");
Now, you can apply the same compiled template object repeatedly to different XML/NITF and/or XML/RDF documents to generate HTML pages:
$template->applyTemplate("outfile.html", "newsstory.xml", "newsstory.rdf");
<<lessSYNOPSIS
use XMLNews::HTMLTemplate;
my $template = new XMLNews::HTMLTemplate();
$template->readTemplate("mytemplate.html");
$template->applyTemplate("output.html", "story.xml", "story.rdf");
NOTE: this module requires the XML::Parser and XMLNews::Meta modules.
WARNING: this module is not thread-safe or re-entrant.
The XMLNews::HTMLTemplate module provides a simple mechanism for creating HTML pages from XML/NITF news stories and/or XML/RDF metadata files based on a user-supplied template file. The template is a simple HTML file (SGML or XML flavour) using special template commands, which the user includes as processing instructions, as in the following example:
To create an HTML page, you must first create an empty HTMLTemplate object:
my $template = new XMLNews::HTMLTemplate();
Next, you load the HTML template into the object:
$template->readTemplate("mytemplate.html");
Now, you can apply the same compiled template object repeatedly to different XML/NITF and/or XML/RDF documents to generate HTML pages:
$template->applyTemplate("outfile.html", "newsstory.xml", "newsstory.rdf");
Download (0.009MB)
Added: 2006-09-13 License: Perl Artistic License Price:
1136 downloads
HCKit::Template 0.02
HCKit::Template is a Perl module with a template system for HTML construction. more>>
HCKit::Template is a Perl module with a template system for HTML construction.
This module constructs an HTML page from a template. The conversion proceeds with the help of rewrite rules and data sources. Rewrite rules can be specified in the template file itself, or in the Perl script. Data sources can be XML files, or dynamically constructed in the Perl script.
<<lessThis module constructs an HTML page from a template. The conversion proceeds with the help of rewrite rules and data sources. Rewrite rules can be specified in the template file itself, or in the Perl script. Data sources can be XML files, or dynamically constructed in the Perl script.
Download (0.011MB)
Added: 2006-09-20 License: Perl Artistic License Price:
1129 downloads
SmartTemplate 1.2.1
SmartTemplate is a Template Engine that was designed to support large scale, web based applications. more>>
SmartTemplate is a Template Engine that was designed to support large scale, web based applications.
Whats so special about it?
Common template engines work like the following: Your PHP script specifies an HTML template and assigns some dynamic content to display. The template parser replaces all placeholders within the template with the assigned content and displays it to the user. This means a lot of string processing and regular expression work each time you want to display some content.
SmartTemplate works like a template compiler that converts templates into executable PHP code and stores it for later reuse. The first time a new template is processed, all placeholders in the template are replaced by small PHP code elements that print the assigned content. The HTML template fragment < H3 >{TITLE}< /H3 >, for example, is converted into something like < H3 >< ?php echo $TITLE; ? >< /H3 >. If you have assigned your content to the right variables, there is no need for any template parsing anymore. The only thing that has to be done is to include and execute the compiled template. This usually increases the execution time of the template engine dramatically.
SmartTemplate supports:
- Simple Scalar Substitution (Strings, etc.)
- Block Iterations (nested Arrays / BEGIN..END)
- Basic Control Structures (IF..ELSEIF..ELSE)
- Custom Extension (Output filters, uppercase, sprintf, etc.)
- Template Compilation (HTML templates are converted to executable PHP Code)
- SubTemplate System (HTML templates can be included on other templates)
- Output Caching (Accelerates your applications by reusing page output)
<<lessWhats so special about it?
Common template engines work like the following: Your PHP script specifies an HTML template and assigns some dynamic content to display. The template parser replaces all placeholders within the template with the assigned content and displays it to the user. This means a lot of string processing and regular expression work each time you want to display some content.
SmartTemplate works like a template compiler that converts templates into executable PHP code and stores it for later reuse. The first time a new template is processed, all placeholders in the template are replaced by small PHP code elements that print the assigned content. The HTML template fragment < H3 >{TITLE}< /H3 >, for example, is converted into something like < H3 >< ?php echo $TITLE; ? >< /H3 >. If you have assigned your content to the right variables, there is no need for any template parsing anymore. The only thing that has to be done is to include and execute the compiled template. This usually increases the execution time of the template engine dramatically.
SmartTemplate supports:
- Simple Scalar Substitution (Strings, etc.)
- Block Iterations (nested Arrays / BEGIN..END)
- Basic Control Structures (IF..ELSEIF..ELSE)
- Custom Extension (Output filters, uppercase, sprintf, etc.)
- Template Compilation (HTML templates are converted to executable PHP Code)
- SubTemplate System (HTML templates can be included on other templates)
- Output Caching (Accelerates your applications by reusing page output)
Download (0.008MB)
Added: 2006-07-04 License: GPL (GNU General Public License) Price:
1216 downloads
HTML::YaTmpl 1.8
HTML::YaTmpl is yet another template processor. more>>
HTML::YaTmpl is yet another template processor.
SYNOPSIS
use HTML::YaTmpl;
my $t=HTML::YaTmpl->new( file=>template.tmpl );
$t->evaluate( key1=>$value1,
key2=>[$val21, $val22, ...]
... );
$t->evaluate_to_file( $outputfilename,
key1=>$value1,
key2=>[$val21, $val22, ...]
... );
ABSTRACT
HTML::YaTmpl aims mainly to provide a HTML template processor that saves the template writer typing.
There are general template processors like Text::Template and tools to embed perl in HTML like HTML::Embperl or HTML template processors like HTML::Template. Why have I decided to start yet another? Well, Text::Template is not really convenient when it comes to process repeating data records like HTML tables. With HTML::Embperl no professional "WEB Designer" will be able to "enhance" the pages. And HTML::Template enforces a strict division of design and programming. Thus, it enforces changes to the programming logic even if you only want to exchange a long number like 2835067264068365493 with a more human readable 2,835,067,264,068,365,493.
HTML::YaTmpl attempts to make simple things easy but complexity feasible.
<<lessSYNOPSIS
use HTML::YaTmpl;
my $t=HTML::YaTmpl->new( file=>template.tmpl );
$t->evaluate( key1=>$value1,
key2=>[$val21, $val22, ...]
... );
$t->evaluate_to_file( $outputfilename,
key1=>$value1,
key2=>[$val21, $val22, ...]
... );
ABSTRACT
HTML::YaTmpl aims mainly to provide a HTML template processor that saves the template writer typing.
There are general template processors like Text::Template and tools to embed perl in HTML like HTML::Embperl or HTML template processors like HTML::Template. Why have I decided to start yet another? Well, Text::Template is not really convenient when it comes to process repeating data records like HTML tables. With HTML::Embperl no professional "WEB Designer" will be able to "enhance" the pages. And HTML::Template enforces a strict division of design and programming. Thus, it enforces changes to the programming logic even if you only want to exchange a long number like 2835067264068365493 with a more human readable 2,835,067,264,068,365,493.
HTML::YaTmpl attempts to make simple things easy but complexity feasible.
Download (0.041MB)
Added: 2007-07-02 License: Perl Artistic License Price:
844 downloads
HTML::Template::Extension::DOC 0.25
HTML::Template::Extension::DOC are plugins for comments in template. more>>
HTML::Template::Extension::DOC are plugins for comments in template.
SYNOPSIS
use HTML::Template::Extension;
my $text = qq
|
< HTML >< HEAD >< /HEAD >< BODY >
< H1 >This is a template example...< /H1 >
< TMPL_DOC >An example use of TMPL_DOC tag < /TMPL_DOC >
The sum between 1+1 is: < TMPL_VAR NAME="result" >
< /BODY >< /HTML >
|;
my $comp = new HTML::Template::Extension(
scalarref => $text,
plugins=>["DOC"],
);
$comp->param(result => 1+1);
print $comp->output;
# OUTPUT:
#
# < HTML >< HEAD >< /HEAD >< BODY >
# < H1 >This is a template example...< /H1 >
# The sum between 1+1 is: 2
# < /BODY >< /HTML >
DOC plugin add a < TMPL_DOC >some comments< /TMPL_DOC > to standard HTML::Template syntax to permit to add comments to template that, for indeed, a web graphic designer can view in a WYSIWYG environment.
All text between < TMPL_DOC > and < /TMPL_DOC > and tag itself will be deleted before HTML::Template parsing and retuning template output.
<<lessSYNOPSIS
use HTML::Template::Extension;
my $text = qq
|
< HTML >< HEAD >< /HEAD >< BODY >
< H1 >This is a template example...< /H1 >
< TMPL_DOC >An example use of TMPL_DOC tag < /TMPL_DOC >
The sum between 1+1 is: < TMPL_VAR NAME="result" >
< /BODY >< /HTML >
|;
my $comp = new HTML::Template::Extension(
scalarref => $text,
plugins=>["DOC"],
);
$comp->param(result => 1+1);
print $comp->output;
# OUTPUT:
#
# < HTML >< HEAD >< /HEAD >< BODY >
# < H1 >This is a template example...< /H1 >
# The sum between 1+1 is: 2
# < /BODY >< /HTML >
DOC plugin add a < TMPL_DOC >some comments< /TMPL_DOC > to standard HTML::Template syntax to permit to add comments to template that, for indeed, a web graphic designer can view in a WYSIWYG environment.
All text between < TMPL_DOC > and < /TMPL_DOC > and tag itself will be deleted before HTML::Template parsing and retuning template output.
Download (0.015MB)
Added: 2006-08-25 License: Perl Artistic License Price:
1155 downloads
Secleted [ 0 ] software to compare
Copyright Notice:
Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future software development. The above html templates search only lists software in full, demo and trial versions for free download. Download links are directly from our mirror sites or publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed