<?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/"
	>

<channel>
	<title>Lost-In-Code &#187; Programming</title>
	<atom:link href="http://www.lost-in-code.com/category/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lost-in-code.com</link>
	<description>Web Development Resources</description>
	<pubDate>Wed, 03 Dec 2008 17:15:09 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Turn off error reporting on your production site</title>
		<link>http://www.lost-in-code.com/platforms/wordpress/turn-off-error-reporting-on-your-production-site/</link>
		<comments>http://www.lost-in-code.com/platforms/wordpress/turn-off-error-reporting-on-your-production-site/#comments</comments>
		<pubDate>Wed, 01 Oct 2008 10:01:39 +0000</pubDate>
		<dc:creator>Antonie Potgieter</dc:creator>
		
		<category><![CDATA[PHP]]></category>

		<category><![CDATA[WordPress]]></category>

		<category><![CDATA[errors]]></category>

		<category><![CDATA[error_reporting]]></category>

		<category><![CDATA[notices]]></category>

		<category><![CDATA[php]]></category>

		<category><![CDATA[warnings]]></category>

		<guid isPermaLink="false">http://www.lost-in-code.com/?p=129</guid>
		<description><![CDATA[On a production site, you would most likely want to hide all possible PHP errors, warnings and notices from your users for both usability, presentational and security purposes.

For development and debugging purposes, you would want to turn on error_reporting and display all error messages so that you can debug your code and ensure that it [...]]]></description>
		<wfw:commentRss>http://www.lost-in-code.com/platforms/wordpress/turn-off-error-reporting-on-your-production-site/feed/</wfw:commentRss>
		</item>
		<item>
		<title>HTML Entities</title>
		<link>http://www.lost-in-code.com/programming/xhtml/html-entities/</link>
		<comments>http://www.lost-in-code.com/programming/xhtml/html-entities/#comments</comments>
		<pubDate>Fri, 12 Sep 2008 01:00:20 +0000</pubDate>
		<dc:creator>Antonie Potgieter</dc:creator>
		
		<category><![CDATA[XHTML]]></category>

		<category><![CDATA[ascii]]></category>

		<category><![CDATA[characters]]></category>

		<category><![CDATA[currency]]></category>

		<category><![CDATA[entities]]></category>

		<category><![CDATA[html]]></category>

		<category><![CDATA[symbols]]></category>

		<guid isPermaLink="false">http://www.lost-in-code.com/?p=95</guid>
		<description><![CDATA[When you use HTML special symbols on your website pages, it is better to use the actual unicode HTML entities to ensure (X)HTML validation and proper encoding of the content on your pages to all users.

Check out the list of HTML ascii characters and symbols with their respective HTML entities. You might find the currency [...]]]></description>
		<wfw:commentRss>http://www.lost-in-code.com/programming/xhtml/html-entities/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Install Wordpress via Command Line</title>
		<link>http://www.lost-in-code.com/platforms/wordpress/install-wordpress-via-command-line/</link>
		<comments>http://www.lost-in-code.com/platforms/wordpress/install-wordpress-via-command-line/#comments</comments>
		<pubDate>Tue, 02 Sep 2008 23:53:32 +0000</pubDate>
		<dc:creator>Antonie Potgieter</dc:creator>
		
		<category><![CDATA[PHP]]></category>

		<category><![CDATA[Server]]></category>

		<category><![CDATA[WordPress]]></category>

		<category><![CDATA[command line]]></category>

		<category><![CDATA[install]]></category>

		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://www.lost-in-code.com/?p=70</guid>
		<description><![CDATA[I wrote a useful article/tutorial over at BloggingRocket which guides you through the process of installing Wordpress with Shell Access. Please feel free to check it out and comment.
]]></description>
		<wfw:commentRss>http://www.lost-in-code.com/platforms/wordpress/install-wordpress-via-command-line/feed/</wfw:commentRss>
		</item>
		<item>
		<title>CakePHP : Change view file from controller</title>
		<link>http://www.lost-in-code.com/programming/php-code/cakephp-change-view-file-from-controller/</link>
		<comments>http://www.lost-in-code.com/programming/php-code/cakephp-change-view-file-from-controller/#comments</comments>
		<pubDate>Sat, 09 Aug 2008 19:04:57 +0000</pubDate>
		<dc:creator>Antonie Potgieter</dc:creator>
		
		<category><![CDATA[CakePHP]]></category>

		<category><![CDATA[PHP]]></category>

		<category><![CDATA[change]]></category>

		<category><![CDATA[controller]]></category>

		<category><![CDATA[render]]></category>

		<category><![CDATA[view]]></category>

		<category><![CDATA[view file]]></category>

		<guid isPermaLink="false">http://www.lost-in-code.com/?p=66</guid>
		<description><![CDATA[With CakePHP, the controller core automatically detects the file name of the view file which needs to be rendered from a controller action. You might want to reuse an existent view for an action or specify a different file name.

For example, if you have a controller named &#8220;Users&#8221; and you execute a controller action named [...]]]></description>
		<wfw:commentRss>http://www.lost-in-code.com/programming/php-code/cakephp-change-view-file-from-controller/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Wordpress.com Stats Stopped Working</title>
		<link>http://www.lost-in-code.com/platforms/wordpress/wordpresscom-stats-stopped-working/</link>
		<comments>http://www.lost-in-code.com/platforms/wordpress/wordpresscom-stats-stopped-working/#comments</comments>
		<pubDate>Wed, 06 Aug 2008 22:48:13 +0000</pubDate>
		<dc:creator>Antonie Potgieter</dc:creator>
		
		<category><![CDATA[PHP]]></category>

		<category><![CDATA[WordPress]]></category>

		<category><![CDATA[Wordpress Themes]]></category>

		<category><![CDATA[footer]]></category>

		<category><![CDATA[php]]></category>

		<category><![CDATA[stats]]></category>

		<category><![CDATA[wordpress.com stats]]></category>

		<category><![CDATA[wp_footer]]></category>

		<guid isPermaLink="false">http://www.lost-in-code.com/?p=64</guid>
		<description><![CDATA[I recently integrated a blog and documentation base into the Tribulant.com website and noticed after a few days that my Wordpress.com stats stopped working completely after switching the theme.

I&#8217;ve been puzzled about this for a few days now and managed to figure out that, out of idiocy, I completely forgot to call the wp_footer function [...]]]></description>
		<wfw:commentRss>http://www.lost-in-code.com/platforms/wordpress/wordpresscom-stats-stopped-working/feed/</wfw:commentRss>
		</item>
		<item>
		<title>PHP : Increase memory limit</title>
		<link>http://www.lost-in-code.com/programming/php-code/php-increase-memory-limit/</link>
		<comments>http://www.lost-in-code.com/programming/php-code/php-increase-memory-limit/#comments</comments>
		<pubDate>Tue, 05 Aug 2008 13:40:55 +0000</pubDate>
		<dc:creator>Antonie Potgieter</dc:creator>
		
		<category><![CDATA[PHP]]></category>

		<category><![CDATA[configuration]]></category>

		<category><![CDATA[dedicated]]></category>

		<category><![CDATA[memory]]></category>

		<category><![CDATA[memory_limit]]></category>

		<category><![CDATA[php]]></category>

		<category><![CDATA[php.ini]]></category>

		<category><![CDATA[php_value]]></category>

		<category><![CDATA[shared hosting]]></category>

		<category><![CDATA[vps]]></category>

		<guid isPermaLink="false">http://www.lost-in-code.com/?p=59</guid>
		<description><![CDATA[Have you ever received a fatal error on your server similar to the one below when you tried to execute a script?
The fatal error shown below, indicates that your PHP configuration has a memory limit set and the script which you are executing is trying to allocate more memory than what is available for use.

Fatal [...]]]></description>
		<wfw:commentRss>http://www.lost-in-code.com/programming/php-code/php-increase-memory-limit/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Wordpress : Using jQuery library with your plugin or theme</title>
		<link>http://www.lost-in-code.com/platforms/wordpress/wordpress-using-jquery-library-with-your-plugin-or-theme/</link>
		<comments>http://www.lost-in-code.com/platforms/wordpress/wordpress-using-jquery-library-with-your-plugin-or-theme/#comments</comments>
		<pubDate>Sat, 28 Jun 2008 23:20:05 +0000</pubDate>
		<dc:creator>Antonie Potgieter</dc:creator>
		
		<category><![CDATA[JavaScript]]></category>

		<category><![CDATA[PHP]]></category>

		<category><![CDATA[WordPress]]></category>

		<category><![CDATA[Wordpress Plugins]]></category>

		<category><![CDATA[Wordpress Themes]]></category>

		<category><![CDATA[jquery]]></category>

		<category><![CDATA[library]]></category>

		<category><![CDATA[noconflict]]></category>

		<category><![CDATA[plugin]]></category>

		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://www.lost-in-code.com/?p=57</guid>
		<description><![CDATA[When you develop a Wordpress plugin or theme, you might want to make use of the jQuery library included and distributed with the Wordpress package.

The jQuery library is located inside the &#8220;wp-includes/js/jquery/&#8221; folder. Even though you know what the location of the jQuery library is, I do not recommend that you reference this script using [...]]]></description>
		<wfw:commentRss>http://www.lost-in-code.com/platforms/wordpress/wordpress-using-jquery-library-with-your-plugin-or-theme/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Wordpress : Translate a Plugin</title>
		<link>http://www.lost-in-code.com/platforms/wordpress/wordpress-translate-a-plugin/</link>
		<comments>http://www.lost-in-code.com/platforms/wordpress/wordpress-translate-a-plugin/#comments</comments>
		<pubDate>Thu, 26 Jun 2008 00:32:38 +0000</pubDate>
		<dc:creator>Antonie Potgieter</dc:creator>
		
		<category><![CDATA[PHP]]></category>

		<category><![CDATA[WordPress]]></category>

		<category><![CDATA[Wordpress Plugins]]></category>

		<category><![CDATA[language]]></category>

		<category><![CDATA[localization]]></category>

		<category><![CDATA[localize]]></category>

		<category><![CDATA[plugin]]></category>

		<category><![CDATA[translate]]></category>

		<category><![CDATA[translation]]></category>

		<guid isPermaLink="false">http://www.lost-in-code.com/?p=48</guid>
		<description><![CDATA[First off, you have to know that not all Wordpress plugins can be translated. The plugin developer(s) had to take the necessary steps such as using the Wordpress __() and _e() functions and load_plugin_textdomain() in order to parse the strings/text of the plugin through the localization system.

If you have a plugin with the ability of [...]]]></description>
		<wfw:commentRss>http://www.lost-in-code.com/platforms/wordpress/wordpress-translate-a-plugin/feed/</wfw:commentRss>
		</item>
		<item>
		<title>WordPress : Using Javascript libraries with your plugin or theme</title>
		<link>http://www.lost-in-code.com/platforms/wordpress/wordpress-using-javascript-libraries-with-your-plugin-or-theme/</link>
		<comments>http://www.lost-in-code.com/platforms/wordpress/wordpress-using-javascript-libraries-with-your-plugin-or-theme/#comments</comments>
		<pubDate>Sat, 21 Jun 2008 15:58:16 +0000</pubDate>
		<dc:creator>Antonie Potgieter</dc:creator>
		
		<category><![CDATA[JavaScript]]></category>

		<category><![CDATA[PHP]]></category>

		<category><![CDATA[WordPress]]></category>

		<category><![CDATA[Wordpress Plugins]]></category>

		<category><![CDATA[Wordpress Themes]]></category>

		<category><![CDATA[add javascript]]></category>

		<category><![CDATA[libraries]]></category>

		<category><![CDATA[plugins]]></category>

		<category><![CDATA[themes]]></category>

		<category><![CDATA[wp_enqueue_script]]></category>

		<guid isPermaLink="false">http://www.lost-in-code.com/?p=47</guid>
		<description><![CDATA[When you develop a Wordpress plugin or theme, you might want to make use of some of the Javascript libraries distributed with the Wordpress package such as Prototype, Scriptaculous and jQuery.

Simple enough, they are in the &#8220;wp-includes/js/&#8221; folder, so what more is there to it? Can&#8217;t I just add a SCRIPT tag in the HEAD [...]]]></description>
		<wfw:commentRss>http://www.lost-in-code.com/platforms/wordpress/wordpress-using-javascript-libraries-with-your-plugin-or-theme/feed/</wfw:commentRss>
		</item>
		<item>
		<title>PHP : Date difference in days</title>
		<link>http://www.lost-in-code.com/programming/php-code/php-date-difference-in-days/</link>
		<comments>http://www.lost-in-code.com/programming/php-code/php-date-difference-in-days/#comments</comments>
		<pubDate>Tue, 17 Jun 2008 16:13:00 +0000</pubDate>
		<dc:creator>Antonie Potgieter</dc:creator>
		
		<category><![CDATA[PHP]]></category>

		<category><![CDATA[date]]></category>

		<category><![CDATA[days]]></category>

		<category><![CDATA[difference]]></category>

		<category><![CDATA[php]]></category>

		<category><![CDATA[subtract]]></category>

		<guid isPermaLink="false">http://www.lost-in-code.com/?p=45</guid>
		<description><![CDATA[You might need to calculate the date difference in days using PHP. You can easily calculate the days difference by using something like the code below.

&#60;?php
//date in the past.
$date1 = &#34;2008-04-11&#34;;
//current date.
$date2 = date&#40;&#34;Y-m-d&#34;, time&#40;&#41;&#41;;
//calculate the difference in seconds.
$difference = abs&#40;strtotime&#40;$date2&#41; - strtotime&#40;$date1&#41;&#41;;
//calculate the number of days
$days = round&#40;&#40;&#40;&#40;$difference/60&#41;/60&#41;/24&#41;, 0&#41;;
?&#62;
The code shown above takes the [...]]]></description>
		<wfw:commentRss>http://www.lost-in-code.com/programming/php-code/php-date-difference-in-days/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
