<?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 Paul Bain</title>
	<atom:link href="http://www.paulbain.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.paulbain.com</link>
	<description>PHP Software Engineer</description>
	<lastBuildDate>Tue, 08 Nov 2011 15:09:43 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Comment on Inserting Default Content into the WordPress Visual Editor by Paul</title>
		<link>http://www.paulbain.com/2009/10/08/inserting-default-content-into-wordpress-visual-editor/comment-page-1/#comment-3060</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Tue, 08 Nov 2011 15:09:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.paulbain.com/?p=112#comment-3060</guid>
		<description>Ah ok, that makes sense.

I think you may want to use something like:
&lt;pre lang=&quot;PHP&quot;&gt;
add_filter( &#039;default_content&#039;, &#039;my_editor_content&#039; );
function my_editor_content( $content) {
    global $post_type;
    if($post_type==&#039;myposttype&#039;){
        $content .= &quot;If you enjoyed this post, make sure to subscribe to my rss feed.&quot;;
    }
    return $content;
}
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Ah ok, that makes sense.</p>
<p>I think you may want to use something like:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">add_filter<span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'default_content'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'my_editor_content'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">function</span> my_editor_content<span style="color: #009900;">&#40;</span> <span style="color: #000088;">$content</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #000000; font-weight: bold;">global</span> <span style="color: #000088;">$post_type</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$post_type</span><span style="color: #339933;">==</span><span style="color: #0000ff;">'myposttype'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
        <span style="color: #000088;">$content</span> <span style="color: #339933;">.=</span> <span style="color: #0000ff;">&quot;If you enjoyed this post, make sure to subscribe to my rss feed.&quot;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
    <span style="color: #b1b100;">return</span> <span style="color: #000088;">$content</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

]]></content:encoded>
	</item>
	<item>
		<title>Comment on Inserting Default Content into the WordPress Visual Editor by Michael Carter</title>
		<link>http://www.paulbain.com/2009/10/08/inserting-default-content-into-wordpress-visual-editor/comment-page-1/#comment-3059</link>
		<dc:creator>Michael Carter</dc:creator>
		<pubDate>Tue, 08 Nov 2011 12:41:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.paulbain.com/?p=112#comment-3059</guid>
		<description>Hi Paul, thanks for the reply. I didn&#039;t explain very well. I have a custom post type called &quot;Recipes&quot; in which I&#039;ve a number of custom fields and a few taxonomy check boxes for user entry (cook time, directions, etc.). I want to keep the user from entering information into the usual text area, so would like to put a &quot;Enter no information here. Please use the entry sections at the bottom&quot; message IN the text box. 

To keep MY message from showing on the front end, I&#039;ll have to remove the_content from the loop, I think. And I only want this set up on the one custom post type. I&#039;ve racked my php-starved brain and can&#039;t figure it out.

Thanks, Mike</description>
		<content:encoded><![CDATA[<p>Hi Paul, thanks for the reply. I didn&#8217;t explain very well. I have a custom post type called &#8220;Recipes&#8221; in which I&#8217;ve a number of custom fields and a few taxonomy check boxes for user entry (cook time, directions, etc.). I want to keep the user from entering information into the usual text area, so would like to put a &#8220;Enter no information here. Please use the entry sections at the bottom&#8221; message IN the text box. </p>
<p>To keep MY message from showing on the front end, I&#8217;ll have to remove the_content from the loop, I think. And I only want this set up on the one custom post type. I&#8217;ve racked my php-starved brain and can&#8217;t figure it out.</p>
<p>Thanks, Mike</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Nokia 6600, 6600i and 3600 iSync Plugins by Paul</title>
		<link>http://www.paulbain.com/2008/11/05/nokia-6600-slide-isync-plugin/comment-page-5/#comment-3058</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Tue, 08 Nov 2011 10:59:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.paulbain.co.uk/?p=269#comment-3058</guid>
		<description>Hi Niels,

Unfortunately I don&#039;t have a Nokia phone anymore to test the plugin :(

Paul</description>
		<content:encoded><![CDATA[<p>Hi Niels,</p>
<p>Unfortunately I don&#8217;t have a Nokia phone anymore to test the plugin <img src='http://www.paulbain.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>Paul</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Inserting Default Content into the WordPress Visual Editor by Paul</title>
		<link>http://www.paulbain.com/2009/10/08/inserting-default-content-into-wordpress-visual-editor/comment-page-1/#comment-3057</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Tue, 08 Nov 2011 10:42:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.paulbain.com/?p=112#comment-3057</guid>
		<description>Hi Mike, 

The is_singular function is used when the content is being displayed on the front-end of WordPress, whereas the function above adds default content into the post editor in wp-admin.

If you want to conditionally add the same text to the bottom of a post you&#039;ll probably have to edit your theme. I believe the default theme has a file called loop-single.php which you could probably just add the info too after the function the_content();

Paul</description>
		<content:encoded><![CDATA[<p>Hi Mike, </p>
<p>The is_singular function is used when the content is being displayed on the front-end of WordPress, whereas the function above adds default content into the post editor in wp-admin.</p>
<p>If you want to conditionally add the same text to the bottom of a post you&#8217;ll probably have to edit your theme. I believe the default theme has a file called loop-single.php which you could probably just add the info too after the function the_content();</p>
<p>Paul</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Nokia 6600, 6600i and 3600 iSync Plugins by niels</title>
		<link>http://www.paulbain.com/2008/11/05/nokia-6600-slide-isync-plugin/comment-page-5/#comment-3051</link>
		<dc:creator>niels</dc:creator>
		<pubDate>Mon, 07 Nov 2011 21:37:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.paulbain.co.uk/?p=269#comment-3051</guid>
		<description>Hello Paul,

I have a nokia 6600i slide and I installed your plugin and added the device but the synchronization keeps on failing:

Monday, November 7, 2011 10:34 PM
 [Nokia 6600i slide] Device is not available or synchronization was canceled. Close dialogs and applications on the phone and try again.
 Device “Nokia 6600i slide” synchronization failed.

Do you have any idea how to solve this problem?

Kind Regards,

Niels</description>
		<content:encoded><![CDATA[<p>Hello Paul,</p>
<p>I have a nokia 6600i slide and I installed your plugin and added the device but the synchronization keeps on failing:</p>
<p>Monday, November 7, 2011 10:34 PM<br />
 [Nokia 6600i slide] Device is not available or synchronization was canceled. Close dialogs and applications on the phone and try again.<br />
 Device “Nokia 6600i slide” synchronization failed.</p>
<p>Do you have any idea how to solve this problem?</p>
<p>Kind Regards,</p>
<p>Niels</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Inserting Default Content into the WordPress Visual Editor by Michael Carter</title>
		<link>http://www.paulbain.com/2009/10/08/inserting-default-content-into-wordpress-visual-editor/comment-page-1/#comment-3050</link>
		<dc:creator>Michael Carter</dc:creator>
		<pubDate>Mon, 07 Nov 2011 19:55:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.paulbain.com/?p=112#comment-3050</guid>
		<description>Hi Paul --
Hi -- this is perfect. But need one tweak. How can this be applied to one type of post only or even to a certain post?
I&#039;m not well-versed in php but tried the following:

add_filter( &#039;default_content&#039;, &#039;my_editor_content&#039; );

function my_editor_content( $content ) {
if ( is_singular( &#039;mycustompost&#039; )) {
$content = &quot;This is some custom content I&#039;m adding to the post editor because I hate re-typing it.&quot;;
return $content;
}
}

I don&#039;t get an error. It simply doesn&#039;t work. Is there a way to apply such a conditional to the function? Or, does a function do its thing with no respect to conditions?

Thanks -- Mike</description>
		<content:encoded><![CDATA[<p>Hi Paul &#8211;<br />
Hi &#8212; this is perfect. But need one tweak. How can this be applied to one type of post only or even to a certain post?<br />
I&#8217;m not well-versed in php but tried the following:</p>
<p>add_filter( &#8216;default_content&#8217;, &#8216;my_editor_content&#8217; );</p>
<p>function my_editor_content( $content ) {<br />
if ( is_singular( &#8216;mycustompost&#8217; )) {<br />
$content = &#8220;This is some custom content I&#8217;m adding to the post editor because I hate re-typing it.&#8221;;<br />
return $content;<br />
}<br />
}</p>
<p>I don&#8217;t get an error. It simply doesn&#8217;t work. Is there a way to apply such a conditional to the function? Or, does a function do its thing with no respect to conditions?</p>
<p>Thanks &#8212; Mike</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Nokia 6600, 6600i and 3600 iSync Plugins by Edward dePass</title>
		<link>http://www.paulbain.com/2008/11/05/nokia-6600-slide-isync-plugin/comment-page-5/#comment-3041</link>
		<dc:creator>Edward dePass</dc:creator>
		<pubDate>Sun, 06 Nov 2011 22:29:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.paulbain.co.uk/?p=269#comment-3041</guid>
		<description>Thanks a million, took me 15 minutes to find the plugin and 2 minutes to do the work!</description>
		<content:encoded><![CDATA[<p>Thanks a million, took me 15 minutes to find the plugin and 2 minutes to do the work!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Nokia 6600, 6600i and 3600 iSync Plugins by ilgaz@fastmail.fm</title>
		<link>http://www.paulbain.com/2008/11/05/nokia-6600-slide-isync-plugin/comment-page-5/#comment-2906</link>
		<dc:creator>ilgaz@fastmail.fm</dc:creator>
		<pubDate>Fri, 21 Oct 2011 15:32:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.paulbain.co.uk/?p=269#comment-2906</guid>
		<description>Post dated year 2008 and there is still no isync support to 3600 Slide from Nokia. Kinda shows everything wrong with the company.
Worked perfectly BTW. Thanks!</description>
		<content:encoded><![CDATA[<p>Post dated year 2008 and there is still no isync support to 3600 Slide from Nokia. Kinda shows everything wrong with the company.<br />
Worked perfectly BTW. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Nokia 6600, 6600i and 3600 iSync Plugins by so greatful</title>
		<link>http://www.paulbain.com/2008/11/05/nokia-6600-slide-isync-plugin/comment-page-5/#comment-2765</link>
		<dc:creator>so greatful</dc:creator>
		<pubDate>Sat, 08 Oct 2011 20:43:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.paulbain.co.uk/?p=269#comment-2765</guid>
		<description>THANK YOU!!! Genious. Really. I normally hate this stuff (phones; computers; stupid screens in general). Got furious when iSync didn´t sync with the phone i changed to. But now it seems like i have all my contacts on it thanks to you!!! God bless the work of your hands, man!</description>
		<content:encoded><![CDATA[<p>THANK YOU!!! Genious. Really. I normally hate this stuff (phones; computers; stupid screens in general). Got furious when iSync didn´t sync with the phone i changed to. But now it seems like i have all my contacts on it thanks to you!!! God bless the work of your hands, man!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Nokia 6600, 6600i and 3600 iSync Plugins by Kamal El Mallakh</title>
		<link>http://www.paulbain.com/2008/11/05/nokia-6600-slide-isync-plugin/comment-page-5/#comment-2669</link>
		<dc:creator>Kamal El Mallakh</dc:creator>
		<pubDate>Tue, 23 Aug 2011 11:17:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.paulbain.co.uk/?p=269#comment-2669</guid>
		<description>i have the 3600 slide, I&#039;ve just tried the isync plugin on my mac and it worked,,, thanks man,,,</description>
		<content:encoded><![CDATA[<p>i have the 3600 slide, I&#8217;ve just tried the isync plugin on my mac and it worked,,, thanks man,,,</p>
]]></content:encoded>
	</item>
</channel>
</rss>

