<?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>OpenSourceEditor</title>
	<atom:link href="http://www.open-source-editor.com/feed" rel="self" type="application/rss+xml" />
	<link>http://www.open-source-editor.com</link>
	<description>Thoughts on software and webservices.</description>
	<lastBuildDate>Tue, 24 Aug 2010 07:53:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Fix Pidgins &#8220;Waiting for network connection&#8221;</title>
		<link>http://www.open-source-editor.com/other-software/fix-pidgins-waiting-for-network-connection.html</link>
		<comments>http://www.open-source-editor.com/other-software/fix-pidgins-waiting-for-network-connection.html#comments</comments>
		<pubDate>Tue, 24 Aug 2010 07:53:07 +0000</pubDate>
		<dc:creator>Mattias Wirf</dc:creator>
				<category><![CDATA[Other software]]></category>
		<category><![CDATA[chat]]></category>
		<category><![CDATA[im client]]></category>
		<category><![CDATA[pidgin]]></category>

		<guid isPermaLink="false">http://www.open-source-editor.com/?p=355</guid>
		<description><![CDATA[I have had some problem with Pidgins &#8220;Waiting for network connection&#8221; (on my Linux-machine). Apparently the problem involved Gnomes NetworkManager. After a lot of searching I found an easy solution that worked for me. I use the -f option when starting Pidgin which tells it to ignore NetworkManager. You can add it in your Shortcut/Launcher [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.open-source-editor.com%2Fother-software%2Ffix-pidgins-waiting-for-network-connection.html"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.open-source-editor.com%2Fother-software%2Ffix-pidgins-waiting-for-network-connection.html&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>I have had some problem with Pidgins &#8220;Waiting for network connection&#8221; (on my Linux-machine). Apparently the problem involved Gnomes NetworkManager. After a lot of searching I found an easy solution that worked for me. I use the -f option when starting Pidgin which tells it to ignore NetworkManager. You can add it in your Shortcut/Launcher if you don&#8217;t want to use commandline. If it doesnt work you might found a solution <a href="http://ubuntuforums.org/showthread.php?t=587907" target="_blank" class="external" title="Pidgin waiting for network connection on Ubuntu Forums">here</a>.</p>
<p>If you are a Windows user I guess that the problem could be related to your networkconnection somehow.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.open-source-editor.com/other-software/fix-pidgins-waiting-for-network-connection.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fix for pgAdmin on Ubuntu 10.04 Lucid Lynx</title>
		<link>http://www.open-source-editor.com/platform/linux/fix-for-pgadmin-on-ubuntu-10-04-lucid-lynx.html</link>
		<comments>http://www.open-source-editor.com/platform/linux/fix-for-pgadmin-on-ubuntu-10-04-lucid-lynx.html#comments</comments>
		<pubDate>Thu, 12 Aug 2010 08:27:51 +0000</pubDate>
		<dc:creator>Mattias Wirf</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[pgAdmin]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[gui]]></category>
		<category><![CDATA[postgresql]]></category>

		<guid isPermaLink="false">http://www.open-source-editor.com/?p=351</guid>
		<description><![CDATA[Today I needed a fix for pgAdmin on Ubuntu 10.04 Lucis Lynx, which is my workstation (pgAdmin is a graphical ui for PostgreSQL database). To my dispair it just closed down when I tried to start it. Luckily I found a solution in this bugreport. I compiled my own and could continue to work. This [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.open-source-editor.com%2Fplatform%2Flinux%2Ffix-for-pgadmin-on-ubuntu-10-04-lucid-lynx.html"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.open-source-editor.com%2Fplatform%2Flinux%2Ffix-for-pgadmin-on-ubuntu-10-04-lucid-lynx.html&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>Today I needed a fix for pgAdmin on Ubuntu 10.04 Lucis Lynx, which is my workstation (pgAdmin is a graphical ui for PostgreSQL database). To my dispair it just closed down when I tried to start it. Luckily I found <a href="https://bugs.launchpad.net/ubuntu/+source/pgadmin3/+bug/610975" rel="nofollow" target="_blank" class="external">a solution in this bugreport</a>. I compiled my own and could continue to work.</p>
<p>This is what I did (note: I don&#8217;t garuantee it will work for you, I am not a software developer).</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #7a0874; font-weight: bold;">source</span> pgadmin3
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> debhelper libpq-dev libwxgtk2.8-dev libxml2-dev libxslt1-dev autotools-dev devscripts
<span style="color: #7a0874; font-weight: bold;">cd</span> pgadmin3-1.10.2
dpkg-buildpackage
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">dpkg</span> <span style="color: #660033;">-i</span> ..<span style="color: #000000; font-weight: bold;">/</span>pgadmin3_1.10.2-<span style="color: #000000;">1</span>_i386.deb</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.open-source-editor.com/platform/linux/fix-for-pgadmin-on-ubuntu-10-04-lucid-lynx.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Easy update to WordPress 3.0.1</title>
		<link>http://www.open-source-editor.com/wordpress/easy-update-to-wordpress-3-0-1.html</link>
		<comments>http://www.open-source-editor.com/wordpress/easy-update-to-wordpress-3-0-1.html#comments</comments>
		<pubDate>Fri, 30 Jul 2010 07:55:20 +0000</pubDate>
		<dc:creator>Mattias Wirf</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[wp]]></category>
		<category><![CDATA[wp-config.php]]></category>

		<guid isPermaLink="false">http://www.open-source-editor.com/?p=347</guid>
		<description><![CDATA[Today I made an easy upgrade to WordPress 3.0.1, automatic and thanks to my great webhost (swedish webhost Binero.se) I can get around the FTP-account form in WordPress. I just set some constants for method and permissions in wp-config.php: 1 2 3 define&#40; 'FS_METHOD', 'direct' &#41;; define&#40; 'FS_CHMOD_DIR', 0755 &#41;; define&#40; 'FS_CHMOD_FILE', 0644 &#41;; How [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.open-source-editor.com%2Fwordpress%2Feasy-update-to-wordpress-3-0-1.html"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.open-source-editor.com%2Fwordpress%2Feasy-update-to-wordpress-3-0-1.html&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>Today I made an easy upgrade to WordPress 3.0.1, automatic and thanks to my great webhost (swedish webhost <a href="http://blogg.binero.se/2010/06/kort-sommartips-till-vara-wordpressanvandare/" target="_blank" class="external" rel="nofollow">Binero.se</a>) I can get around the FTP-account form in WordPress. I just set some constants for method and permissions in wp-config.php:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'FS_METHOD'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'direct'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'FS_CHMOD_DIR'</span><span style="color: #339933;">,</span> <span style="color: #208080;">0755</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'FS_CHMOD_FILE'</span><span style="color: #339933;">,</span> <span style="color: #208080;">0644</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>How easy this made my life, since I tend to lot of Worpress blogs. If you want to learn some great <a href="http://digwp.com/2009/06/wordpress-configuration-tricks/" target="_blank" rel="nofollow" class="external">configuration tips for your wordpressblog check out this article on digwp, theres a lot to do then just easy updates</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.open-source-editor.com/wordpress/easy-update-to-wordpress-3-0-1.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Random Post Box plugin updated</title>
		<link>http://www.open-source-editor.com/wordpress/wordpress-random-post-box-plugin-updated.html</link>
		<comments>http://www.open-source-editor.com/wordpress/wordpress-random-post-box-plugin-updated.html#comments</comments>
		<pubDate>Wed, 28 Jul 2010 08:44:11 +0000</pubDate>
		<dc:creator>Mattias Wirf</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[wordpress-plugin]]></category>
		<category><![CDATA[wp]]></category>

		<guid isPermaLink="false">http://www.open-source-editor.com/?p=343</guid>
		<description><![CDATA[The WordPress Random Post Box plugin is updated to work in WordPress 3.0. You can download the new version 1.0.3 from the plugin directory. The problem and solution It was a simple fix but hard to find. As mentioned by Fabian Anderwald (thanks Fabian) files not loaded within wordpress framework now needs to include the [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.open-source-editor.com%2Fwordpress%2Fwordpress-random-post-box-plugin-updated.html"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.open-source-editor.com%2Fwordpress%2Fwordpress-random-post-box-plugin-updated.html&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>The WordPress <em>Random Post Box</em> plugin is updated to work in WordPress 3.0. You can download the new <a href="http://wordpress.org/extend/plugins/random-post-box/">version 1.0.3 from the plugin directory</a>.</p>
<p><strong>The problem and solution</strong><br />
It was a simple fix but hard to find. As mentioned by <a href="http://www.fabiananderwald.com/wordpress-3-0-avoiding-integration-disaster" rel="nofollow">Fabian Anderwald (thanks Fabian)</a> files not loaded within wordpress framework now needs to include the file wp-load.php instead of wp-blog-header.php, a change in WordPress that might be a problem for all integrating WordPress in other applications. This also affected my ajax-call in Random Post Box plugin. So, if you are a developer and run in to the same proble change this:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">require</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'./wp-blog-header.php'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>To this:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">require</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'./wp-load.php'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>There was also a warning generated from an array, a bug which also had an easy fix.</p>
<p><a href="http://www.open-source-editor.com/wordpress/random-post-box.html">The original post about the plugin &raquo;</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.open-source-editor.com/wordpress/wordpress-random-post-box-plugin-updated.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Find and replace in many files</title>
		<link>http://www.open-source-editor.com/editors/quanta-editors/find-and-replace-in-many-files.html</link>
		<comments>http://www.open-source-editor.com/editors/quanta-editors/find-and-replace-in-many-files.html#comments</comments>
		<pubDate>Sat, 17 Jul 2010 17:03:07 +0000</pubDate>
		<dc:creator>Mattias Wirf</dc:creator>
				<category><![CDATA[Functions]]></category>
		<category><![CDATA[Quanta]]></category>
		<category><![CDATA[find]]></category>
		<category><![CDATA[kwebdev]]></category>
		<category><![CDATA[quanta]]></category>
		<category><![CDATA[replace]]></category>

		<guid isPermaLink="false">http://www.open-source-editor.com/?p=337</guid>
		<description><![CDATA[Today I really needed to find and replace in many files at once, and found this great feature to exists in Quanta. I have actually not seen it before. The menuitem says &#8220;Edit&#8220;->&#8221;Find in files&#8221; so one might think it doesn&#8217;t replace. But it does :) It&#8217;s a part of KWebDev that is named KFileReplace, [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.open-source-editor.com%2Feditors%2Fquanta-editors%2Ffind-and-replace-in-many-files.html"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.open-source-editor.com%2Feditors%2Fquanta-editors%2Ffind-and-replace-in-many-files.html&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>Today I really needed to find and replace in many files at once, and found this great feature to exists in Quanta. I have actually not seen it before. The menuitem says &#8220;<em>Edit</em>&#8220;->&#8221;<em>Find in files</em>&#8221; so one might think it doesn&#8217;t replace. But it does :) It&#8217;s a part of KWebDev that is named <a href="http://kfilereplace.kdewebdev.org/" target="_blank" class="external">KFileReplace</a>, and is also included in Quanta. A function that saved my day.</p>
<div id="attachment_338" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.open-source-editor.com/wp-content/uploads/2010/07/quanta-find-in-files.png" rel="lightbox"><img src="http://www.open-source-editor.com/wp-content/uploads/2010/07/quanta-find-in-files-300x292.png" alt="KFileReplace in Quanta" title="quanta-find-in-files" width="300" height="292" class="size-medium wp-image-338" /></a><p class="wp-caption-text">KFileReplace in Quanta</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.open-source-editor.com/editors/quanta-editors/find-and-replace-in-many-files.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>strtolower and encoding</title>
		<link>http://www.open-source-editor.com/development/php/strtolower-and-encoding.html</link>
		<comments>http://www.open-source-editor.com/development/php/strtolower-and-encoding.html#comments</comments>
		<pubDate>Sat, 10 Jul 2010 09:46:09 +0000</pubDate>
		<dc:creator>Mattias Wirf</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[encoding]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[strtolower]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.open-source-editor.com/?p=335</guid>
		<description><![CDATA[A PHP problem that tends to sneak by is the handling of strtolower and encoding. For a while now I have worked on a project that is partially on a Windows-server, with limited control for us. Sometimes there is trouble when you make comparison of textstrings and want to use strtolower. Since &#8220;Mattias&#8221; and &#8220;mattias&#8221; [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.open-source-editor.com%2Fdevelopment%2Fphp%2Fstrtolower-and-encoding.html"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.open-source-editor.com%2Fdevelopment%2Fphp%2Fstrtolower-and-encoding.html&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>A PHP problem that tends to sneak by is the handling of <a href="http://se2.php.net/manual/en/function.strtolower.php" target="_blank" class="external"><code>strtolower</code></a> and encoding. For a while now I have worked on a project that is partially on a Windows-server, with limited control for us. Sometimes there is trouble when you make comparison of textstrings and want to use strtolower. Since &#8220;Mattias&#8221; and &#8220;mattias&#8221; is not the same thing you want to make both strings lowercse. But  <code>strtolower()</code> don&#8217;t want to play with for example swedish chars<code> "å,ä,ö" in UTF-8. </p>
<p>A solution to this problem can be to change the chars to something else, why not <a href="http://se2.php.net/manual/en/function.htmlentities.php" target="_blank" class="external"><code>htmlentities()</code></a>. You can for example to this to change the value to lowercase and get around encoding problem:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$value</span> <span style="color: #339933;">=</span> <span style="color: #990000;">htmlentities</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$value</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">ENT_COMPAT</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'UTF-8'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$value</span> <span style="color: #339933;">=</span> <span style="color: #990000;">trim</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">strtolower</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$value</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$value</span> <span style="color: #339933;">=</span> <span style="color: #990000;">html_entity_decode</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$value</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">ENT_COMPAT</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'UTF-8'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>Another solutions is to use <a href="http://se2.php.net/manual/en/function.mb-strtolower.php" target="_blank" class="external"><code>mb_strtolower()</code></a> if that function is available (which it isn't on the Windows server in question).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.open-source-editor.com/development/php/strtolower-and-encoding.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Geek dreams &#8211; A world of UTF-8</title>
		<link>http://www.open-source-editor.com/deep-thoughts/geek-dreams-a-world-of-utf-8.html</link>
		<comments>http://www.open-source-editor.com/deep-thoughts/geek-dreams-a-world-of-utf-8.html#comments</comments>
		<pubDate>Mon, 05 Jul 2010 20:25:29 +0000</pubDate>
		<dc:creator>Mattias Wirf</dc:creator>
				<category><![CDATA[Deep thoughts]]></category>
		<category><![CDATA[encoding]]></category>
		<category><![CDATA[translating]]></category>
		<category><![CDATA[utf-8]]></category>

		<guid isPermaLink="false">http://www.open-source-editor.com/?p=331</guid>
		<description><![CDATA[In my geek dreams are a world of UTF-8 (or UTF-16 maybe). Wouldn&#8217;t it be nice to have no more problems with encoding, weird question-marks and characters gone forever. No more problems where the database output sorts Ö before O (ö is the last letter in the Swedish alphabet). Forget ut8_encode and iconv. Such a [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.open-source-editor.com%2Fdeep-thoughts%2Fgeek-dreams-a-world-of-utf-8.html"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.open-source-editor.com%2Fdeep-thoughts%2Fgeek-dreams-a-world-of-utf-8.html&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>In my geek dreams are a world of <a href="http://en.wikipedia.org/wiki/UTF-8" target="_blank" class="external">UTF-8</a> (or <a href="http://en.wikipedia.org/wiki/UTF-16/UCS-2" target="_blank" class="external">UTF-16</a> maybe). Wouldn&#8217;t it be nice to have no more problems with encoding, weird question-marks and characters gone forever. No more problems where the database output sorts Ö before O (ö is the last letter in the Swedish alphabet). Forget ut8_encode and iconv. Such a great place the world could be&#8230;</p>
<p><img src="http://www.open-source-editor.com/wp-content/uploads/2010/07/world-of-utf8.png" alt="" title="world-of-utf8" width="150" height="150" class="aligncenter size-full wp-image-332" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.open-source-editor.com/deep-thoughts/geek-dreams-a-world-of-utf-8.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enabling rewrite in Ubuntu Apache2</title>
		<link>http://www.open-source-editor.com/platform/linux/enabling-rewrite-in-ubuntu-apache2.html</link>
		<comments>http://www.open-source-editor.com/platform/linux/enabling-rewrite-in-ubuntu-apache2.html#comments</comments>
		<pubDate>Wed, 30 Jun 2010 18:12:22 +0000</pubDate>
		<dc:creator>Mattias Wirf</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[apache2]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.open-source-editor.com/?p=328</guid>
		<description><![CDATA[The other day I was pulling my hair trying to enable rewrite in Ubuntus Apache2. Everything was installed via apt-get and I guess you get a bit spoiled when so much just works without the need to touch it ;) So when my .htaccess with rewrite had no effect I though I had syntax errors. [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.open-source-editor.com%2Fplatform%2Flinux%2Fenabling-rewrite-in-ubuntu-apache2.html"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.open-source-editor.com%2Fplatform%2Flinux%2Fenabling-rewrite-in-ubuntu-apache2.html&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>The other day I was pulling my hair trying to enable rewrite in Ubuntus Apache2. Everything was installed via apt-get and I guess you get a bit spoiled when so much just works without the need to touch it ;) So when my .htaccess with rewrite had no effect I though I had syntax errors. Turns out it was this simple (in your terminal):</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> a2enmod rewrite</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.open-source-editor.com/platform/linux/enabling-rewrite-in-ubuntu-apache2.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Translating with PoEdit</title>
		<link>http://www.open-source-editor.com/editors/translating-with-poedit.html</link>
		<comments>http://www.open-source-editor.com/editors/translating-with-poedit.html#comments</comments>
		<pubDate>Thu, 18 Feb 2010 04:39:46 +0000</pubDate>
		<dc:creator>Mattias Wirf</dc:creator>
				<category><![CDATA[Editors]]></category>
		<category><![CDATA[poEdit]]></category>
		<category><![CDATA[gnu]]></category>
		<category><![CDATA[language]]></category>
		<category><![CDATA[multilingual]]></category>
		<category><![CDATA[translating]]></category>

		<guid isPermaLink="false">http://www.open-source-editor.com/?p=305</guid>
		<description><![CDATA[Is your favorite application possible to translate? If the developers used the GNU gettext library, yes, with poEdit or similar editor. WordPress is an example. To translate you do not have to be able to code, but of course you have to know the language well. So dont be afraid to try! :) Step 1, [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.open-source-editor.com%2Feditors%2Ftranslating-with-poedit.html"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.open-source-editor.com%2Feditors%2Ftranslating-with-poedit.html&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>Is your favorite application possible to translate? If the developers used the GNU <a href="http://se2.php.net/manual/en/ref.gettext.php" target="_blank" class="external">gettext</a> library, yes, with <a href="http://www.poedit.net/" target="_blank" class="external">poEdit</a> or similar editor. WordPress is an example.</p>
<p>To translate you <strong>do not have to be able to code</strong>, but of course you have to know the language well. So dont be afraid to try! :) </p>
<p><strong>Step 1, the POT</strong><br />
This is a step which should already have been taken care of by the developer. poEdit scans the files in a catalog for translatable strings to <a href="http://codex.wordpress.org/User:Skippy/Creating_POT_Files" target="_blank" rel="external">create a file named .pot</a> (<em>Portable Object Template</em>). If there is a .pot-file, use it to create a .po for your language. </p>
<p><strong>Step 2, the PO</strong><br />
The .po-file (<em>Portable Object</em>) is the one you will work with, it contains the strings and values for the translation. The naming of files can be different between projects. For example, a common way to make a swedish translation: choose to open the POT and generate a .po-file, save as <code>sv_SE.po</code> for the swedish language.</p>
<p><strong>Step 3, the MO</strong><br />
When you translate the strings you have the original text to the left, and the translation to the right. Mark the word you want to translate and fill in the form at the bottom. Each time the file is saved, a .mo (<em>Machine Object</em>) file is generated. It is this file the webbapplication will use.</p>
<div align="center"><a href="http://www.open-source-editor.com/wp-content/uploads/2010/02/poedit.png" rel="lightbox"><img src="http://www.open-source-editor.com/wp-content/uploads/2010/02/poedit-300x193.png" alt="Translating with poEdit" title="poedit" width="300" height="193" class="aligncenter size-medium wp-image-313" /></a></div>
<div style="background: #ffc; padding: 5px; margin: 10px auto;">
The reason I write this post is to make people understand that to translate applications using this technique, you don&#8217;t have to know how to code. Does your favorite application miss translation for your language? If it supports gettext, all you need is poEdit and the .po(t)-file. What are you waiting for? ;) </div>
<p>Some more reading on this subject:</p>
<ul>
<li><a href="http://codex.wordpress.org/Translating_WordPress">Translating WordPress</a></li>
<li><a href="http://urbangiraffe.com/articles/translating-wordpress-themes-and-plugins/">Translating WordPress plugins and themes</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.open-source-editor.com/editors/translating-with-poedit.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>First submit to WordPress plugin database</title>
		<link>http://www.open-source-editor.com/wordpress/plugin/first-submit-to-wordpress-plugin-database.html</link>
		<comments>http://www.open-source-editor.com/wordpress/plugin/first-submit-to-wordpress-plugin-database.html#comments</comments>
		<pubDate>Sat, 13 Feb 2010 07:57:47 +0000</pubDate>
		<dc:creator>Mattias Wirf</dc:creator>
				<category><![CDATA[Plugin]]></category>
		<category><![CDATA[retrocamera]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[woordpress-plugin]]></category>

		<guid isPermaLink="false">http://www.open-source-editor.com/?p=299</guid>
		<description><![CDATA[I have made the first submit to WordPress plugin database with my Random Post Box plugin. It&#8217;s nice to see that they are using Subversion, my favorite versioning-system :) If you want to see an example of the plugin in use, check out below the first post on Retrocamera.net.]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.open-source-editor.com%2Fwordpress%2Fplugin%2Ffirst-submit-to-wordpress-plugin-database.html"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.open-source-editor.com%2Fwordpress%2Fplugin%2Ffirst-submit-to-wordpress-plugin-database.html&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>I have made the first submit to WordPress plugin database with my <a href="http://wordpress.org/extend/plugins/random-post-box/" target="_blank" class="external">Random Post Box plugin</a>. It&#8217;s nice to see that they are using Subversion, my favorite versioning-system :) </p>
<p>If you want to see an example of the plugin in use, check out below the first post on <a href="http://www.retrocamera.net" rel="me" target="_blank" class="external">Retrocamera.net</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.open-source-editor.com/wordpress/plugin/first-submit-to-wordpress-plugin-database.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
