[Templates] PDF and HTML output

Jeremiah Foster jeremiah@jeremiahfoster.com
Wed, 8 Aug 2007 12:27:26 +0200


--Apple-Mail-10--44267247
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	delsp=yes;
	format=flowed


On Aug 8, 2007, at 6:48 AM, Stewart Heckenberg wrote:

> I need to produce both a PDF and a HTML document from the same
> template.

Is there are reason you cannot use two separate templates? You can  
call both from one CGI script or perl script.

	Jeremaih

--Apple-Mail-10--44267247
Content-Transfer-Encoding: 7bit
Content-Type: text/html;
	charset=US-ASCII

<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<br><div><div>On Aug 8, 2007, at 6:48 AM, Stewart Heckenberg wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">I need to produce both a PDF and a HTML document from the same</font></p> <p style="margin: 0.0px 0.0px 0.0px 0.0px"><font face="Helvetica" size="3" style="font: 12.0px Helvetica">template.</font></p> </blockquote></div><br><div>Is there are reason you cannot use two separate templates? You can call both from one CGI script or perl script.</div><div><br class="webkit-block-placeholder"></div><div><span class="Apple-tab-span" style="white-space:pre">	</span>Jeremaih<br class="webkit-block-placeholder"></div></body></html>
--Apple-Mail-10--44267247--