<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Silvio&#039;s blog &#187; PHP</title>
	<atom:link href="http://www.silviosilva.com/category/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.silviosilva.com</link>
	<description></description>
	<lastBuildDate>Thu, 06 May 2010 15:26:47 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>[PHP] Simple template class</title>
		<link>http://www.silviosilva.com/2009/07/14/php-simple-template-class/</link>
		<comments>http://www.silviosilva.com/2009/07/14/php-simple-template-class/#comments</comments>
		<pubDate>Tue, 14 Jul 2009 15:49:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[php template]]></category>
		<category><![CDATA[php template class]]></category>
		<category><![CDATA[template system]]></category>

		<guid isPermaLink="false">http://blog.silviosilva.com/?p=18</guid>
		<description><![CDATA[Today I&#8217;ll share a simple template class in php. I did it a while ago and it works fairly good.
Objectives:

No HTML embebed on PHP code
Load a HTML template from file
Support loops
Replace vars
Publish the template

Result
Template.php
&#60;?php
class Template{
    private $template, $vars;

    public function __construct($templatePathAndName){
        if(file_exists($templatePathAndName))
 [...]]]></description>
		<wfw:commentRss>http://www.silviosilva.com/2009/07/14/php-simple-template-class/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
