Harald Joerg <[EMAIL PROTECTED]> on Feb 12, 2002:

> I'd rather go for subclassing Template::Provider to allow URL-like
> things in INCLUDE_PATH.  This could take care for caching as well,
> which IMHO is rather important if you fetch templates via the net.
>
> With the ability to say
>
>    INCLUDE_PATH => "http://otherdomain.com/templates";
>
> a template could simply use
>
>    [% INSERT remotetemplate.tt2 %]
>
> without fuzzing around with some user agent in the templates.

Yes, I like this approach because one can limit the location of remote
resources. And if this limit is not wanted you could still do

 INCLUDE_PATH => "http://";

:-)

Hans



Reply via email to