[Catalyst] Fetching URL Content

Bill Moseley moseley at hank.org
Thu Sep 3 04:46:46 GMT 2009


On Wed, Sep 2, 2009 at 6:25 PM, Trevor Phillips
<trevor.phillips at gmail.com>wrote:

> I have a requirement to fetch URL content - this is currently mostly
> to do with the View phase, to include chunks of HTML for core branding
> in the templating. ie; Top header, footer, global nav, that sort of
> thing.
>
> Ideally, I'd like to do it directly from the Template Toolkit
> templates, but TT either can't do this, or it's really hard to Google
> for. ^_^
>

http://search.cpan.org/~evdb/Template-Provider-HTTP-0.02/lib/Template/Provi=
der/HTTP.pm

But I can't imagine *ever* using that.  Use a cron job to update local
templates if you must.




-- =

Bill Moseley
moseley at hank.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20090902/e18e3=
2c4/attachment.htm


More information about the Catalyst mailing list