rainphp/raintpl — pull request #27 by aseba (2012-04-18 13:55:36+00:00)
Title: External URL inclution

This is a small patch that you may be interested in

I've added a small patch to allow us to include external pages into the template. You just add the url as a parameter to the include call and it will add an `echo file_get_contents()` to the template. It's not very scalable, Maybe a good idea would be to cache the included page, but as it is works perfect for us.

It's something to handle with care but really powerful, and made our lives easier at building templates, Maybe you guys use this patch

Cheers!