<?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"
	>
<channel>
	<title>Comments on: Post to WordPress or b2 from FeedDemon</title>
	<atom:link href="http://weblogtoolscollection.com/archives/2003/10/30/post-to-wordpress-or-b2-from-feeddemon/feed/" rel="self" type="application/rss+xml" />
	<link>http://weblogtoolscollection.com/archives/2003/10/30/post-to-wordpress-or-b2-from-feeddemon/</link>
	<description>Weblog Tools Blogging Tools Blog</description>
	<pubDate>Tue, 06 Jan 2009 15:38:31 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.5</generator>
		<item>
		<title>By: honfrek</title>
		<link>http://weblogtoolscollection.com/archives/2003/10/30/post-to-wordpress-or-b2-from-feeddemon/#comment-219</link>
		<dc:creator>honfrek</dc:creator>
		<pubDate>Fri, 26 Mar 2004 12:39:22 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/archives/2003/10/30/post-to-wordpress-or-b2-from-feeddemon/#comment-219</guid>
		<description>I tried this hack with wp 1.0.2, but it didn't work right. i had the same problem as with wp-mail.php : the category couldn't be updated in table wp_post2cat.

i postet my solution regarding wp-mail.php &lt;a href="http://wordpress.org/support/3/2669"&gt;here&lt;/a&gt;

looking at your hack, i realized that the code-part for updating 
table wp_post2cat was missing in your new case 'postbyfeeddemon'.

solution: insert this part (or copy it from case 'post'):

&lt;code&gt; if (!$post_categories) $post_categories[] = 1;
		foreach ($post_categories as $post_category) {
			// Double check it's not there already
			$exists = $wpdb-&gt;get_row("SELECT * FROM $tablepost2cat WHERE post_id = $post_ID AND category_id = $post_category");

			 if (!$exists &#038;&#038; $result) { 
			 	$wpdb-&gt;query("
				INSERT INTO $tablepost2cat
				(post_id, category_id)
				VALUES
				($post_ID, $post_category)
				");
			}
		}
&lt;/code&gt;

between this line:

&lt;code&gt;$post_ID = $wpdb-&gt;get_var("SELECT ID FROM $tableposts ORDER BY ID DESC LIMIT 1");&lt;/code&gt;

and this line:

&lt;code&gt;if (isset($sleep_after_edit) &#038;&#038; $sleep_after_edit &gt; 0) {&lt;/code&gt;

and table wp_post2cat will be updatet on rss-posts.</description>
		<content:encoded><![CDATA[<p>I tried this hack with wp 1.0.2, but it didn&#8217;t work right. i had the same problem as with wp-mail.php : the category couldn&#8217;t be updated in table wp_post2cat.</p>
<p>i postet my solution regarding wp-mail.php <a href="http://wordpress.org/support/3/2669">here</a></p>
<p>looking at your hack, i realized that the code-part for updating<br />
table wp_post2cat was missing in your new case &#8216;postbyfeeddemon&#8217;.</p>
<p>solution: insert this part (or copy it from case &#8216;post&#8217;):</p>
<p><code> if (!$post_categories) $post_categories[] = 1;<br />
		foreach ($post_categories as $post_category) {<br />
			// Double check it&#8217;s not there already<br />
			$exists = $wpdb->get_row(&#8221;SELECT * FROM $tablepost2cat WHERE post_id = $post_ID AND category_id = $post_category&#8221;);</p>
<p>			 if (!$exists &#038;&#038; $result) {<br />
			 	$wpdb->query(&#8221;<br />
				INSERT INTO $tablepost2cat<br />
				(post_id, category_id)<br />
				VALUES<br />
				($post_ID, $post_category)<br />
				&#8220;);<br />
			}<br />
		}<br />
</code></p>
<p>between this line:</p>
<p><code>$post_ID = $wpdb->get_var("SELECT ID FROM $tableposts ORDER BY ID DESC LIMIT 1");</code></p>
<p>and this line:</p>
<p><code>if (isset($sleep_after_edit) &#038;&#038; $sleep_after_edit > 0) {</code></p>
<p>and table wp_post2cat will be updatet on rss-posts.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://weblogtoolscollection.com/archives/2003/10/30/post-to-wordpress-or-b2-from-feeddemon/#comment-128</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Sun, 01 Feb 2004 13:54:54 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/archives/2003/10/30/post-to-wordpress-or-b2-from-feeddemon/#comment-128</guid>
		<description>Look for post.php inside your wp-admin folder. Also, I have heard that this hack does not work in FeedDemon 1.0. You could try it anyways.</description>
		<content:encoded><![CDATA[<p>Look for post.php inside your wp-admin folder. Also, I have heard that this hack does not work in FeedDemon 1.0. You could try it anyways.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dario</title>
		<link>http://weblogtoolscollection.com/archives/2003/10/30/post-to-wordpress-or-b2-from-feeddemon/#comment-125</link>
		<dc:creator>dario</dc:creator>
		<pubDate>Sat, 31 Jan 2004 21:52:31 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/archives/2003/10/30/post-to-wordpress-or-b2-from-feeddemon/#comment-125</guid>
		<description>Hi,
I am using WordPress 1.0.1, but there is no b2edit.php
Where am I supposed to apply the hack?

Please let me know.

Thanks a lot in advance.

Dario</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I am using WordPress 1.0.1, but there is no b2edit.php<br />
Where am I supposed to apply the hack?</p>
<p>Please let me know.</p>
<p>Thanks a lot in advance.</p>
<p>Dario</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Blangstrup</title>
		<link>http://weblogtoolscollection.com/archives/2003/10/30/post-to-wordpress-or-b2-from-feeddemon/#comment-728</link>
		<dc:creator>David Blangstrup</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/archives/2003/10/30/post-to-wordpress-or-b2-from-feeddemon/#comment-728</guid>
		<description>Could you please update this hack to WordPress 1.2 Mingus? Please? ;-)</description>
		<content:encoded><![CDATA[<p>Could you please update this hack to WordPress 1.2 Mingus? Please? <img src='http://weblogtoolscollection.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://weblogtoolscollection.com/archives/2003/10/30/post-to-wordpress-or-b2-from-feeddemon/#comment-729</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/archives/2003/10/30/post-to-wordpress-or-b2-from-feeddemon/#comment-729</guid>
		<description>I will look into that this weekend.</description>
		<content:encoded><![CDATA[<p>I will look into that this weekend.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Blangstrup</title>
		<link>http://weblogtoolscollection.com/archives/2003/10/30/post-to-wordpress-or-b2-from-feeddemon/#comment-732</link>
		<dc:creator>David Blangstrup</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/archives/2003/10/30/post-to-wordpress-or-b2-from-feeddemon/#comment-732</guid>
		<description>Ah, thanks! :-)</description>
		<content:encoded><![CDATA[<p>Ah, thanks! <img src='http://weblogtoolscollection.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Blangstrup</title>
		<link>http://weblogtoolscollection.com/archives/2003/10/30/post-to-wordpress-or-b2-from-feeddemon/#comment-740</link>
		<dc:creator>David Blangstrup</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/archives/2003/10/30/post-to-wordpress-or-b2-from-feeddemon/#comment-740</guid>
		<description>We are eagerly awaiting your statement, oh master! ;-) :D</description>
		<content:encoded><![CDATA[<p>We are eagerly awaiting your statement, oh master! <img src='http://weblogtoolscollection.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> <img src='http://weblogtoolscollection.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Blangstrup</title>
		<link>http://weblogtoolscollection.com/archives/2003/10/30/post-to-wordpress-or-b2-from-feeddemon/#comment-765</link>
		<dc:creator>David Blangstrup</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/archives/2003/10/30/post-to-wordpress-or-b2-from-feeddemon/#comment-765</guid>
		<description>Pleeeeeeeease! ;-)</description>
		<content:encoded><![CDATA[<p>Pleeeeeeeease! <img src='http://weblogtoolscollection.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: numele</title>
		<link>http://weblogtoolscollection.com/archives/2003/10/30/post-to-wordpress-or-b2-from-feeddemon/#comment-3133</link>
		<dc:creator>numele</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/archives/2003/10/30/post-to-wordpress-or-b2-from-feeddemon/#comment-3133</guid>
		<description>acesta este un testa 2-a liniea 3-a liniavreau sa vad daca merge numai</description>
		<content:encoded><![CDATA[<p>acesta este un testa 2-a liniea 3-a liniavreau sa vad daca merge numai</p>
]]></content:encoded>
	</item>
</channel>
</rss>
