<?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 on: Posting to wordpress using php cli and xmlrpc</title>
	<atom:link href="http://www.php-trivandrum.org/code-snippets/posting-to-wordpress-using-php-cli-and-xmlrpc/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.php-trivandrum.org/code-snippets/posting-to-wordpress-using-php-cli-and-xmlrpc/</link>
	<description>Get addicted to PHP</description>
	<lastBuildDate>Fri, 27 Jan 2012 02:59:59 +0530</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: jijutm</title>
		<link>http://www.php-trivandrum.org/code-snippets/posting-to-wordpress-using-php-cli-and-xmlrpc/comment-page-1/#comment-16761</link>
		<dc:creator>jijutm</dc:creator>
		<pubDate>Tue, 19 Jul 2011 08:43:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.php-trivandrum.org/code-snippets/posting-to-wordpress-using-php-cli-and-xmlrpc/#comment-16761</guid>
		<description>I am not fully understanding your query, though I do think that you need to collect feedback, but don&#039;t wish to publish that on the post page. In that case you need to edit the templates, such that the comments form is shown, but approved comments are not displayed.</description>
		<content:encoded><![CDATA[<p>I am not fully understanding your query, though I do think that you need to collect feedback, but don&#8217;t wish to publish that on the post page. In that case you need to edit the templates, such that the comments form is shown, but approved comments are not displayed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert</title>
		<link>http://www.php-trivandrum.org/code-snippets/posting-to-wordpress-using-php-cli-and-xmlrpc/comment-page-1/#comment-16029</link>
		<dc:creator>Robert</dc:creator>
		<pubDate>Wed, 25 May 2011 23:16:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.php-trivandrum.org/code-snippets/posting-to-wordpress-using-php-cli-and-xmlrpc/#comment-16029</guid>
		<description>I have a php website that integrates wordpress - using it as a blog.
I want to use websites comments code and database to collect comments,
but when I use wp-comments-post.php, it goes to the blog pages.</description>
		<content:encoded><![CDATA[<p>I have a php website that integrates wordpress &#8211; using it as a blog.<br />
I want to use websites comments code and database to collect comments,<br />
but when I use wp-comments-post.php, it goes to the blog pages.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jijutm</title>
		<link>http://www.php-trivandrum.org/code-snippets/posting-to-wordpress-using-php-cli-and-xmlrpc/comment-page-1/#comment-15293</link>
		<dc:creator>jijutm</dc:creator>
		<pubDate>Sun, 06 Mar 2011 14:07:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.php-trivandrum.org/code-snippets/posting-to-wordpress-using-php-cli-and-xmlrpc/#comment-15293</guid>
		<description>&lt;a href=&quot;#comment-15151&quot; rel=&quot;nofollow&quot;&gt;@Awmen&lt;/a&gt; I think you are passing the category as string, it should be passed as array, and the categories should exist. I got the same some time back when I tried to post to a non existent category</description>
		<content:encoded><![CDATA[<p><a href="#comment-15151" rel="nofollow">@Awmen</a> I think you are passing the category as string, it should be passed as array, and the categories should exist. I got the same some time back when I tried to post to a non existent category</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Awmen</title>
		<link>http://www.php-trivandrum.org/code-snippets/posting-to-wordpress-using-php-cli-and-xmlrpc/comment-page-1/#comment-15151</link>
		<dc:creator>Awmen</dc:creator>
		<pubDate>Mon, 31 Jan 2011 05:29:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.php-trivandrum.org/code-snippets/posting-to-wordpress-using-php-cli-and-xmlrpc/#comment-15151</guid>
		<description>&lt;a href=&quot;#comment-15144&quot; rel=&quot;nofollow&quot;&gt;@Awmen&lt;/a&gt; 
Ok, it resulted that I haven&#039;t installed php5-curl and php5-xmlrpc now the script works and posts get published but all of them goes to Uncategorized instead of the category I tell the script, additionally I get this error when executing the script:

&lt;code&gt;PHP Warning:  xmlrpc_is_fault() expects parameter 1 to be array, integer given in xml_wppost.php on line 54&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p><a href="#comment-15144" rel="nofollow">@Awmen</a><br />
Ok, it resulted that I haven&#8217;t installed php5-curl and php5-xmlrpc now the script works and posts get published but all of them goes to Uncategorized instead of the category I tell the script, additionally I get this error when executing the script:</p>
<p><code>PHP Warning:  xmlrpc_is_fault() expects parameter 1 to be array, integer given in xml_wppost.php on line 54</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Awmen</title>
		<link>http://www.php-trivandrum.org/code-snippets/posting-to-wordpress-using-php-cli-and-xmlrpc/comment-page-1/#comment-15144</link>
		<dc:creator>Awmen</dc:creator>
		<pubDate>Sun, 30 Jan 2011 17:40:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.php-trivandrum.org/code-snippets/posting-to-wordpress-using-php-cli-and-xmlrpc/#comment-15144</guid>
		<description>Kinda silly question but How should I put the categories on lines 26-33?</description>
		<content:encoded><![CDATA[<p>Kinda silly question but How should I put the categories on lines 26-33?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jijutm</title>
		<link>http://www.php-trivandrum.org/code-snippets/posting-to-wordpress-using-php-cli-and-xmlrpc/comment-page-1/#comment-13940</link>
		<dc:creator>jijutm</dc:creator>
		<pubDate>Fri, 12 Mar 2010 02:43:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.php-trivandrum.org/code-snippets/posting-to-wordpress-using-php-cli-and-xmlrpc/#comment-13940</guid>
		<description>I think it is due to some browsers or some other network problems, that the content is opened in the browser. Just try right click and choose save link as.</description>
		<content:encoded><![CDATA[<p>I think it is due to some browsers or some other network problems, that the content is opened in the browser. Just try right click and choose save link as.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Petra</title>
		<link>http://www.php-trivandrum.org/code-snippets/posting-to-wordpress-using-php-cli-and-xmlrpc/comment-page-1/#comment-13929</link>
		<dc:creator>Petra</dc:creator>
		<pubDate>Thu, 11 Mar 2010 01:45:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.php-trivandrum.org/code-snippets/posting-to-wordpress-using-php-cli-and-xmlrpc/#comment-13929</guid>
		<description>Can´t download XML WpPost.
And is there an example, how to use?

Petra</description>
		<content:encoded><![CDATA[<p>Can´t download XML WpPost.<br />
And is there an example, how to use?</p>
<p>Petra</p>
]]></content:encoded>
	</item>
</channel>
</rss>

