Ovid has asked for the wisdom of the Perl Monks concerning the following question:
A number of people have requested "printer-friendly" pages for my CGI course and I would like to accomodate them.
Currently I am building my site using Template Toolkit's ttree utility and and I was wondering if there was an easy way to offer such a thing? I was hoping to use a META directive such as [% META printer_friendly=1 %] in my documents to make a "Printer Friendly" link that would point to a separate page. In other words, I'd like to write two documents from one template using ttree and have the documents link to each other. Of course, I'll happily consider other options.
If you're familiar with the excellent Perl Template Toolkit book, I'm using code nearly identical to the static Web site code in Chapter 11.
Crossposted to the Template Toolkit list.
Cheers,
Ovid
New address of my CGI Course.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Template Toolkit's ttree: multiple outputs from one file
by Zaxo (Archbishop) on Oct 10, 2004 at 03:07 UTC | |
|
Re: Template Toolkit's ttree: multiple outputs from one file
by Mr. Muskrat (Canon) on Oct 10, 2004 at 03:08 UTC | |
|
Re: Template Toolkit's ttree: multiple outputs from one file
by tachyon (Chancellor) on Oct 10, 2004 at 03:32 UTC | |
by Ovid (Cardinal) on Oct 10, 2004 at 16:50 UTC | |
by tachyon (Chancellor) on Oct 10, 2004 at 22:22 UTC |