<?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>IMHO &#187; wordpress</title>
	<atom:link href="http://www.iconeo.net/index.php/category/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.iconeo.net</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Sun, 02 May 2010 04:30:16 +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>Umbraco &#8211; The Windows Content Management System (CMS)</title>
		<link>http://www.iconeo.net/index.php/2010/05/umbraco-the-windows-content-management-system-cms/</link>
		<comments>http://www.iconeo.net/index.php/2010/05/umbraco-the-windows-content-management-system-cms/#comments</comments>
		<pubDate>Sun, 02 May 2010 04:23:25 +0000</pubDate>
		<dc:creator>Chau Huh</dc:creator>
				<category><![CDATA[umbraco]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.iconeo.net/?p=60</guid>
		<description><![CDATA[<br />
<b>Warning</b>:  imagepng() [<a href='function.imagepng'>function.imagepng</a>]: Unable to open '/wp-content/uploads/cache/4d56fb3c42fd4b2b2820637797d7e6b7.png' for writing: No such file or directory in <b>C:\hostingspaces\iconeone\iconeo.net\wwwroot\wordpress\wp-content\plugins\awsom-pixgallery\pixgallery.php</b> on line <b>1067</b><br />
<a href="www.eccseattle.org"><img class="size-thumbnail wp-image-61 alignleft" title="Evangelical Chinese Church" src="wp-contentuploadscache4d56fb3c42fd4b2b2820637797d7e6b7.png" alt="Evangelical Chinese Church" width="120" height="76" /></a>
So when I first started working with Content Management Systems (CMS) I started with Umbraco. Why? Well, the company was already running a Windows Server with lots of custom ASP. Yes, I know I can run PHP on a Windows Server but where is the fun in that. So now I have two CMS at my control that I can implement and use as portfolio pieces. Check out their&#8230; <a href="http://www.iconeo.net/index.php/2010/05/umbraco-the-windows-content-management-system-cms/" class="read_more">more</a>]]></description>
			<content:encoded><![CDATA[<br />
<b>Warning</b>:  imagepng() [<a href='function.imagepng'>function.imagepng</a>]: Unable to open '/wp-content/uploads/cache/4d56fb3c42fd4b2b2820637797d7e6b7.png' for writing: No such file or directory in <b>C:\hostingspaces\iconeone\iconeo.net\wwwroot\wordpress\wp-content\plugins\awsom-pixgallery\pixgallery.php</b> on line <b>1067</b><br />
<p><a href="www.eccseattle.org"><img class="size-thumbnail wp-image-61 alignleft" title="Evangelical Chinese Church" src="wp-contentuploadscache4d56fb3c42fd4b2b2820637797d7e6b7.png" alt="Evangelical Chinese Church" width="120" height="76" /></a><br />
So when I first started working with Content Management Systems (CMS) I started with Umbraco. Why? Well, the company was already running a Windows Server with lots of custom ASP. Yes, I know I can run PHP on a Windows Server but where is the fun in that. So now I have two CMS at my control that I can implement and use as portfolio pieces. Check out their website at <a href="http://www.eccseattle.org" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.eccseattle.org?referer=');">eccseattle.org</a>. It happens to be a church website and the design actually isn&#8217;t mine. One of the members of their congregation decided on that look. The backend of the website allows church administrators to login and make all their changes to the content without fussing up the design or get their hands dirty with code.</p>
<p>I will say this about Umbraco, I really do like the abstraction of code from content. I personally think it is done in a much more elegant way than Wordpress and PHP does it. However, there are so many nice tools already available for Wordpress and this is where Umbraco falls short. Of course you can wrap ASP.NET controls using macros, but wouldn&#8217;t it be nice if it was a one-click install like Wordpress?</p>
<p>Cheers</p>
]]></content:encoded>
			<wfw:commentRss>http://www.iconeo.net/index.php/2010/05/umbraco-the-windows-content-management-system-cms/feed/</wfw:commentRss>
		<slash:comments>52</slash:comments>
		</item>
		<item>
		<title>Warning: Cannot modify header information</title>
		<link>http://www.iconeo.net/index.php/2010/04/warning-cannot-modify-header-information/</link>
		<comments>http://www.iconeo.net/index.php/2010/04/warning-cannot-modify-header-information/#comments</comments>
		<pubDate>Fri, 30 Apr 2010 19:23:13 +0000</pubDate>
		<dc:creator>Chau Huh</dc:creator>
				<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.iconeo.net/?p=46</guid>
		<description><![CDATA[<img class="alignleft size-full wp-image-47" title="stupid" src="http://www.iconeo.net/wordpress/wp-content/uploads/2010/04/stupid.jpg" alt="stupid" width="116" height="116" />Not being a php wizard I sorta freak out when I see odd messages like:
Warning: Cannot modify header information&#8230;
But never fear google is here. A quick lookup through a few posts reveals that this is caused by adding whitespaces, specifically the line breaks, into places inside of a php file where they should be. This is because the line&#8230; <a href="http://www.iconeo.net/index.php/2010/04/warning-cannot-modify-header-information/" class="read_more">more</a>]]></description>
			<content:encoded><![CDATA[<p><img  class="alignleft size-full wp-image-47" title="stupid" src="http://www.iconeo.net/wordpress/wp-content/uploads/2010/04/stupid.jpg" alt="stupid" width="116" height="116" />Not being a php wizard I sorta freak out when I see odd messages like:</p>
<blockquote><p>Warning: Cannot modify header information&#8230;</p></blockquote>
<p>But never fear google is here. A quick lookup through a few posts reveals that this is caused by adding whitespaces, specifically the line breaks, into places inside of a php file where they should be. This is because the line breaks in files are actual code that php gets stupid all over. The two main culprits are at the beginning or the end of a file.</p>
<p>Cheers</p>
]]></content:encoded>
			<wfw:commentRss>http://www.iconeo.net/index.php/2010/04/warning-cannot-modify-header-information/feed/</wfw:commentRss>
		<slash:comments>90</slash:comments>
		</item>
		<item>
		<title>Advanced Excerpt Plugin</title>
		<link>http://www.iconeo.net/index.php/2010/04/advanced-excerpt-plugin/</link>
		<comments>http://www.iconeo.net/index.php/2010/04/advanced-excerpt-plugin/#comments</comments>
		<pubDate>Thu, 29 Apr 2010 18:24:30 +0000</pubDate>
		<dc:creator>Chau Huh</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.iconeo.net/?p=31</guid>
		<description><![CDATA[I wanted to be able to adjust the_excerpt() php call so that I could customize the posts that showed on my homepage. Specifically I wanted to be able to keep any images from the post and have it show as part of the excerpt. Turns out that there is already a plugin for this! Check out <a href="http://wordpress.org/extend/plugins/advanced-excerpt/" onclick="pageTracker._trackPageview('/outgoing/wordpress.org/extend/plugins/advanced-excerpt/?referer=');">Advance Excerpt</a> written by <a href="http://wordpress.org/extend/plugins/profile/basvd" onclick="pageTracker._trackPageview('/outgoing/wordpress.org/extend/plugins/profile/basvd?referer=');">Bas van Doren</a>.
It works really well and&#8230; <a href="http://www.iconeo.net/index.php/2010/04/advanced-excerpt-plugin/" class="read_more">more</a>]]></description>
			<content:encoded><![CDATA[<p>I wanted to be able to adjust the_excerpt() php call so that I could customize the posts that showed on my homepage. Specifically I wanted to be able to keep any images from the post and have it show as part of the excerpt. Turns out that there is already a plugin for this! Check out <a href="http://wordpress.org/extend/plugins/advanced-excerpt/" onclick="pageTracker._trackPageview('/outgoing/wordpress.org/extend/plugins/advanced-excerpt/?referer=');">Advance Excerpt</a> written by <a href="http://wordpress.org/extend/plugins/profile/basvd" onclick="pageTracker._trackPageview('/outgoing/wordpress.org/extend/plugins/profile/basvd?referer=');">Bas van Doren</a>.</p>
<p>It works really well and you can customize a lot of different settings in how your posts will display.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.iconeo.net/index.php/2010/04/advanced-excerpt-plugin/feed/</wfw:commentRss>
		<slash:comments>42</slash:comments>
		</item>
		<item>
		<title>file_get_contents() Alternative</title>
		<link>http://www.iconeo.net/index.php/2010/04/file_get_contents-alternative/</link>
		<comments>http://www.iconeo.net/index.php/2010/04/file_get_contents-alternative/#comments</comments>
		<pubDate>Thu, 29 Apr 2010 16:52:47 +0000</pubDate>
		<dc:creator>Chau Huh</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.iconeo.net/?p=6</guid>
		<description><![CDATA[Being new to php I was totally unaware of this but in the move from php version 4 to 5 URL file-access is disabled in the server by default. This is to prevent cross site scripting attacks or XSS attacks. My first inclination was to have my server enable this feature but then they wanted to charge me money for it. So after some google searching and modifying of some&#8230; <a href="http://www.iconeo.net/index.php/2010/04/file_get_contents-alternative/" class="read_more">more</a>]]></description>
			<content:encoded><![CDATA[<p>Being new to php I was totally unaware of this but in the move from php version 4 to 5 URL file-access is disabled in the server by default. This is to prevent cross site scripting attacks or XSS attacks. My first inclination was to have my server enable this feature but then they wanted to charge me money for it. So after some google searching and modifying of some code this is what I came up with:</p>
<blockquote><p>
<code>function getPage($url, $referer, $timeout){<br />
if(!isset($timeout))<br />
$timeout=30;<br />
$curl = curl_init();<br />
if(strstr($referer,"://")){<br />
curl_setopt ($curl, CURLOPT_REFERER, $referer);<br />
}<br />
curl_setopt ($curl, CURLOPT_URL, $url);<br />
curl_setopt ($curl, CURLOPT_TIMEOUT, $timeout);<br />
curl_setopt ($curl, CURLOPT_USERAGENT, sprintf("Mozilla/%d.0",rand(4,5)));<br />
curl_setopt ($curl, CURLOPT_RETURNTRANSFER, 1);<br />
curl_setopt ($curl, CURLOPT_SSL_VERIFYPEER, 0);<br />
$html = curl_exec ($curl);<br />
curl_close ($curl);<br />
return $html;<br />
}</code>
</p></blockquote>
<p>This function will need to be included in any file that uses the file_get_contents() call. If your trying to fix a wordpress theme this will probably go into your functions.php. Now You will need replace all of your file_get_contents() with the new call:</p>
<blockquote><p>
<code>getPage("http://YourDomain.Com", "http://google.com", "30");</code>
</p></blockquote>
<p>The 2nd variable in the call is your referer and the 3rd variable is the timeout. I suppose you could modify this so that the referer and timeout was hardcoded too. Let me know how it works!</p>
<p>Cheers</p>
]]></content:encoded>
			<wfw:commentRss>http://www.iconeo.net/index.php/2010/04/file_get_contents-alternative/feed/</wfw:commentRss>
		<slash:comments>51</slash:comments>
		</item>
		<item>
		<title>My First Wordpress Blog</title>
		<link>http://www.iconeo.net/index.php/2010/04/my-first-wordpress-blog/</link>
		<comments>http://www.iconeo.net/index.php/2010/04/my-first-wordpress-blog/#comments</comments>
		<pubDate>Thu, 29 Apr 2010 15:51:55 +0000</pubDate>
		<dc:creator>Chau Huh</dc:creator>
				<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.iconeo.net/?p=3</guid>
		<description><![CDATA[<img class="alignleft size-full wp-image-43" title="wordpress_logo_dark" src="http://www.iconeo.net/wordpress/wp-content/uploads/2010/04/wordpress_logo_dark1.png" alt="wordpress_logo_dark" width="120" height="120" />So this is my first attempt at a WordPress blog. I plan on using this website as a learning tool as I discover wordpress and php in order to make me a better designer. I have been using Umbraco (asp.net) for a bit and thought I should broaden my horizons.
The first bump I ran into was finding a host. I decided to go&#8230; <a href="http://www.iconeo.net/index.php/2010/04/my-first-wordpress-blog/" class="read_more">more</a>]]></description>
			<content:encoded><![CDATA[<p><img  class="alignleft size-full wp-image-43" title="wordpress_logo_dark" src="http://www.iconeo.net/wordpress/wp-content/uploads/2010/04/wordpress_logo_dark1.png" alt="wordpress_logo_dark" width="120" height="120" />So this is my first attempt at a WordPress blog. I plan on using this website as a learning tool as I discover wordpress and php in order to make me a better designer. I have been using Umbraco (asp.net) for a bit and thought I should broaden my horizons.</p>
<p>The first bump I ran into was finding a host. I decided to go with <a href="http://www.softsyshosting.com" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.softsyshosting.com?referer=');">softsyshosting.com</a>. So far they have been very responsive with the two tickets I have submitted.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.iconeo.net/index.php/2010/04/my-first-wordpress-blog/feed/</wfw:commentRss>
		<slash:comments>99</slash:comments>
		</item>
	</channel>
</rss>

