HTML/Template/Filter/Dreamweaver version 1.02 ============================================= Dreamweaver MX has updated their templating code fairly heavily, and now it supports many of the things that HTML::Template does. For example, you can define template variables, repeating sections, use conditional logic, etc. I'll try to give a quick summation here, but in all honesty, you would do better by browsing Macromedia's website, downloading the trial version. or buying a book on it. Dreamweaver allows you to set up a template file (it ends in an extension called .dwt). You can then use this template to create HTML files where you change the pre-defined parameters of the template. Some examples: Dreamweaver MX prefers that all variables in the template be named at the top of the .dwt HTML. This is done by using the tag. You can define a default for the parameters and you also define the type of variable (e.g. boolean, text, number, etc.) In the HTML of the template, you can then use your variables in syntax like or @@(foo)@@. This is analagous to the syntax of HTML::Template Another Dreamweaver tag is the and tags. These are similar to the and tags. Also, there are and tags. As you can guess, these are similar to the and tags. There's also a few more tags, but as you can see Dreamweaver MX supports syntax very similar to HTML::Template. Finally, for seeing what the page would look like when you populate the variables, Dreamweaver allows you to create an HTML page using the template as a starting point. Under the "Modify" menu, there is a choice that says "Template Properties". In there, you can set variables to whatever you like. This is very similar to the param function of HTML::Template. Personally, I think Dreamweaver MX is so close to HTML::Template that it's possible for an HTML designer to use it and create great mockups of pages. After developing the mockup, he can give the template to an HTML::Template user who can then combine it with his code to dynamically fill in the template variables. So, the package that I provided should create be an excellent transform function for converting Dreamweaver template files into HTML::Template files. INSTALLATION To install this module type the following: perl Makefile.PL make make test make install DEPENDENCIES This module requires these other modules and libraries: blah blah blah COPYRIGHT AND LICENCE Put the correct copyright and licence information here. Copyright (C) 2003 A. U. Thor blah blah blah