<?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>Bin-Blog &#187; template</title>
	<atom:link href="http://www.bin-co.com/blog/tag/template/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bin-co.com/blog</link>
	<description>Learn about the latest in Web Development - as soon as I do.</description>
	<lastBuildDate>Tue, 13 Oct 2009 18:55:47 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Article Templates &#8211; WordPress Plugin</title>
		<link>http://www.bin-co.com/blog/2007/10/article-templates-wordpress-plugin/</link>
		<comments>http://www.bin-co.com/blog/2007/10/article-templates-wordpress-plugin/#comments</comments>
		<pubDate>Thu, 04 Oct 2007 17:30:12 +0000</pubDate>
		<dc:creator>Binny V A</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[cms]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[template]]></category>

		<guid isPermaLink="false">http://www.bin-co.com/blog/2007/10/article-templates-wordpress-plugin/</guid>
		<description><![CDATA[Article Templates wordpress plugin lets you create templates that can be used when writing a new post or page. This will be very useful if you are writing many post with the same structure.
Download Article Templates 1.00.A Beta

This is my first WordPress Plugin. It was easier to create than I expected.
My plugin used the principles [...]]]></description>
			<content:encoded><![CDATA[<p class="intro"><a href="http://www.bin-co.com/tools/wordpress/plugins/article_templates/">Article Templates wordpress plugin</a> lets you create templates that can be used when writing a new post or page. This will be very useful if you are writing many post with the same structure.</p>
<p>Download <a href="http://www.bin-co.com/tools/wordpress/plugins/article_templates/article_templates.zip">Article Templates 1.00.A Beta</a></p>
<p><img src='http://www.bin-co.com/blog/wp-content/uploads/2007/10/template_dropdown.png' alt='Article Template Screenshot' /></p>
<p>This is my first WordPress Plugin. It was easier to create than I expected.</p>
<p>My plugin used the principles used in <a href="http://www.vincentprat.info/wordpress/2007/03/01/wordpress-plugin-post-templates/">Post Templates</a> plugin. It is another plugin to do the same thing &#8211; create templates for the post.</p>
<p>My plugin have a few advantages over the other plugin&#8230;</p>
<ul>
<li>Easier to use</li>
<li>The templates created by each user is accessable only to them</li>
</ul>
<p>There are a few disadvantages too&#8230;</p>
<ul>
<li>Javascript must be enabled for my plugin to work</li>
<li>Beta release &#8211; expect bugs</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.bin-co.com/blog/2007/10/article-templates-wordpress-plugin/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>CSS Templating System</title>
		<link>http://www.bin-co.com/blog/2007/06/css-templating-system/</link>
		<comments>http://www.bin-co.com/blog/2007/06/css-templating-system/#comments</comments>
		<pubDate>Mon, 11 Jun 2007 09:18:21 +0000</pubDate>
		<dc:creator>Binny V A</dc:creator>
				<category><![CDATA[(X)HTML]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Sites]]></category>
		<category><![CDATA[Web 2.0]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[nexty]]></category>
		<category><![CDATA[template]]></category>
		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://www.bin-co.com/blog/2007/06/css-templating-system/</guid>
		<description><![CDATA[In Nexty I used CSS to create a inexpensive templating system. You can see it in action in the settings page of Nexty. Currently I use it only for changing the icon sets. But you can change the colors and the layout using this system.

Before starting, I must say that CSS is not the most [...]]]></description>
			<content:encoded><![CDATA[<p class="intro">In <a href="http://nexty.sourceforge.net/">Nexty</a> I used CSS to create a inexpensive templating system. You can see it in action in the settings page of Nexty. Currently I use it only for changing the icon sets. But you can change the colors and the layout using this system.</p>
<p><img src='http://www.bin-co.com/blog/wp-content/uploads/2007/06/icons1.png' alt='CSS Templating for Icons' /></p>
<p>Before starting, I must say that CSS is not the most powerful solution for templating. Using a server side solution is much more recommended. But for my purposes, CSS was good enough.</p>
<h2>(X)HTML Code</h2>
<p>If you want to use CSS templating, your app must be semantically valid. In other words, there is no way you can theme a tag soup.</p>
<p>Make sure that the stylesheet used for templating appears at the last. This will make sure that all the rules in the above stylesheets can be overwritten easily. In Nexty, I have a base stylesheet, then the theme stylesheet and at the end the hacks stylesheet&#8230;</p>
<pre><code class="css">&lt;link href="<a href="http://www.bin-co.com/php/programs/apps/nexty/demo/css/style.css">css/style.css</a>" rel="stylesheet" type="text/css" /&gt;
&lt;link href="<a href="http://www.bin-co.com/php/programs/apps/nexty/demo/images/themes/crystal/theme.css">images/themes/crystal/theme.css</a>" rel="stylesheet" type="text/css" /&gt;
&lt;!--[if IE]&gt;
&lt;link rel="stylesheet" href="css/style_ie.css" type="text/css" media="all" /&gt;
&lt;![endif]--&gt;</code></pre>
<h2>PHP Code</h2>
<p>Very little PHP is involved to creating this system &#8211; I depend on it just to change the path of the CSS Stylesheet. The code used is&#8230;</p>
<pre><code class="php">&lt;link href="images/themes/&lt;?=$theme?&gt;/theme.css" rel="stylesheet" type="text/css" /&gt;</code></pre>
<p>The <code>$theme</code> variable will change if the user changes the theme.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bin-co.com/blog/2007/06/css-templating-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
