<?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>Wacdesigns &#124; Technology, Web 2.0 and Life</title>
	<atom:link href="http://www.wacdesigns.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.wacdesigns.com</link>
	<description>Web, Work, And Life in Mauritius</description>
	<lastBuildDate>Mon, 14 Sep 2009 17:48:34 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Gmail Down</title>
		<link>http://www.wacdesigns.com/2009/05/08/gmail-down/</link>
		<comments>http://www.wacdesigns.com/2009/05/08/gmail-down/#comments</comments>
		<pubDate>Fri, 08 May 2009 10:20:10 +0000</pubDate>
		<dc:creator>jf</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Downtime]]></category>
		<category><![CDATA[Gmail]]></category>

		<guid isPermaLink="false">http://www.wacdesigns.com/2009/05/08/gmail-down/</guid>
		<description><![CDATA[Gmail has been down for about 5 minutes now with technical details:
Numeric code: 67
Where are the guys at the tech departement for gmail ?
Update:
Service is now up and running. Total downtime estimated to about 20 minutes.
]]></description>
			<content:encoded><![CDATA[<p>Gmail has been down for about 5 minutes now with technical details:</p>
<h2><strong>Numeric code: 67</strong></h2>
<div id="attachment_243" class="wp-caption aligncenter" style="width: 624px"><img class="size-large wp-image-243" title="Gmail Down" src="http://www.wacdesigns.com/wp-content/uploads/2009/05/gmaildown-1024x458.jpg" alt="Gmail Down" width="614" height="275" /><p class="wp-caption-text">Gmail Down</p></div>
<p>Where are the guys at the tech departement for gmail ?</p>
<p>Update:<br />
<strong>Service is now up and running. Total downtime estimated to about 20 minutes.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.wacdesigns.com/2009/05/08/gmail-down/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Let&#8217;s take a break</title>
		<link>http://www.wacdesigns.com/2009/03/13/lets-take-a-break/</link>
		<comments>http://www.wacdesigns.com/2009/03/13/lets-take-a-break/#comments</comments>
		<pubDate>Fri, 13 Mar 2009 09:49:04 +0000</pubDate>
		<dc:creator>jf</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.wacdesigns.com/2009/03/13/lets-take-a-break/</guid>
		<description><![CDATA[
Why not take a little break, for a fresh fruit juice ?
  Posted via email   from keanxsoul&#8217;s posterous  
]]></description>
			<content:encoded><![CDATA[<p><a href='http://posterous.com/getfile/files.posterous.com/keanxsoul/9BMEqVl11mTQBQ4C02Nzd85UGEectZQOxNmu7nKOQ1VBefefWyRhdpQzfnWF/23.12.2008_012.jpg.scaled.1000.jpg'><img src="http://posterous.com/getfile/files.posterous.com/keanxsoul/HJCy81ayHiMtPQVxzenJFoDiTnBEHa74yn1EyVJEqiw73cj7Hy9F7ND5PuHP/23.12.2008_012.jpg.scaled.500.jpg" width="500" height="375"></a></p>
<p>Why not take a little break, for a fresh fruit juice ?</p>
<p style="font-size: 10px;">  <a href="http://posterous.com">Posted via email</a>   from <a href="http://keanxsoul.posterous.com/lets-take-a-break">keanxsoul&#8217;s posterous</a>  </p>
]]></content:encoded>
			<wfw:commentRss>http://www.wacdesigns.com/2009/03/13/lets-take-a-break/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thinker</title>
		<link>http://www.wacdesigns.com/2009/03/12/thinker/</link>
		<comments>http://www.wacdesigns.com/2009/03/12/thinker/#comments</comments>
		<pubDate>Thu, 12 Mar 2009 16:07:46 +0000</pubDate>
		<dc:creator>jf</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.wacdesigns.com/2009/03/12/thinker/</guid>
		<description><![CDATA[
Positive thinking, might be a good idea ?
  Posted via email   from keanxsoul&#8217;s posterous  
]]></description>
			<content:encoded><![CDATA[<p><a href='http://posterous.com/getfile/files.posterous.com/keanxsoul/rlJ2o6NPkt1AveBv85T54cYnwHjxGawmHDQMwbwv2G27U5zhbfUCgE6EGnve/23.12.2008_016.jpg.scaled.1000.jpg'><img src="http://posterous.com/getfile/files.posterous.com/keanxsoul/E67JVusLpn51L5yxwhbJnePls361RY5euudhKaS0ib1sFtPV0o8PT4NzLDDr/23.12.2008_016.jpg.scaled.500.jpg" width="375" height="500"></a></p>
<p>Positive thinking, might be a good idea ?</p>
<p style="font-size: 10px;">  <a href="http://posterous.com">Posted via email</a>   from <a href="http://keanxsoul.posterous.com/thinker">keanxsoul&#8217;s posterous</a>  </p>
]]></content:encoded>
			<wfw:commentRss>http://www.wacdesigns.com/2009/03/12/thinker/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Moon</title>
		<link>http://www.wacdesigns.com/2009/03/11/the-moon/</link>
		<comments>http://www.wacdesigns.com/2009/03/11/the-moon/#comments</comments>
		<pubDate>Thu, 12 Mar 2009 03:46:13 +0000</pubDate>
		<dc:creator>jf</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.wacdesigns.com/2009/03/11/the-moon/</guid>
		<description><![CDATA[
What Blurry Full Moon Today ?
  Posted via email   from keanxsoul&#8217;s posterous  
]]></description>
			<content:encoded><![CDATA[<p><a href='http://posterous.com/getfile/files.posterous.com/keanxsoul/8CPpPVnvluiLpII87PuuoFCyV9xtmyKNfe56GPrlKPXFwgSwA5Ysa4nhl9QA/DSCN0530.jpg.scaled.1000.jpg'><img src="http://posterous.com/getfile/files.posterous.com/keanxsoul/huXtUSUCy6EJyxkXz6dDSFBAJtJBjQxvyJeR5kJJzy3PxpI65aIZQqdMJXBO/DSCN0530.jpg.scaled.500.jpg" width="500" height="375"></a></p>
<p>What Blurry Full Moon Today ?</p>
<p style="font-size: 10px;">  <a href="http://posterous.com">Posted via email</a>   from <a href="http://keanxsoul.posterous.com/the-moon-14">keanxsoul&#8217;s posterous</a>  </p>
]]></content:encoded>
			<wfw:commentRss>http://www.wacdesigns.com/2009/03/11/the-moon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Giant Turtles&#8230;</title>
		<link>http://www.wacdesigns.com/2009/03/11/giant-turtles/</link>
		<comments>http://www.wacdesigns.com/2009/03/11/giant-turtles/#comments</comments>
		<pubDate>Wed, 11 Mar 2009 10:51:30 +0000</pubDate>
		<dc:creator>jf</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.wacdesigns.com/2009/03/11/giant-turtles/</guid>
		<description><![CDATA[
80 Years old Giant Turtles&#8230;
  Posted via email   from keanxsoul&#8217;s posterous  
]]></description>
			<content:encoded><![CDATA[<p><a href='http://posterous.com/getfile/files.posterous.com/keanxsoul/mS5aLTbfUimvOSY8JA6eLL709Oe4FgstUuNdpyMIrpOPGVI7OHZixqShCEOr/Rodrigues_03.01.09_-_06.01.09_.jpg.scaled.1000.jpg'><img src="http://posterous.com/getfile/files.posterous.com/keanxsoul/ppQuhJGbTI6cGlUkaybJVxJ7t2htLTOQMB0FeLV17vD5xDf7xnxgVt9dJSHB/Rodrigues_03.01.09_-_06.01.09_.jpg.scaled.500.jpg" width="500" height="375"></a></p>
<p>80 Years old Giant Turtles&#8230;</p>
<p style="font-size: 10px;">  <a href="http://posterous.com">Posted via email</a>   from <a href="http://keanxsoul.posterous.com/giant-turtles">keanxsoul&#8217;s posterous</a>  </p>
]]></content:encoded>
			<wfw:commentRss>http://www.wacdesigns.com/2009/03/11/giant-turtles/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Session state has created a session id, but cannot save it because the response was already flushed by the application.</title>
		<link>http://www.wacdesigns.com/2009/02/03/session-state-has-created-a-session-id-but-cannot-save-it-because-the-response-was-already-flushed-by-the-application/</link>
		<comments>http://www.wacdesigns.com/2009/02/03/session-state-has-created-a-session-id-but-cannot-save-it-because-the-response-was-already-flushed-by-the-application/#comments</comments>
		<pubDate>Wed, 04 Feb 2009 01:00:43 +0000</pubDate>
		<dc:creator>jf</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Cool Stuff]]></category>
		<category><![CDATA[Internet Articles]]></category>
		<category><![CDATA[My Life]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[Exception]]></category>

		<guid isPermaLink="false">http://www.wacdesigns.com/?p=211</guid>
		<description><![CDATA[Lately i started getting an Exception of the type [HttpException] with message: Session state has created a session id, but cannot save it because the response was already flushed by the application.

?View Code CSHARPType : System.Web.HttpException, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Message : Session state has created a session id, but cannot save it because the response [...]]]></description>
			<content:encoded><![CDATA[<p>Lately i started getting an Exception of the type <strong>[HttpException]</strong> with message: Session state has created a session id, but cannot save it because the response was already flushed by the application.</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p211code3'); return false;">View Code</a> CSHARP</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p2113"><td class="code" id="p211code3"><pre class="csharp" style="font-family:monospace;">Type <span style="color: #008000;">:</span> <span style="color: #000000;">System.<span style="color: #0000FF;">Web</span></span>.<span style="color: #0000FF;">HttpException</span>, <span style="color: #000000;">System.<span style="color: #0000FF;">Web</span></span>, Version<span style="color: #008000;">=</span>2.0.0.0, Culture<span style="color: #008000;">=</span>neutral, PublicKeyToken<span style="color: #008000;">=</span>b03f5f7f11d50a3a
Message <span style="color: #008000;">:</span> Session state has created a session id, but cannot save it because the response was already flushed by the application.
<span style="color: #0000FF;">Source</span> <span style="color: #008000;">:</span> <span style="color: #000000;">System.<span style="color: #0000FF;">Web</span></span>
Help link <span style="color: #008000;">:</span>
ErrorCode <span style="color: #008000;">:</span> <span style="color: #008000;">-</span><span style="color: #FF0000;">2147467259</span>
Data <span style="color: #008000;">:</span> <span style="color: #000000;">System.<span style="color: #0000FF;">Collections</span></span>.<span style="color: #0000FF;">ListDictionaryInternal</span>
TargetSite <span style="color: #008000;">:</span> <span style="color: #0600FF;">Void</span> SaveSessionID<span style="color: #000000;">&#40;</span><span style="color: #000000;">System.<span style="color: #0000FF;">Web</span></span>.<span style="color: #0000FF;">HttpContext</span>, <span style="color: #000000;">System</span>.<span style="color: #FF0000;">String</span>, Boolean ByRef, Boolean ByRef<span style="color: #000000;">&#41;</span>
Stack Trace <span style="color: #008000;">:</span>    at <span style="color: #000000;">System.<span style="color: #0000FF;">Web</span></span>.<span style="color: #0000FF;">SessionState</span>.<span style="color: #0000FF;">SessionIDManager</span>.<span style="color: #0000FF;">SaveSessionID</span><span style="color: #000000;">&#40;</span>HttpContext context, <span style="color: #FF0000;">String</span> id, Boolean<span style="color: #008000;">&amp;</span>amp<span style="color: #008000;">;</span> 
redirected, Boolean<span style="color: #008000;">&amp;</span>amp<span style="color: #008000;">;</span> cookieAdded<span style="color: #000000;">&#41;</span>
at <span style="color: #000000;">System.<span style="color: #0000FF;">Web</span></span>.<span style="color: #0000FF;">SessionState</span>.<span style="color: #0000FF;">SessionStateModule</span>.<span style="color: #0000FF;">CreateSessionId</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>
at <span style="color: #000000;">System.<span style="color: #0000FF;">Web</span></span>.<span style="color: #0000FF;">SessionState</span>.<span style="color: #0000FF;">SessionStateModule</span>.<span style="color: #0000FF;">DelayedGetSessionId</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>
at <span style="color: #000000;">System.<span style="color: #0000FF;">Web</span></span>.<span style="color: #0000FF;">SessionState</span>.<span style="color: #0000FF;">SessionStateModule</span>.<span style="color: #0000FF;">OnReleaseState</span><span style="color: #000000;">&#40;</span><span style="color: #FF0000;">Object</span> source, EventArgs eventArgs<span style="color: #000000;">&#41;</span>
at <span style="color: #000000;">System.<span style="color: #0000FF;">Web</span></span>.<span style="color: #0000FF;">HttpApplication</span>.<span style="color: #0000FF;">SyncEventExecutionStep</span>.<span style="color: #000000;">System.<span style="color: #0000FF;">Web</span></span>.<span style="color: #0000FF;">HttpApplication</span>.<span style="color: #0000FF;">IExecutionStep</span>.<span style="color: #0000FF;">Execute</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>
at <span style="color: #000000;">System.<span style="color: #0000FF;">Web</span></span>.<span style="color: #0000FF;">HttpApplication</span>.<span style="color: #0000FF;">ExecuteStep</span><span style="color: #000000;">&#40;</span>IExecutionStep step, Boolean<span style="color: #008000;">&amp;</span>amp<span style="color: #008000;">;</span> completedSynchronously<span style="color: #000000;">&#41;</span></pre></td></tr></table></div>

<p>I have googled a bit on the net to find a solution and found out that this could be due to:</p>
<blockquote><p>session state id is stored in a cookie. the cookie is a header, and must be<br />
written before any content. if you do a flush, no headers can be written. in<br />
1.1 if buffering was on (the default), flushes were not honored.</p></blockquote>
<p><em>Ref: http://www.velocityreviews.com/forums/t301530-session-state-has-created-a-session-id-but-cannot-save-it-because-the-response-was-already-flushed-by-the-application.html</em></p>
<blockquote><p>If you get an Exception saying &#8220;Session state has created a session ID, but cannot save it because the response was already flushed by the application&#8221; then make sure you have set DisplayWhenNewSession to &#8216;false&#8217;</p>
<p>you lose session state when the application pool is recycled (unless you r using sql server to store your sessions, of course) if that is your problem, and it occurs frequently, then someone missconfigured your webserver as app. pool recycling can be regulated in IIS. i personally think that the error message received sounds like its the app_pool&#8230; just a guess, but i&#8217;d take a look at the iis settings&#8230; try putting the app in a seperate pool for testing, or regulate the recyle settings.</p></blockquote>
<p><em>Ref: http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/Q_23779174.html</em></p>
<p><strong>And finally there is a little tweak/fix that i found out:</strong></p>
<p>That happens because sometimes (depending on the web.config configuration) the SessionID is not set in the cookie when Session_Srtart event executes in the global asax.</p>
<p>You encounter this error because at somepoint in the pagelifecycle a variable is set in the session. After the request ends, ASP.NET tries to set the SessionID too, but if the Request was flused (eg. this can be done by Response.Write or AJAX itself flushes the response) this exception will be thrown.</p>
<p>A simple fix would be (in the global.asax file):</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p211code4'); return false;">View Code</a> CSHARP</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p2114"><td class="code" id="p211code4"><pre class="csharp" style="font-family:monospace;">  <span style="color: #0600FF;">void</span> Session_Start<span style="color: #000000;">&#40;</span><span style="color: #FF0000;">object</span> sender, EventArgs e<span style="color: #000000;">&#41;</span>
    <span style="color: #000000;">&#123;</span>
	<span style="color: #008080; font-style: italic;">// Code that runs when a new session is started</span>
&nbsp;
	<span style="color: #008080; font-style: italic;">//Ensure SessionID in order to prevent the folloing exception</span>
	<span style="color: #008080; font-style: italic;">//when the Application Pool Recycles</span>
	<span style="color: #008080; font-style: italic;">//[HttpException]: Session state has created a session id, but cannot</span>
	<span style="color: #008080; font-style: italic;">//				   save it because the response was already flushed by &lt;/span&gt;</span>
	<span style="color: #FF0000;">string</span> sessionId <span style="color: #008000;">=</span> Session.<span style="color: #0000FF;">SessionID</span><span style="color: #008000;">;</span>
    <span style="color: #000000;">&#125;</span></pre></td></tr></table></div>

<p><em>Ref: http://www.codeverge.net/ng.asp-net-forum.migrating_from_asp-net_1-x_to_asp-net_2-0/error-session-state-has-created-a-session-id-but-cannot-save-it-because-the-response-was-already-flushed-by-the-application</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.wacdesigns.com/2009/02/03/session-state-has-created-a-session-id-but-cannot-save-it-because-the-response-was-already-flushed-by-the-application/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Google new favicon</title>
		<link>http://www.wacdesigns.com/2009/01/11/google-new-favicon/</link>
		<comments>http://www.wacdesigns.com/2009/01/11/google-new-favicon/#comments</comments>
		<pubDate>Sun, 11 Jan 2009 16:59:37 +0000</pubDate>
		<dc:creator>jf</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[favicon]]></category>
		<category><![CDATA[Google]]></category>

		<guid isPermaLink="false">http://www.wacdesigns.com/2009/01/11/google-new-favicon/</guid>
		<description><![CDATA[Google has recently changed it&#8217;s favicon to a new one.

]]></description>
			<content:encoded><![CDATA[<p>Google has recently changed it&#8217;s favicon to a new one.</p>
<p><img title="Google new favicon" src="http://www.papygeek.com/wp-content/uploads/2009/01/google-favicon-2009.png" alt="Google new favicon" width="248" height="151" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.wacdesigns.com/2009/01/11/google-new-favicon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wordpress Theme &#8211; Wacdesigns Grunge</title>
		<link>http://www.wacdesigns.com/2009/01/11/wordpress-theme-wacdesigns-grunge/</link>
		<comments>http://www.wacdesigns.com/2009/01/11/wordpress-theme-wacdesigns-grunge/#comments</comments>
		<pubDate>Sun, 11 Jan 2009 06:40:33 +0000</pubDate>
		<dc:creator>jf</dc:creator>
				<category><![CDATA[Bloggers]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Wordpress Devlopment]]></category>
		<category><![CDATA[Theme]]></category>
		<category><![CDATA[Wacdesigns]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.wacdesigns.com/?p=204</guid>
		<description><![CDATA[This is the first wordpress theme that i have created, It&#8217;s a  1 column layout with no sidebar for the time being but i&#8217;ll be putting it shortly in the comming versions. It contains latest posts, random posts and popular tags on the footer.
Since this is the first version of  WacdesignsGrunge, it may contain some [...]]]></description>
			<content:encoded><![CDATA[<p>This is the first wordpress theme that i have created, It&#8217;s a  1 column layout with no sidebar for the time being but i&#8217;ll be putting it shortly in the comming versions. It contains latest posts, random posts and popular tags on the footer.</p>
<p>Since this is the first version of  WacdesignsGrunge, it may contain some bugs, thus i won&#8217;t be posting as downloadable for the time being. But it will be revised, i&#8217;ll take some time to make it completely configurable and then free to use.</p>
<p>Here is the screenshot.<br />
<img class="aligncenter size-medium wp-image-205" title="wacdesignsgrunge" src="http://www.wacdesigns.com/wp-content/uploads/2009/01/wacdesignsgrunge-300x187.jpg" alt="wacdesignsgrunge" width="300" height="187" /></p>
<p>If you have any recommendations for this theme, i&#8217;ll be glad to read them.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wacdesigns.com/2009/01/11/wordpress-theme-wacdesigns-grunge/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Random post in Wordpress</title>
		<link>http://www.wacdesigns.com/2009/01/10/random-post-in-wordpress/</link>
		<comments>http://www.wacdesigns.com/2009/01/10/random-post-in-wordpress/#comments</comments>
		<pubDate>Sat, 10 Jan 2009 16:56:50 +0000</pubDate>
		<dc:creator>jf</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Wordpress Devlopment]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.wacdesigns.com/?p=202</guid>
		<description><![CDATA[While building up my new WordPress theme, I wanted to display a list of random post for my blog footer. I have been searching a lot and got several plugins and ways to do this, but a last I found out the most simplest way.
Using the orderby=rand argument you can return a random list using [...]]]></description>
			<content:encoded><![CDATA[<p>While building up my new WordPress theme, I wanted to display a list of random post for my blog footer. I have been searching a lot and got several plugins and ways to do this, but a last I found out the most simplest way.</p>
<p>Using the <strong>orderby=rand</strong> argument you can return a random list using the WP_Query</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p202code7'); return false;">View Code</a> PHP</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p2027"><td class="code" id="p202code7"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #000088;">$my_query</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> WP_Query<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'showposts=5&amp;orderby=rand'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

<p>Here is the full code</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p202code8'); return false;">View Code</a> PHP</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table width="100%" ><tr id="p2028"><td class="code" id="p202code8"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>h3<span style="color: #339933;">&gt;</span>Random Posts<span style="color: #339933;">&lt;/</span>h3<span style="color: #339933;">&gt;</span>
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #000088;">$my_query</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> WP_Query<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'showposts=5&amp;orderby=rand'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">while</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$my_query</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">have_posts</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">:</span> <span style="color: #000088;">$my_query</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">the_post</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
<span style="color: #339933;">&lt;</span>div <span style="color: #000000; font-weight: bold;">class</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;footer_excerpt_post&quot;</span><span style="color: #339933;">&gt;</span>
<span style="color: #339933;">&lt;</span>h4<span style="color: #339933;">&gt;&lt;</span>a href<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;&lt;?php the_permalink() ?&gt;&quot;</span> rel<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;bookmark&quot;</span> title<span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;Permanent Link to &lt;?php the_title_attribute(); ?&gt;&quot;</span><span style="color: #339933;">&gt;&lt;</span>?php the_title<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> ?<span style="color: #339933;">&gt;&lt;/</span>a<span style="color: #339933;">&gt;&lt;/</span>h4<span style="color: #339933;">&gt;</span>
<span style="color: #000000; font-weight: bold;">&lt;?php</span> the_excerpt<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>
<span style="color: #339933;">&lt;/</span>div<span style="color: #339933;">&gt;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">endwhile</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://www.wacdesigns.com/2009/01/10/random-post-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Color Palette Generator</title>
		<link>http://www.wacdesigns.com/2008/11/02/color-palette-generator/</link>
		<comments>http://www.wacdesigns.com/2008/11/02/color-palette-generator/#comments</comments>
		<pubDate>Sun, 02 Nov 2008 18:07:24 +0000</pubDate>
		<dc:creator>jf</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[Color]]></category>
		<category><![CDATA[Color palette]]></category>

		<guid isPermaLink="false">http://www.wacdesigns.com/?p=195</guid>
		<description><![CDATA[
Found out this nice website where you can generate a color palette by choosing an image. This tool can be of good help when designing a website that need to be in harmonie with an image.
http://www.degraeve.com/color-palette/
]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-196" title="color palette generator" src="http://www.wacdesigns.com/wp-content/uploads/2008/11/colorpalettegenerator.jpg" alt="" width="500" height="457" /></p>
<p>Found out this nice website where you can generate a color palette by choosing an image. This tool can be of good help when designing a website that need to be in harmonie with an image.</p>
<p><a href="http://www.degraeve.com/color-palette/" target="_blank">http://www.degraeve.com/color-palette/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.wacdesigns.com/2008/11/02/color-palette-generator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
