----- Original Message -----
From: Gervase Markham <[EMAIL PROTECTED]>
Date: Friday, March 7, 2003 12:18 pm
Subject: Re: [Templates] Best equivalent to [% INCLUDE http://... %]

> [EMAIL PROTECTED] wrote:
> > What I'd like to do is to have a way to include some reports within
> > other reports.  For example, if one report contains a simple bar
> > graph generated with Templates::Plugin::GD::Graph, I'd like a simple
> > way to include that in another template.  Every report has a unique
> > URL, so if I was able to say [% INCLUDE
> > http://www.example.com/reports/run_report.cgi?report_id=A&view_id=B
> > %], it would make things very easy indeed.
> 
> Well, if your output format is HTML, then just do
> 
> <img src="http://www.example.com//run_report.cgi?report_id=A";>
> 
> and include your PNG generated using T:P:GD:Graph that way.
> 

Good idea, but I don't think it will work if my output is, say, an HTML table.  I'd 
like to be able to something a bit more generic.  However, until I get that worked 
out, I'll use your idea.  Thanks!

Doug Gorley | [EMAIL PROTECTED]





_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to