<?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 for Chris Carvache</title>
	<atom:link href="http://chriscarvache.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://chriscarvache.com</link>
	<description>No Need for a Slogan</description>
	<lastBuildDate>Tue, 06 Sep 2011 16:06:25 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>Comment on My thoughts on Popsicles by Katastrophy</title>
		<link>http://chriscarvache.com/rants/my-thoughts-on-popsicles/#comment-405</link>
		<dc:creator>Katastrophy</dc:creator>
		<pubDate>Tue, 06 Sep 2011 16:06:25 +0000</pubDate>
		<guid isPermaLink="false">http://chriscarvache.com/?p=238#comment-405</guid>
		<description>This is brilliant! did they send you a letter back or just the coupons?</description>
		<content:encoded><![CDATA[<p>This is brilliant! did they send you a letter back or just the coupons?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using Session Variables and Domain Aliases to Change the WordPress URL by Gregory Cox</title>
		<link>http://chriscarvache.com/web-design-development/using-session-variables-and-domain-aliases-to-change-the-wordpress-url/#comment-255</link>
		<dc:creator>Gregory Cox</dc:creator>
		<pubDate>Mon, 21 Mar 2011 18:55:59 +0000</pubDate>
		<guid isPermaLink="false">http://chriscarvache.com/?p=325#comment-255</guid>
		<description>Thank you, Chris! You rock. I am definitely going to use that.... :)</description>
		<content:encoded><![CDATA[<p>Thank you, Chris! You rock. I am definitely going to use that&#8230;. :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using Session Variables and Domain Aliases to Change the WordPress URL by designfloat.com</title>
		<link>http://chriscarvache.com/web-design-development/using-session-variables-and-domain-aliases-to-change-the-wordpress-url/#comment-233</link>
		<dc:creator>designfloat.com</dc:creator>
		<pubDate>Thu, 17 Mar 2011 00:52:21 +0000</pubDate>
		<guid isPermaLink="false">http://chriscarvache.com/?p=325#comment-233</guid>
		<description>&lt;strong&gt;Using Session Variables and Domain Aliases to Change the Wordpress URL...&lt;/strong&gt;

Learn how to change the Wordpress URL using session variables, constants, and domain aliases. Use this technique to enable unique functionality based on entrance URL and to also keep site-wide links rewriting themselves correctly....</description>
		<content:encoded><![CDATA[<p><strong>Using Session Variables and Domain Aliases to Change the WordPress URL&#8230;</strong></p>
<p>Learn how to change the WordPress URL using session variables, constants, and domain aliases. Use this technique to enable unique functionality based on entrance URL and to also keep site-wide links rewriting themselves correctly&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using Session Variables and Domain Aliases to Change the WordPress URL by Chris Carvache</title>
		<link>http://chriscarvache.com/web-design-development/using-session-variables-and-domain-aliases-to-change-the-wordpress-url/#comment-232</link>
		<dc:creator>Chris Carvache</dc:creator>
		<pubDate>Wed, 16 Mar 2011 23:45:59 +0000</pubDate>
		<guid isPermaLink="false">http://chriscarvache.com/?p=325#comment-232</guid>
		<description>Absolutely!  To keep the code simple I would use a 24 hour format to accomplish this.  It would look like something like this:

&lt;code&gt;
/**
 * This is the current hour on your server.
 * Make sure this is correct!!
 */
$theCurrentHour = date(&#039;G&#039;);

/**
 * Now we test to see what we should
 * set the session variable to.
 */
if ( ($theCurrentHour &gt;= 8) &amp;&amp; ($theCurrentHour &lt; 12) ) {
	$_SESSION(&#039;myURL&#039;) = &#039;http://mysite.com/111&#039;;
}

elseif ( ($theCurrentHour &gt;= 12) &amp;&amp; ($theCurrentHour &lt; 16) ) {
	$_SESSION(&#039;myURL&#039;) = &#039;http://mysite.com/222&#039;;
}

/**
 * This is a catch-all
 */
else {
	$_SESSION(&#039;myURL&#039;) = &#039;http://mysite.com/imnowhereman&#039;;
}
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Absolutely!  To keep the code simple I would use a 24 hour format to accomplish this.  It would look like something like this:</p>
<p><code><br />
/**<br />
 * This is the current hour on your server.<br />
 * Make sure this is correct!!<br />
 */<br />
$theCurrentHour = date('G');</p>
<p>/**<br />
 * Now we test to see what we should<br />
 * set the session variable to.<br />
 */<br />
if ( ($theCurrentHour >= 8) &#038;&#038; ($theCurrentHour < 12) ) {<br />
	$_SESSION('myURL') = '<a href="http://mysite.com/111&#039;" rel="nofollow">http://mysite.com/111&#039;;<br />
}</p>
<p>elseif ( ($theCurrentHour >= 12) &#038;&#038; ($theCurrentHour < 16) ) {<br />
	$_SESSION('myURL') = '<a href="http://mysite.com/222&#039;" rel="nofollow">http://mysite.com/222&#039;;<br />
}</p>
<p>/**<br />
 * This is a catch-all<br />
 */<br />
else {<br />
	$_SESSION('myURL') = '<a href="http://mysite.com/imnowhereman&#039;" rel="nofollow">http://mysite.com/imnowhereman&#039;</a>;<br />
}<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using Session Variables and Domain Aliases to Change the WordPress URL by Gregory Cox</title>
		<link>http://chriscarvache.com/web-design-development/using-session-variables-and-domain-aliases-to-change-the-wordpress-url/#comment-231</link>
		<dc:creator>Gregory Cox</dc:creator>
		<pubDate>Tue, 15 Mar 2011 12:38:10 +0000</pubDate>
		<guid isPermaLink="false">http://chriscarvache.com/?p=325#comment-231</guid>
		<description>That&#039;s pretty impressive, Chris. Could you further break down session variables based upon time of day? 

- 8am-12pm = www.mysiteA.com/111/
- 12pm-4pm = www.myssiteA.com/222/</description>
		<content:encoded><![CDATA[<p>That&#8217;s pretty impressive, Chris. Could you further break down session variables based upon time of day? </p>
<p>- 8am-12pm = <a href="http://www.mysiteA.com/111/" rel="nofollow">http://www.mysiteA.com/111/</a><br />
- 12pm-4pm = <a href="http://www.myssiteA.com/222/" rel="nofollow">http://www.myssiteA.com/222/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using Session Variables and Domain Aliases to Change the WordPress URL by Jason Cramer</title>
		<link>http://chriscarvache.com/web-design-development/using-session-variables-and-domain-aliases-to-change-the-wordpress-url/#comment-230</link>
		<dc:creator>Jason Cramer</dc:creator>
		<pubDate>Mon, 14 Mar 2011 23:33:05 +0000</pubDate>
		<guid isPermaLink="false">http://chriscarvache.com/?p=325#comment-230</guid>
		<description>I had thought about doing something like this for some record label sites since one was going away and the other was just going to use the same site as the old one.  This would have come in handy if the domain would&#039;ve stayed pointing to my hosting, then I could have done this trick and changed everything for the new label, but still could have kept the old label&#039;s site in place.  Too bad we didn&#039;t know about this.

Nice work on this man.</description>
		<content:encoded><![CDATA[<p>I had thought about doing something like this for some record label sites since one was going away and the other was just going to use the same site as the old one.  This would have come in handy if the domain would&#8217;ve stayed pointing to my hosting, then I could have done this trick and changed everything for the new label, but still could have kept the old label&#8217;s site in place.  Too bad we didn&#8217;t know about this.</p>
<p>Nice work on this man.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using Session Variables and Domain Aliases to Change the WordPress URL by Tom Hermans</title>
		<link>http://chriscarvache.com/web-design-development/using-session-variables-and-domain-aliases-to-change-the-wordpress-url/#comment-228</link>
		<dc:creator>Tom Hermans</dc:creator>
		<pubDate>Sun, 13 Mar 2011 09:34:59 +0000</pubDate>
		<guid isPermaLink="false">http://chriscarvache.com/?p=325#comment-228</guid>
		<description>Nice write-up Chris,

once made a similar thing but not with WordPress at that time. Nice to know how to pull this off with WP based sites.

grtz
ToM.</description>
		<content:encoded><![CDATA[<p>Nice write-up Chris,</p>
<p>once made a similar thing but not with WordPress at that time. Nice to know how to pull this off with WP based sites.</p>
<p>grtz<br />
ToM.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on WordPress as a CMS: Dynamic Homepage by Chris Carvache</title>
		<link>http://chriscarvache.com/wordpress/wordpress-cms-dynamic-homepage/#comment-227</link>
		<dc:creator>Chris Carvache</dc:creator>
		<pubDate>Tue, 01 Mar 2011 18:03:55 +0000</pubDate>
		<guid isPermaLink="false">http://chriscarvache.com/?p=45#comment-227</guid>
		<description>Sure... just put another loop in the equation using different variables...</description>
		<content:encoded><![CDATA[<p>Sure&#8230; just put another loop in the equation using different variables&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on WordPress as a CMS: Dynamic Homepage by Prabhakaran</title>
		<link>http://chriscarvache.com/wordpress/wordpress-cms-dynamic-homepage/#comment-223</link>
		<dc:creator>Prabhakaran</dc:creator>
		<pubDate>Thu, 24 Feb 2011 18:48:04 +0000</pubDate>
		<guid isPermaLink="false">http://chriscarvache.com/?p=45#comment-223</guid>
		<description>Nice article. It certainly helped to get started.

I am looking to load the recent blog post into the dynamic home page. I used the code in homepage.php and got it working. But is there a simple way to load the posts.</description>
		<content:encoded><![CDATA[<p>Nice article. It certainly helped to get started.</p>
<p>I am looking to load the recent blog post into the dynamic home page. I used the code in homepage.php and got it working. But is there a simple way to load the posts.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Yoast WordPress SEO Plugin and Thematic Integration by David Radovanovic</title>
		<link>http://chriscarvache.com/wordpress/yoast-wordpress-seo-plugin-and-thematic-integration/#comment-218</link>
		<dc:creator>David Radovanovic</dc:creator>
		<pubDate>Fri, 31 Dec 2010 15:45:49 +0000</pubDate>
		<guid isPermaLink="false">http://chriscarvache.com/?p=317#comment-218</guid>
		<description>Yoast SEO titles and Thematic. My search has ended. Thanks.</description>
		<content:encoded><![CDATA[<p>Yoast SEO titles and Thematic. My search has ended. Thanks.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

