<?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>MaisonBisson.com &#187; xmlrpc</title>
	<atom:link href="http://maisonbisson.com/blog/post/tag/xmlrpc/feed/" rel="self" type="application/rss+xml" />
	<link>http://maisonbisson.com</link>
	<description>A bunch of stuff I would have emailed you about.</description>
	<lastBuildDate>Mon, 23 Nov 2009 16:21:01 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Ecto vs. WordPress</title>
		<link>http://maisonbisson.com/blog/post/10839/making-ecto-work-with-wp-simple-tags/</link>
		<comments>http://maisonbisson.com/blog/post/10839/making-ecto-work-with-wp-simple-tags/#comments</comments>
		<pubDate>Thu, 01 Feb 2007 20:05:56 +0000</pubDate>
		<dc:creator>Casey Bisson</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[ecto]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[xmlrpc]]></category>

		<guid isPermaLink="false">http://maisonbisson.com/blog/post/10839/</guid>
		<description><![CDATA[
Ecto is finally available in Intel optimized form, but WP 2.1&#8217;s XMLRPC breaks it. Cliffy, of all people, tells us how to fix it.
Now, when is Ecto 3 coming out?
Aside: this blog post explains how to hack up the XMLRPC to extract the tags Ecto is sending. This was interesting to me a long time [...]]]></description>
			<content:encoded><![CDATA[<abbr class="unapi-id" title="maisonbisson-10839"><!-- &nbsp; --></abbr>
<p><a href="http://ecto.kung-foo.tv/" title="ecto">Ecto</a> is finally available in <a href="http://ecto.kung-foo.tv/archives/001736.php">Intel optimized form</a>, but <a href="http://wordpress.org/development/2007/01/ella-21/">WP 2.1</a>&#8217;s XMLRPC breaks it. Cliffy, of all people, tells us <a href="http://spiralbound.net/2007/01/30/ecto-is-busted-in-wordpress-21/">how to fix it</a>.</p>
<p>Now, <a href="http://blog.kung-foo.tv/archives/001731.html">when is Ecto 3 coming out</a>?</p>
<p>Aside: <a href="http://www.splyb.com/madfox/?p=48" title="????»Blog Archive » How to make ecto work with Jerome’s Keywords">this blog post</a> explains how to hack up the XMLRPC to extract the tags Ecto is sending. This was interesting to me a long time ago, but <a href="http://maisonbisson.com/blog/post/11390/#section-7">bsuite handles tags</a> entirely in the post content.</p>
<p><tags>xmlrpc, wordpress, fix, ecto</tags></p>
]]></content:encoded>
			<wfw:commentRss>http://maisonbisson.com/blog/post/10839/making-ecto-work-with-wp-simple-tags/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Editing WordPress “Pages” Via XML-RPC</title>
		<link>http://maisonbisson.com/blog/post/10834/editing-wordpress-pages-via-xml-rpc/</link>
		<comments>http://maisonbisson.com/blog/post/10834/editing-wordpress-pages-via-xml-rpc/#comments</comments>
		<pubDate>Thu, 22 Sep 2005 15:51:44 +0000</pubDate>
		<dc:creator>Casey Bisson</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[blogg as cms]]></category>
		<category><![CDATA[blogg as content management system]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[cms]]></category>
		<category><![CDATA[content management system]]></category>
		<category><![CDATA[ecto]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[hacking wordpress]]></category>
		<category><![CDATA[php code]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress hack]]></category>
		<category><![CDATA[wordpress hacks]]></category>
		<category><![CDATA[wordpress pages]]></category>
		<category><![CDATA[xml-rpc]]></category>
		<category><![CDATA[xmlrpc]]></category>

		<guid isPermaLink="false">http://maisonbisson.com/blog/?p=10834</guid>
		<description><![CDATA[
WordPress&#8217;s Pages open the door to using WP as a content management system. Unfortunately, Pages can&#8217;t be edited via XML-RPC blogging apps like Ecto. This might be a good thing, but I&#8217;m foolhardy enough to try working around it.
Here&#8217;s how:
Find a text editor you like and open up the wp-includes/functions-post.php file.
in the wp_get_recent_posts() function, change [...]]]></description>
			<content:encoded><![CDATA[<abbr class="unapi-id" title="maisonbisson-10834"><!-- &nbsp; --></abbr>
<p><a href="http://wordpress.org/">WordPress</a>&#8217;s <a href="http://codex.wordpress.org/Pages">Pages</a> open the door to using WP as a content management system. Unfortunately, Pages can&#8217;t be edited via XML-RPC blogging apps like <a href="http://ecto.kung-foo.tv/">Ecto</a>. This might be a good thing, but I&#8217;m foolhardy enough to try working around it.</p>
<p>Here&#8217;s how:</p>
<p>Find a text editor you like and open up the <code>wp-includes/functions-post.php</code> file.</p>
<p>in the <code>wp_get_recent_posts()</code> function, change this:</p>
<p><code>$sql = “SELECT * FROM $wpdb-&gt;posts WHERE post_status IN ('publish', 'draft', 'private') ORDER BY post_date DESC $limit”;</code></p>
<p>to this:</p>
<p><code>$sql = “SELECT * FROM $wpdb-&gt;posts WHERE post_status IN ('publish', 'draft', 'private', 'static') ORDER BY post_date DESC $limit”;</code></p>
<p>Now, in the <code>wp_update_post()</code> function, look for this block of code:</p>
<p><code>// Escape data pulled from DB.<br />
$post = add_magic_quotes($post);<br />
extract($post);</code></p>
<p>and insert this block underneath it:</p>
<p><code>// XML-RPCs apps can't return “static” post status,<br />
// so we have to work around it<br />
$page_status = NULL;<br />
if($post_status == “static”)<br />
$page_status = “static”;</code></p>
<p>And follow that up by looking for this block:</p>
<p><code>// Now overwrite any changed values being passed in. These are<br />
// already escaped.<br />
extract($postarr);</code></p>
<p>and insert this block underneath it:</p>
<p><code>// set post_status static if this is a page<br />
if($page_status)<br />
$post_status = $page_status;</code></p>
<p><strong>Fair warning:</strong> this works in my <em>limited</em> testing, but don&#8217;t blame me if you try it and it breaks something. You&#8217;d be a fool to mess with this on a live install, so don&#8217;t.</p>
<p><!-- technorati tags start -->
<p style="text-align:right;font-size:10px;">tags: <a href="http://www.technorati.com/tag/blog" rel="tag">blog</a>, <a href="http://www.technorati.com/tag/blogg as cms" rel="tag">blogg as cms</a>, <a href="http://www.technorati.com/tag/blogg as content management system" rel="tag">blogg as content management system</a>, <a href="http://www.technorati.com/tag/blogging" rel="tag">blogging</a>, <a href="http://www.technorati.com/tag/cms" rel="tag">cms</a>, <a href="http://www.technorati.com/tag/content management system" rel="tag">content management system</a>, <a href="http://www.technorati.com/tag/ecto" rel="tag">ecto</a>, <a href="http://www.technorati.com/tag/hack" rel="tag">hack</a>, <a href="http://www.technorati.com/tag/hacking" rel="tag">hacking</a>, <a href="http://www.technorati.com/tag/hacking wordpress" rel="tag">hacking wordpress</a>, <a href="http://www.technorati.com/tag/php code" rel="tag">php code</a>, <a href="http://www.technorati.com/tag/wordpress" rel="tag">wordpress</a>, <a href="http://www.technorati.com/tag/wordpress hack" rel="tag">wordpress hack</a>, <a href="http://www.technorati.com/tag/wordpress hacks" rel="tag">wordpress hacks</a>, <a href="http://www.technorati.com/tag/wordpress pages" rel="tag">wordpress pages</a>, <a href="http://www.technorati.com/tag/xml rpc" rel="tag">xml rpc</a>, <a href="http://www.technorati.com/tag/xmlrpc" rel="tag">xmlrpc</a></p>
<p><!-- technorati tags end --></p>
]]></content:encoded>
			<wfw:commentRss>http://maisonbisson.com/blog/post/10834/editing-wordpress-pages-via-xml-rpc/feed/</wfw:commentRss>
		<slash:comments>24</slash:comments>
		</item>
	</channel>
</rss>