<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Linking CSS on Zend Framework, the XHTML Valid way</title>
	<atom:link href="http://www.asgrim.com/2009/04/10/linking-css-on-zend-framework-the-xhtml-valid-way/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.asgrim.com/2009/04/10/linking-css-on-zend-framework-the-xhtml-valid-way/</link>
	<description>My blog, with PHP and babies and cooking and stuff...</description>
	<lastBuildDate>Tue, 06 Dec 2011 20:42:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: James</title>
		<link>http://www.asgrim.com/2009/04/10/linking-css-on-zend-framework-the-xhtml-valid-way/comment-page-1/#comment-18673</link>
		<dc:creator>James</dc:creator>
		<pubDate>Tue, 14 Apr 2009 10:40:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.asgrim.com/?p=1384#comment-18673</guid>
		<description>Oh ace, that&#039;ll probably sort it, I&#039;ll give that a try, cheers!</description>
		<content:encoded><![CDATA[<p>Oh ace, that&#8217;ll probably sort it, I&#8217;ll give that a try, cheers!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daze</title>
		<link>http://www.asgrim.com/2009/04/10/linking-css-on-zend-framework-the-xhtml-valid-way/comment-page-1/#comment-18672</link>
		<dc:creator>Daze</dc:creator>
		<pubDate>Tue, 14 Apr 2009 07:19:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.asgrim.com/?p=1384#comment-18672</guid>
		<description>Cheers for the linkback :P 
And as the first comment said, I&#039;ve got this in my controller, before the dispatch() line.

$doctypeHelper = new Zend_View_Helper_Doctype();
$doctypeHelper-&gt;doctype(&#039;XHTML1_STRICT&#039;);</description>
		<content:encoded><![CDATA[<p>Cheers for the linkback <img src='http://www.asgrim.com/_wordpress_live_J4M3S/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /><br />
And as the first comment said, I&#8217;ve got this in my controller, before the dispatch() line.</p>
<p>$doctypeHelper = new Zend_View_Helper_Doctype();<br />
$doctypeHelper-&gt;doctype(&#8216;XHTML1_STRICT&#8217;);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrick Barroca</title>
		<link>http://www.asgrim.com/2009/04/10/linking-css-on-zend-framework-the-xhtml-valid-way/comment-page-1/#comment-18634</link>
		<dc:creator>Patrick Barroca</dc:creator>
		<pubDate>Sat, 11 Apr 2009 08:47:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.asgrim.com/?p=1384#comment-18634</guid>
		<description>Hello, our way to do this is in a Controller_Action base class adding a protected method that do the job.
The result is that each action in each module can do a $this-&gt;addCssFile(&#039;nameOfTheCss&#039;);
The method add the css with the HeadLink view helper and before this verify that the css file exists.
Then all we have to do is an echo of $this-&gt;headLink() in a view ;)

Same is applicable for javascript with HeadScript view helper.</description>
		<content:encoded><![CDATA[<p>Hello, our way to do this is in a Controller_Action base class adding a protected method that do the job.<br />
The result is that each action in each module can do a $this-&gt;addCssFile(&#8216;nameOfTheCss&#8217;);<br />
The method add the css with the HeadLink view helper and before this verify that the css file exists.<br />
Then all we have to do is an echo of $this-&gt;headLink() in a view <img src='http://www.asgrim.com/_wordpress_live_J4M3S/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Same is applicable for javascript with HeadScript view helper.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Otton</title>
		<link>http://www.asgrim.com/2009/04/10/linking-css-on-zend-framework-the-xhtml-valid-way/comment-page-1/#comment-18620</link>
		<dc:creator>David Otton</dc:creator>
		<pubDate>Fri, 10 Apr 2009 12:14:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.asgrim.com/?p=1384#comment-18620</guid>
		<description>What happens when you add this to the front controller?

require_once &#039;Zend/View/Helper/Doctype.php&#039;;
$doctypeHelper = new Zend_View_Helper_Doctype();
$doctypeHelper-&gt;doctype( XHTML1_TRANSITIONAL );</description>
		<content:encoded><![CDATA[<p>What happens when you add this to the front controller?</p>
<p>require_once &#8216;Zend/View/Helper/Doctype.php&#8217;;<br />
$doctypeHelper = new Zend_View_Helper_Doctype();<br />
$doctypeHelper-&gt;doctype( XHTML1_TRANSITIONAL );</p>
]]></content:encoded>
	</item>
</channel>
</rss>

