<?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>Naatan.com - Opensource Web Developer</title>
	<atom:link href="http://naatan.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://naatan.com</link>
	<description>Just another WordPress weblog</description>
	<pubDate>Wed, 19 Nov 2008 13:24:48 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7-beta3</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>New Plugin: Comment Move</title>
		<link>http://naatan.com/2008/11/new-plugin-comment-move/</link>
		<comments>http://naatan.com/2008/11/new-plugin-comment-move/#comments</comments>
		<pubDate>Wed, 19 Nov 2008 13:24:48 +0000</pubDate>
		<dc:creator>Naatan</dc:creator>
		
		<category><![CDATA[Comment Move]]></category>

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

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

		<category><![CDATA[Move Comments]]></category>

		<category><![CDATA[Twitter Status]]></category>

		<guid isPermaLink="false">http://naatan.com/?p=238</guid>
		<description><![CDATA[Another plugin born out of necessity, Comment Move will allow you to move a comment between posts/pages or even attachments.
And that&#8217;s about it.. it&#8217;s another no-fuzz plugin.. does what it needs to do and nothing more.
On another subject there is a new update for Twitter Status that fixed incompatibility with themes that don&#8217;t have jquery [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;"><a href="http://naatan.com/category/wordpress/plugins/twitter-status/"><img class="alignright size-thumbnail wp-image-239" title="movecomment" src="http://naatan.com/wp-content/uploads/2008/11/movecomment-150x150.png" alt="movecomment" width="150" height="150" /></a>Another plugin born out of necessity, <a href="http://naatan.com/category/wordpress/plugins/comment-move/">Comment Move will allow you to move a comment between posts/pages</a> or even attachments.</p>
<p style="text-align: justify;">And that&#8217;s about it.. it&#8217;s another no-fuzz plugin.. does what it needs to do and nothing more.</p>
<p style="text-align: justify;">On another subject there is a new update for <a href="http://naatan.com/category/wordpress/plugins/twitter-status/">Twitter Status</a> that fixed incompatibility with themes that don&#8217;t have jquery enabled by default.<br />
Make sure you read the readme.txt as installation instructions have slightly changed.</p>
]]></content:encoded>
			<wfw:commentRss>http://naatan.com/2008/11/new-plugin-comment-move/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Comment Move Wordpress Plugin</title>
		<link>http://naatan.com/2008/11/comment-move-wordpress-plugin/</link>
		<comments>http://naatan.com/2008/11/comment-move-wordpress-plugin/#comments</comments>
		<pubDate>Tue, 18 Nov 2008 17:51:36 +0000</pubDate>
		<dc:creator>Naatan</dc:creator>
		
		<category><![CDATA[Comment Move]]></category>

		<category><![CDATA[Move Comments]]></category>

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

		<guid isPermaLink="false">http://naatan.com/?p=225</guid>
		<description><![CDATA[Index

Description
Features
Screenshots
Installation
Usage
Download
Changelog


Description
Adds the ability to move comments between posts / pages to the comment edit page.
Simple no-fuzz plugin.. no extra pages / configuration screen, just an option added to your comment edit screen.

Features

Move comments individually between posts / pages
Or really, to anything in the Posts table.. just enter the ID..


Screenshots

Installation
Just unzip into the plugins folder and [...]]]></description>
			<content:encoded><![CDATA[<h3>Index</h3>
<ul>
<li><a href="#description">Description</a></li>
<li><a href="#features">Features</a></li>
<li><a href="#screenshots">Screenshots</a></li>
<li><a href="#installation">Installation</a></li>
<li><a href="#usage">Usage</a></li>
<li><a href="#download">Download</a></li>
<li><a href="#changelog">Changelog</a></li>
</ul>
<p><a name="description"></a></p>
<h3>Description</h3>
<p>Adds the ability to move comments between posts / pages to the comment edit page.</p>
<p>Simple no-fuzz plugin.. no extra pages / configuration screen, just an option added to your comment edit screen.<br />
<a name="features"></a></p>
<h3>Features</h3>
<ul>
<li>Move comments individually between posts / pages<br />
<em>Or really, to anything in the Posts table.. just enter the ID..</em></li>
</ul>
<p><a name="screenshots"></a></p>
<h3>Screenshots</h3>

<a href='http://naatan.com/2008/11/comment-move-wordpress-plugin/screenshot-1/' title='screenshot-1'><img src="http://naatan.com/wp-content/uploads/2008/11/screenshot-1-150x95.png" width="150" height="95" class="attachment-thumbnail" alt="" /></a>
<a href='http://naatan.com/2008/11/comment-move-wordpress-plugin/screenshot-2/' title='screenshot-2'><img src="http://naatan.com/wp-content/uploads/2008/11/screenshot-2-150x80.png" width="150" height="80" class="attachment-thumbnail" alt="" /></a>

<p><a name="installation"></a></p>
<h3>Installation</h3>
<p>Just unzip into the plugins folder and activate.<br />
<a name="usage"></a></p>
<h3>Usage</h3>
<p>Just edit a comment and change it&#8217;s post / page id.<br />
<a name="download"></a></p>
<h3>Download</h3>
<p><code>
<ul>
<li><a href="http://naatan.com/wp-content/plugins/download-monitor/download.php?id=4" title="Version 1.0 downloaded 12 times" >Comment Move v1.0 (12)</a></li>
</ul>
<p></code><br />
<a name="changelog"></a></p>
<h3>Changelog</h3>
<ul>
<li><strong>Version 1.0 - November 18, 2008</strong>
<ul>
<li>Initial Release</li>
</ul>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://naatan.com/2008/11/comment-move-wordpress-plugin/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Twitter Status 1.0.1 Fix</title>
		<link>http://naatan.com/2008/11/twitter-status-101-fix/</link>
		<comments>http://naatan.com/2008/11/twitter-status-101-fix/#comments</comments>
		<pubDate>Mon, 17 Nov 2008 23:57:56 +0000</pubDate>
		<dc:creator>Naatan</dc:creator>
		
		<category><![CDATA[News]]></category>

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

		<category><![CDATA[Twitter Status]]></category>

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

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

		<guid isPermaLink="false">http://naatan.com/?p=221</guid>
		<description><![CDATA[My apologies to those who installed Twitter Status and didn&#8217;t get it working, unfrotunately I did all my testing in Wordpress 2.7 and didn&#8217;t notice it was incompatible with 2.6.
You can get the latest version from the plugin page or Wordpress.org..
Hope this version works properly for everyone.
]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-222" title="tools-report-bug" src="http://naatan.com/wp-content/uploads/2008/11/tools-report-bug.png" alt="tools-report-bug" width="128" height="128" />My apologies to those who installed Twitter Status and didn&#8217;t get it working, unfrotunately I did all my testing in Wordpress 2.7 and didn&#8217;t notice it was incompatible with 2.6.</p>
<p>You can get the latest version from the <a href="http://naatan.com/category/wordpress/plugins/twitter-status/">plugin page</a> or <a href="http://wordpress.org/extend/plugins/twitter-status/" target="_blank">Wordpress.org</a>..</p>
<p>Hope this version works properly for everyone.</p>
]]></content:encoded>
			<wfw:commentRss>http://naatan.com/2008/11/twitter-status-101-fix/feed/</wfw:commentRss>
		</item>
		<item>
		<title>New Wordpress Plugin: Post Filters</title>
		<link>http://naatan.com/2008/11/new-wordpress-plugin-post-filters/</link>
		<comments>http://naatan.com/2008/11/new-wordpress-plugin-post-filters/#comments</comments>
		<pubDate>Mon, 17 Nov 2008 03:17:12 +0000</pubDate>
		<dc:creator>Naatan</dc:creator>
		
		<category><![CDATA[News]]></category>

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

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

		<category><![CDATA[Post Filters]]></category>

		<category><![CDATA[skip frontpage]]></category>

		<category><![CDATA[stick to category]]></category>

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

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

		<guid isPermaLink="false">http://naatan.com/?p=209</guid>
		<description><![CDATA[My second plugin released in one day :ohhyeahh:, it&#8217;s a small one though.. called Post Filters.
I am still working on some more plugins, this one I created out of necessity, I wanted to have my plugin pages skip the frontpage and stick to their relative category.
So why not use a page? Well the links in [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://naatan.com/category/wordpress/plugins/post-filters/"><img class="alignright size-thumbnail wp-image-202" title="Post Filters Screenshot" src="http://naatan.com/wp-content/uploads/2008/11/screenshot3-150x150.png" alt="Post Filters Screenshot" width="150" height="150" /></a>My second plugin released in one day :ohhyeahh:, it&#8217;s a small one though.. called <a href="http://naatan.com/category/wordpress/plugins/post-filters/">Post Filters</a>.</p>
<p>I am still working on some more plugins, this one I created out of necessity, I wanted to have my plugin pages skip the frontpage and stick to their relative category.<br />
So why not use a page? Well the links in my navigation bar are generated by the categories I post in.. and pages don&#8217;t have categories.. so there.</p>
<p>Anyway, what this plugin does:</p>
<p><em>Gives you the ability to have posts skip the frontpage and to stick a post to the top of all it’s relative categories.</em></p>
<p>Hopefully<em> some more people can find a good use for this ;)<br />
</em></p>
]]></content:encoded>
			<wfw:commentRss>http://naatan.com/2008/11/new-wordpress-plugin-post-filters/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Post Filters Wordpress Plugin</title>
		<link>http://naatan.com/2008/11/post-filters/</link>
		<comments>http://naatan.com/2008/11/post-filters/#comments</comments>
		<pubDate>Mon, 17 Nov 2008 03:11:09 +0000</pubDate>
		<dc:creator>Naatan</dc:creator>
		
		<category><![CDATA[Post Filters]]></category>

		<category><![CDATA[Category Stick]]></category>

		<category><![CDATA[skip frontpage]]></category>

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

		<guid isPermaLink="false">http://naatan.com/?p=203</guid>
		<description><![CDATA[
Index

Description
Features
Installation
Usage
Download
Changelog


Description
Gives you the ability to have posts skip the frontpage and to stick a post to the top of all it&#8217;s relative categories.

Features

Skip the frontpage
This will skip the frontpage and show the post only in the archive pages
Stick to categories
This will make the post stick to the top of all the categories it has been [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-202" title="Post Filters Screenshot" src="http://naatan.com/wp-content/uploads/2008/11/screenshot3.png" alt="Post Filters Screenshot" width="297" height="306" /></p>
<h3>Index</h3>
<ul>
<li><a href="#description">Description</a></li>
<li><a href="#features">Features</a></li>
<li><a href="#installation">Installation</a></li>
<li><a href="#usage">Usage</a></li>
<li><a href="#download">Download</a></li>
<li><a href="#changelog">Changelog</a></li>
</ul>
<p><a name="description"></a></p>
<h3>Description</h3>
<p>Gives you the ability to have posts skip the frontpage and to stick a post to the top of all it&#8217;s relative categories.<br />
<a name="features"></a></p>
<h3>Features</h3>
<ul>
<li>Skip the frontpage<br />
<em>This will skip the frontpage and show the post only in the archive pages</em></li>
<li>Stick to categories<br />
<em>This will make the post stick to the top of all the categories it has been added to</em></li>
</ul>
<p><a name="installation"></a></p>
<h3>Installation</h3>
<p>Just unzip the post_filters.php in your plugins folder and activate in wp-admin.<br />
<a name="usage"></a></p>
<h3>Usage</h3>
<p>A new box will appear when creating/editing posts, simply check or uncheck the relative options here<br />
<a name="download"></a></p>
<h3>Download</h3>
<p><code>
<ul>
<li><a href="http://naatan.com/wp-content/plugins/download-monitor/download.php?id=2" title="Version 1.0 downloaded 9 times" >Post Filters v1.0 (9)</a></li>
</ul>
<p></code><br />
<a name="changelog"></a></p>
<h3>Changelog</h3>
<ul>
<li><strong>Version 1.0 - November 16, 2008</strong>
<ul>
<li>Initial Release</li>
</ul>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://naatan.com/2008/11/post-filters/feed/</wfw:commentRss>
		</item>
		<item>
		<title>New Wordpress Plugin: Twitter Status</title>
		<link>http://naatan.com/2008/11/new-wordpress-plugin-twitter-status/</link>
		<comments>http://naatan.com/2008/11/new-wordpress-plugin-twitter-status/#comments</comments>
		<pubDate>Sun, 16 Nov 2008 18:36:23 +0000</pubDate>
		<dc:creator>Naatan</dc:creator>
		
		<category><![CDATA[News]]></category>

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

		<category><![CDATA[Twitter Status]]></category>

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

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

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

		<guid isPermaLink="false">http://naatan.com/?p=194</guid>
		<description><![CDATA[Twitter Status is a very simple no-fuzz plugin that gets the current Twitter message from the Twitter ID specified, when someone visits your website there will be an ajax script running in the background doing a GET request every 30 seconds.
This request will trigger the Plugin to get all Author profiles with a twitter ID, [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://naatan.com/category/wordpress/plugins/twitter-status/"><img class="alignright size-full wp-image-166" title="Screenshot" src="http://naatan.com/wp-content/uploads/2008/11/screenshot2.png" alt="Screenshot" width="199" height="115" /></a><a href="http://naatan.com/category/wordpress/plugins/twitter-status/">Twitter Status is a very simple no-fuzz plugin</a> that gets the current Twitter message from the Twitter ID specified, when someone visits your website there will be an ajax script running in the background doing a GET request every 30 seconds.<br />
This request will trigger the Plugin to get all Author profiles with a twitter ID, and update their Twitter status, given that they haven’t been updated in at least 30 minutes and with a limit of 5 twitter profiles per request.</p>
<p>You can change these settings by editing the plugin file (before activating it).. the settings are easily accessible, no knowledge of PHP required.. I will incorporate a configuration page in future versions, for now I wanted to make an initial release that’s down to the complete basics.</p>
<p>I am also working on a couple more usefull plugins which should be coming along soon..</p>
<ul>
<li><strong>Post Filters</strong><br />
Gives you the ability to have posts ..&nbsp;</p>
<ul>
<li>Skip the Frontpage</li>
<li>Act as a sticky on Category pages (and -only- on Category pages)</li>
</ul>
</li>
<li><strong>Raw Posts</strong><br />
Will process posts EXACTLY the way you edit them in the wysiwyg editor, it bypasses the wordpress filters completely.<br />
This will quite definitely create conflict with plugins that rely on Wordpress&#8217; filtering.</li>
<li><strong>Raw Syntaxhighlighter</strong><br />
Source code highlighter that works with the Raw Posts plugin</li>
</ul>
<p>I&#8217;m also working on a PDO wrapper to make it&#8217;s functionality more accessible, though this is of course not related to Wordpress in any way.</p>
]]></content:encoded>
			<wfw:commentRss>http://naatan.com/2008/11/new-wordpress-plugin-twitter-status/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Twitter Status Wordpress Plugin</title>
		<link>http://naatan.com/2008/11/twitter_status/</link>
		<comments>http://naatan.com/2008/11/twitter_status/#comments</comments>
		<pubDate>Sun, 16 Nov 2008 17:22:55 +0000</pubDate>
		<dc:creator>Naatan</dc:creator>
		
		<category><![CDATA[Twitter Status]]></category>

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

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

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

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

		<guid isPermaLink="false">http://naatan.com/?p=150</guid>
		<description><![CDATA[Index

Description
Features
Installation
Usage
Download
Changelog


Description
Twitter Status is a very simple no-fuzz plugin that gets the current Twitter message from the Twitter ID specified, when someone visits your website there will be an ajax script running in the background doing a GET request every 30 seconds, this request will trigger the Plugin to get all Author profiles with a twitter [...]]]></description>
			<content:encoded><![CDATA[<h3><img class="alignright size-full wp-image-166" title="screenshot2" src="http://naatan.com/wp-content/uploads/2008/11/screenshot2.png" alt="screenshot2" width="199" height="115" />Index</h3>
<ul>
<li><a href="#description">Description</a></li>
<li><a href="#features">Features</a></li>
<li><a href="#installation">Installation</a></li>
<li><a href="#usage">Usage</a></li>
<li><a href="#download">Download</a></li>
<li><a href="#changelog">Changelog</a></li>
</ul>
<p><a name="description"></a></p>
<h3>Description</h3>
<p>Twitter Status is a very simple no-fuzz plugin that gets the current Twitter message from the Twitter ID specified, when someone visits your website there will be an ajax script running in the background doing a GET request every 30 seconds, this request will trigger the Plugin to get all Author profiles with a twitter ID, and update their Twitter status, given that they haven&#8217;t been updated in at least 30 minutes and with a limit of 5 twitter profiles per request.</p>
<p>You can change these settings by editing the plugin file (before activating it).. the settings are easily accessible, no knowledge of PHP required.. I will incorporate a configuration page in future versions, for now I wanted to make an initial release that&#8217;s down to the complete basics.<br />
<a name="features"></a></p>
<h3>Features</h3>
<ul>
<li>Ajax powered</li>
<li>Get Twitter status by;
<ul>
<li>Twitter ID</li>
<li>User ID</li>
<li>Username</li>
</ul>
</li>
</ul>
<p><a name="installation"></a></p>
<h3>Installation</h3>
<p>Unzip the twitter-status folder into your plugins folder and activate the plugin in your admin cp.<br />
<a name="usage"></a></p>
<h3>Usage</h3>
<p>After installing, edit the author profiles in wp-admin that you would like to assign a Twitter profile to.</p>
<p>You can use the following tags in your templates:</p>
<pre title="code" class="php">
&lt;;?php twitter(&#039;Username&#039;) ?&gt;
</pre>
<pre title="code" class="php">
&lt;?php twitter(&#039;twitter_id=xxxx&#039;) ?&gt;
</pre>
<pre title="code" class="php">
&lt;?php twitter(&#039;user_id=xxxx&#039;) ?&gt;
</pre>
<p>These functions will all echo the current status stored in the Database for the given user.</p>
<p>You can use the following function to get the twitter status DIRECTLY from twitter, but keep in mind that using this will cause a delay in the loadtime of the page;</p>
<pre title="code" class="php">
&lt;?php echo twitter_status_get(&#039;xxx&#039;) ?&gt;
</pre>
<p>For &#8220;xxx&#8221; enter the twitter ID.<br />
<a name="download"></a></p>
<h3>Download</h3>
<p><code>
<ul>
<li><a href="http://naatan.com/wp-content/plugins/download-monitor/download.php?id=7" title="Version 1.0.3b downloaded 9 times" >Twitter Status v1.0.3b (9)</a></li>
<li><a href="http://naatan.com/wp-content/plugins/download-monitor/download.php?id=6" title="Version 1.0.3 downloaded 15 times" >Twitter Status v1.0.3 (15)</a></li>
<li><a href="http://naatan.com/wp-content/plugins/download-monitor/download.php?id=5" title="Version 1.0.2 downloaded 5 times" >Twitter Status v1.0.2 (5)</a></li>
<li><a href="http://naatan.com/wp-content/plugins/download-monitor/download.php?id=3" title="Version 1.0.1 downloaded 14 times" >Twitter Status v1.0.1 (14)</a></li>
<li><a href="http://naatan.com/wp-content/plugins/download-monitor/download.php?id=1" title="Version 1.0 downloaded 20 times" >Twitter Status v1.0 (20)</a></li>
</ul>
<p></code><br />
<a name="changelog"></a></p>
<h3>Changelog</h3>
<ul>
<li><strong>Version 1.0.2 - November 18, 2008</strong>
<ul>
<li>Fixed bug for layouts that don&#8217;t have jquery enabled by default</li>
</ul>
<li><strong>Version 1.0.1 - November 17, 2008</strong>
<ul>
<li>Made WP 2.6 Compatible</li>
</ul>
</li>
<li><strong>Version 1.0 - November 13, 2008</strong>
<ul>
<li>Initial Release</li>
</ul>
</li>
</ul>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://naatan.com/2008/11/twitter_status/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Mounting SSH / FTP for Easy Access</title>
		<link>http://naatan.com/2008/11/mounting-ssh-ftp-for-easy-access/</link>
		<comments>http://naatan.com/2008/11/mounting-ssh-ftp-for-easy-access/#comments</comments>
		<pubDate>Sat, 15 Nov 2008 18:57:51 +0000</pubDate>
		<dc:creator>Naatan</dc:creator>
		
		<category><![CDATA[Troubleshooting]]></category>

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

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

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

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

		<category><![CDATA[mount ftp]]></category>

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

		<guid isPermaLink="false">http://naatan.com/?p=151</guid>
		<description><![CDATA[Having discovered the &#8220;remote files&#8221; feature in Komodo Edit I went on a search for methods to access remote projects through Komodo (as oppose to just one or two files).
Using Ubuntu I came to the solution of using SSHFS, it took me a while to find a good tutorial on how to auto-mount using this [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;"><a href="http://naatan.com/wp-content/uploads/2008/11/folder-remote.png"><img class="size-full wp-image-152 alignright" title="folder-remote" src="http://naatan.com/wp-content/uploads/2008/11/folder-remote.png" alt="folder-remote" width="128" height="128" /></a>Having discovered the &#8220;remote files&#8221; feature in Komodo Edit I went on a search for methods to access remote projects through Komodo (as oppose to just one or two files).</p>
<p style="text-align: justify;">Using Ubuntu I came to the solution of using SSHFS, it took me a while to find a good tutorial on how to auto-mount using this protocol, but in the end I found a blog by <a href="http://www.mccambridge.org/blog" target="_blank">Colin M from The Spark Between</a>&nbsp; on <a href="http://www.mccambridge.org/blog/2007/05/totally-seamless-sshfs-under-linux-using-fuse-and-autofs/" target="_blank">how to auto-mount sshfs on Ubuntu</a>..</p>
<p style="text-align: justify;">Since my wife uses Windows and I don&#8217;t feel comfortable giving her SSH access I searched a bit further and found that there is a build-in feature in Windows that will let you <a href="http://www.freakitude.com/2007/08/05/windows-utility-to-mount-ftp-server-as-local-drive/" target="_blank">mount an FTP server as a network share</a>.</p>
<p style="text-align: justify;">Hope this info can help other people looking for similair solutions <img src='http://naatan.com/wp-content/plugins/smilies-themer/xpressions-yellow/smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://naatan.com/2008/11/mounting-ssh-ftp-for-easy-access/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Multiple spaces in Wordpress posts</title>
		<link>http://naatan.com/2008/11/multiple-spaces-in-wordpress-posts/</link>
		<comments>http://naatan.com/2008/11/multiple-spaces-in-wordpress-posts/#comments</comments>
		<pubDate>Wed, 12 Nov 2008 13:20:00 +0000</pubDate>
		<dc:creator>Naatan</dc:creator>
		
		<category><![CDATA[Wordpress]]></category>

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

		<guid isPermaLink="false">http://naatan.com/?p=76</guid>
		<description><![CDATA[If you&#8217;ve ever tried posting source code on your blog you probably have noticed that Wordpress has the annoying habbit of stripping out multiple spaces out of your post, god knows why.
Anyway, I was not the only one getting annoyed by this and so a plugin already exists to fix this behaviour, only this plugin [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;"><a href="http://naatan.com/wp-content/uploads/2008/11/nbsp.png"><img class="alignright size-full wp-image-78" title="nbsp" src="http://naatan.com/wp-content/uploads/2008/11/nbsp.png" alt="nbsp" width="150" height="75" /></a>If you&#8217;ve ever tried posting source code on your blog you probably have noticed that Wordpress has the <em>annoying habbit</em> of stripping out multiple spaces out of your post, god knows why.</p>
<p style="text-align: justify;">Anyway, I was not the only one getting annoyed by this and so <a href="http://englishmike.net/other-plugins/tinymceentities-plugin/" target="_blank">a plugin already exists</a> to fix this behaviour, only this plugin will make ugly nbsp&#8217;s appear in your post when editing it, to fix this, simply replace line 39 with the following</p>
<pre title="code" class="php">
$text = str_replace(&#039;&amp;amp;amp;nbsp;&#039;,&#039;&amp;nbsp;&#039;,$text); // Allow NBSP&#039;s
</pre>
<p>That&#8217;s it, you should now be able to use multiple spaces in your posts.</p>
]]></content:encoded>
			<wfw:commentRss>http://naatan.com/2008/11/multiple-spaces-in-wordpress-posts/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Adding Smilies to your Wordpress Plugins</title>
		<link>http://naatan.com/2008/11/adding-smilies-to-your-plugins/</link>
		<comments>http://naatan.com/2008/11/adding-smilies-to-your-plugins/#comments</comments>
		<pubDate>Wed, 12 Nov 2008 02:11:00 +0000</pubDate>
		<dc:creator>Naatan</dc:creator>
		
		<category><![CDATA[Snippets]]></category>

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

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

		<guid isPermaLink="false">http://naatan.com/?p=65</guid>
		<description><![CDATA[Whilst monitoring the #wordpress irc channel on irc.freenode.net I came across a question by &#8220;erchik&#8221; asking how to add smilies to his widgets.
After some researching I found this to be quite simple, of course there is unfortunately no global way of doing this for all your widgets at once, since every widget has it&#8217;s own [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-medium wp-image-69" title="wordpress-logo" src="http://naatan.com/wp-content/uploads/2008/11/wordpress-logo-300x282.png" alt="wordpress-logo" width="118" height="111" />Whilst monitoring the <a href="irc://irc.freenode.org/#wordpress">#wordpress</a> irc channel on <a href="irc://irc.freenode.org">irc.freenode.net</a> I came across a question by &#8220;<em>erchik</em>&#8221; asking how to add smilies to his widgets.</p>
<p>After some researching I found this to be quite simple, of course there is unfortunately no global way of doing this for all your widgets at once, since every widget has it&#8217;s own backend, but it&#8217;s quite easy to achieve and is not limited to widgets, you can use it in plugins and templates all the same.</p>
<p>Simply add the following lines to your code right before you are outputting the string that you want to contain smilies</p>
<pre title="code" class="php">

global $wp_smiliessearch, $wp_smiliesreplace;
$content = preg_replace($wp_smiliessearch, $wp_smiliesreplace, $content);
</pre>
<p>Replace <em>$content</em> with the name of your string containing the content.<br />
<span id="more-65"></span></p>
<p>If for whatever reason this does not work for you, try adding the following line before the 2 lines given:</p>
<pre title="code" class="php">

smilies_init();
</pre>
<p>This will populate the smilie replacement vars.</p>
<p>And that&#8217;s it, in this case I was applying it to a widget called <a href="http://www.piepalace.ca/blog/projects/miniposts" target="_blank">MiniPosts (version 0.6.6)</a>, you can get the patch file for it <a href="http://naatan.com/files/patch/miniposts2.php.patch">here</a> (right click &gt; save as).</p>
<p>To apply the patch on a linux box simply execute the following command</p>
<div class="terminal">
patch -i /path/to/miniposts2.php.patch /path/to/miniposts2.php
</div>
<p>Basically what you need to do is add the following 2 lines at line 424 of miniposts2.php</p>
<pre title="code" class="php">

global $wp_smiliessearch, $wp_smiliesreplace;
$text = preg_replace($wp_smiliessearch, $wp_smiliesreplace, $text);
</pre>
<p>I&#8217;d drop the modified miniposts2.php file here but I don&#8217;t feel comfortable posting / hosting somebody elses work, I&#8217;ll contact the author though.</p>
]]></content:encoded>
			<wfw:commentRss>http://naatan.com/2008/11/adding-smilies-to-your-plugins/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
