<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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>Comments for soderlind.no</title>
	<atom:link href="http://soderlind.no/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://soderlind.no</link>
	<description>I code for fun</description>
	<lastBuildDate>Thu, 10 May 2012 09:26:20 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>Comment on WordPress plugin template by Alexandre P</title>
		<link>http://soderlind.no/archives/2010/03/04/wordpress-plugin-template/#comment-209039</link>
		<dc:creator>Alexandre P</dc:creator>
		<pubDate>Thu, 10 May 2012 09:26:20 +0000</pubDate>
		<guid isPermaLink="false">http://soderlind.no/?p=873#comment-209039</guid>
		<description>Great, thanks a lot!

Another idea: alongside the widget and the shortcode, maybe add the basic function that enables template tags ?

Super useful work you&#039;ve done.</description>
		<content:encoded><![CDATA[<p>Great, thanks a lot!</p>
<p>Another idea: alongside the widget and the shortcode, maybe add the basic function that enables template tags ?</p>
<p>Super useful work you&#8217;ve done.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on WordPress plugin template by PerS</title>
		<link>http://soderlind.no/archives/2010/03/04/wordpress-plugin-template/#comment-209038</link>
		<dc:creator>PerS</dc:creator>
		<pubDate>Thu, 10 May 2012 09:01:08 +0000</pubDate>
		<guid isPermaLink="false">http://soderlind.no/?p=873#comment-209038</guid>
		<description>Thank you Alexandre for pointing out this bug. I&#039;ve updated the code generator and the article above with your suggestion:
[php]

$mo = plugin_dir_path(__FILE__) . &#039;languages/&#039; . $this-&gt;localizationDomain . &#039;-&#039; . $locale . &#039;.mo&#039;;

[/php]</description>
		<content:encoded><![CDATA[<p>Thank you Alexandre for pointing out this bug. I&#8217;ve updated the code generator and the article above with your suggestion:</p>
<pre class="brush: php; title: ; notranslate">

$mo = plugin_dir_path(__FILE__) . 'languages/' . $this-&gt;localizationDomain . '-' . $locale . '.mo';
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on WordPress plugin template by Alexandre P</title>
		<link>http://soderlind.no/archives/2010/03/04/wordpress-plugin-template/#comment-209037</link>
		<dc:creator>Alexandre P</dc:creator>
		<pubDate>Thu, 10 May 2012 06:07:33 +0000</pubDate>
		<guid isPermaLink="false">http://soderlind.no/?p=873#comment-209037</guid>
		<description>Is your plugin in /wp-content/plugins/NN or do you use a custom path?
&gt; Yes.

Do you have the error log ? That is, where is my routine pointing compared to where the plugin really is ?
&gt; Unfortunately not. It does not produce an error apart from the fact that the .mo file was not loaded.</description>
		<content:encoded><![CDATA[<p>Is your plugin in /wp-content/plugins/NN or do you use a custom path?<br />
&gt; Yes.</p>
<p>Do you have the error log ? That is, where is my routine pointing compared to where the plugin really is ?<br />
&gt; Unfortunately not. It does not produce an error apart from the fact that the .mo file was not loaded.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on SharePoint 2010: Customize out of the box Application Pages (AccessDenied, Confirmation, Error, Login, RequestAccess, Signout, WebDeleted ) by Customize the Access Denied Page « SharePoint Diva</title>
		<link>http://soderlind.no/archives/2010/05/26/customize-out-of-the-box-application-pages-accessdenied-confirmation-error-login-requestaccess-signout-webdeleted/#comment-209036</link>
		<dc:creator>Customize the Access Denied Page « SharePoint Diva</dc:creator>
		<pubDate>Wed, 09 May 2012 22:49:17 +0000</pubDate>
		<guid isPermaLink="false">http://soderlind.no/?p=981#comment-209036</guid>
		<description>[...] (How to create custom SharePoint 2010 Application Page using Visual Studio 2010) and Soderlind (SharePoint 2010: Customize out of the box Application Pages (AccessDenied, Confirmation, Error, Logi...) and a co-worker who helped with the CSS portion. This was developed on a Development Server (that [...]</description>
		<content:encoded><![CDATA[<p>[...] (How to create custom SharePoint 2010 Application Page using Visual Studio 2010) and Soderlind (SharePoint 2010: Customize out of the box Application Pages (AccessDenied, Confirmation, Error, Logi&#8230;) and a co-worker who helped with the CSS portion. This was developed on a Development Server (that [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on WordPress plugin template by PerS</title>
		<link>http://soderlind.no/archives/2010/03/04/wordpress-plugin-template/#comment-209035</link>
		<dc:creator>PerS</dc:creator>
		<pubDate>Wed, 09 May 2012 21:36:18 +0000</pubDate>
		<guid isPermaLink="false">http://soderlind.no/?p=873#comment-209035</guid>
		<description>Interesting. Is your plugin in /wp-content/plugins/NN or do you use a custom path?

Do you have the error log ? That is, where is my routine pointing compared to where the plugin really is ?

I really like to know so I can understand why this bug happens :)</description>
		<content:encoded><![CDATA[<p>Interesting. Is your plugin in /wp-content/plugins/NN or do you use a custom path?</p>
<p>Do you have the error log ? That is, where is my routine pointing compared to where the plugin really is ?</p>
<p>I really like to know so I can understand why this bug happens <img src='http://soderlind.no/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on WordPress plugin template by Alexandre P</title>
		<link>http://soderlind.no/archives/2010/03/04/wordpress-plugin-template/#comment-209034</link>
		<dc:creator>Alexandre P</dc:creator>
		<pubDate>Wed, 09 May 2012 21:09:19 +0000</pubDate>
		<guid isPermaLink="false">http://soderlind.no/?p=873#comment-209034</guid>
		<description>Well, that bit of code generated by your script did not work for me and that is how i fixed it. 

Another issue comes up with the translation. I put my languages files in a &quot;languages&quot; folder inside the plugin&#039;s folder.
This is how i managed to have it work:


$locale = get_locale();
$mo=  plugin_dir_path(__FILE__).&#039;languages/&#039;.$this-&gt;localizationDomain . &quot;-&quot;.$locale.&quot;.mo&quot;;
load_textdomain($this-&gt;localizationDomain, $mo);



so: not the plugin_url, but the plugin_dir_path.

Thank you!
a.</description>
		<content:encoded><![CDATA[<p>Well, that bit of code generated by your script did not work for me and that is how i fixed it. </p>
<p>Another issue comes up with the translation. I put my languages files in a &#8220;languages&#8221; folder inside the plugin&#8217;s folder.<br />
This is how i managed to have it work:</p>
<p>$locale = get_locale();<br />
$mo=  plugin_dir_path(__FILE__).&#8217;languages/&#8217;.$this-&gt;localizationDomain . &#8220;-&#8221;.$locale.&#8221;.mo&#8221;;<br />
load_textdomain($this-&gt;localizationDomain, $mo);</p>
<p>so: not the plugin_url, but the plugin_dir_path.</p>
<p>Thank you!<br />
a.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on WordPress plugin template by PerS</title>
		<link>http://soderlind.no/archives/2010/03/04/wordpress-plugin-template/#comment-209033</link>
		<dc:creator>PerS</dc:creator>
		<pubDate>Wed, 09 May 2012 20:27:41 +0000</pubDate>
		<guid isPermaLink="false">http://soderlind.no/?p=873#comment-209033</guid>
		<description>Nah .. this is what plugins_url() &lt;a href=&quot;http://core.trac.wordpress.org/browser/tags/3.3.2/wp-includes/link-template.php#L2016&quot; rel=&quot;nofollow&quot;&gt;does&lt;/a&gt;, and it also finds the url path when a plugin is in WPMU_PLUGIN_URL. 

I&#039;m a big fan of using core WordPress functions when possible :)</description>
		<content:encoded><![CDATA[<p>Nah .. this is what plugins_url() <a href="http://core.trac.wordpress.org/browser/tags/3.3.2/wp-includes/link-template.php#L2016" rel="nofollow">does</a>, and it also finds the url path when a plugin is in WPMU_PLUGIN_URL. </p>
<p>I&#8217;m a big fan of using core WordPress functions when possible <img src='http://soderlind.no/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on WordPress plugin template by Alexandre P</title>
		<link>http://soderlind.no/archives/2010/03/04/wordpress-plugin-template/#comment-209030</link>
		<dc:creator>Alexandre P</dc:creator>
		<pubDate>Wed, 09 May 2012 18:17:07 +0000</pubDate>
		<guid isPermaLink="false">http://soderlind.no/?p=873#comment-209030</guid>
		<description>hi, and thanks!

Slight improvement:
[php]
$this-&gt;pluginPath   =  dirname(__FILE__);
$this-&gt;pluginUrl   =  WP_PLUGIN_URL . &#039;/&#039;.basename($this-&gt;pluginPath);
[/php]`</description>
		<content:encoded><![CDATA[<p>hi, and thanks!</p>
<p>Slight improvement:</p>
<pre class="brush: php; title: ; notranslate">
$this-&gt;pluginPath   =  dirname(__FILE__);
$this-&gt;pluginUrl   =  WP_PLUGIN_URL . '/'.basename($this-&gt;pluginPath);
</pre>
<p>`</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Date and Time Picker field for Advanced Custom Fields by PerS</title>
		<link>http://soderlind.no/archives/2012/03/09/time-picker-field-for-advanced-custom-fields/#comment-209027</link>
		<dc:creator>PerS</dc:creator>
		<pubDate>Tue, 08 May 2012 00:24:13 +0000</pubDate>
		<guid isPermaLink="false">http://soderlind.no/?p=3213#comment-209027</guid>
		<description>Eh .. I was a bit quick. According to the &lt;a href=&quot;http://codex.wordpress.org/Function_Reference/wp_enqueue_script#Parameters&quot; rel=&quot;nofollow&quot;&gt;wp_enqueue_script() documentation&lt;/a&gt;, the $src parameter should &quot;use plugins_url() (for Plugins) and get_template_directory_uri() (for Themes) to get a proper URL&quot;.

I&#039;m open to reconsider, but then your argument, with example code, must be good ;)</description>
		<content:encoded><![CDATA[<p>Eh .. I was a bit quick. According to the <a href="http://codex.wordpress.org/Function_Reference/wp_enqueue_script#Parameters" rel="nofollow">wp_enqueue_script() documentation</a>, the $src parameter should &#8220;use plugins_url() (for Plugins) and get_template_directory_uri() (for Themes) to get a proper URL&#8221;.</p>
<p>I&#8217;m open to reconsider, but then your argument, with example code, must be good <img src='http://soderlind.no/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Date and Time Picker field for Advanced Custom Fields by PerS</title>
		<link>http://soderlind.no/archives/2012/03/09/time-picker-field-for-advanced-custom-fields/#comment-209026</link>
		<dc:creator>PerS</dc:creator>
		<pubDate>Mon, 07 May 2012 23:10:22 +0000</pubDate>
		<guid isPermaLink="false">http://soderlind.no/?p=3213#comment-209026</guid>
		<description>The latest version, supporting localization, is available (got some spare time). Please test</description>
		<content:encoded><![CDATA[<p>The latest version, supporting localization, is available (got some spare time). Please test</p>
]]></content:encoded>
	</item>
</channel>
</rss>

