<?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; ecto</title>
	<atom:link href="http://maisonbisson.com/blog/post/tag/ecto/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>Sat, 14 Nov 2009 20:14:03 +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>
		<item>
		<title>Of WordPress Tags, Keywords, XML-RPC, and the MovableType API</title>
		<link>http://maisonbisson.com/blog/post/10600/of-wordpress-tags-keywords-xml-rpc-and-the-movabletype-api/</link>
		<comments>http://maisonbisson.com/blog/post/10600/of-wordpress-tags-keywords-xml-rpc-and-the-movabletype-api/#comments</comments>
		<pubDate>Sun, 29 May 2005 03:58:09 +0000</pubDate>
		<dc:creator>Casey Bisson</dc:creator>
				<category><![CDATA[Books, Movies, Music]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[codex]]></category>
		<category><![CDATA[ecto]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[tag]]></category>
		<category><![CDATA[tags]]></category>
		<category><![CDATA[xml]]></category>
		<category><![CDATA[xml-rpc]]></category>

		<guid isPermaLink="false">http://www.maisonbisson.com/blog/2005/05/29/of-wordpress-tags-keywords-xml-rpc-and-the-movabletype-api/</guid>
		<description><![CDATA[
WordPress&#8217;s XML-RPC support looks pretty good. Heck, it supports a half dozen APIs and works well with ecto &#8230; except for tag support, which is my only complaint with it so far.
The Movable Type API supports a “keywords” field that I&#8217;m thinking can be hijacked as a “tags” field instead, but while ecto sends the [...]]]></description>
			<content:encoded><![CDATA[<abbr class="unapi-id" title="maisonbisson-10600"><!-- &nbsp; --></abbr>
<p>WordPress&#8217;s <a href="http://codex.wordpress.org/XML-RPC_Support">XML-RPC support</a> looks pretty good. Heck, it supports a half dozen APIs and works well with <a href="http://ecto.kung-foo.tv/">ecto</a> &#8230; <a href="http://www.maisonbisson.com/blog/?p=10597">except for tag support</a>, which is my only complaint with it so far.</p>
<p>The <a href="http://www.sixapart.com/movabletype/docs/mtmanual_programmatic.html">Movable Type API</a> supports a “keywords” field that I&#8217;m thinking can be hijacked as a “tags” field instead, but while ecto sends the goods &#8212; I can see them in the XML-RPC data that gets sent out, WordPress seems to ignore them upon receipt. So I&#8217;m looking around the <a href="http://codex.wordpress.org/Plugin_API">Wordpress plugin API docs</a> for a solution, but all I can find is an undocumented mention of <strong>xmlrpc_methods</strong> in <a href="http://codex.wordpress.org/User:Skippy/Plugin_Hooks">Skippy&#8217;s list of plugin hooks</a>.<br />
<!-- technorati tags start -->
<p style="text-align:right;font-size:10px;">Technorati Tags: <a href="http://technorati.com/tag/api" rel="tag">api</a>, <a href="http://technorati.com/tag/codex" rel="tag">codex</a>, <a href="http://technorati.com/tag/ecto" rel="tag">ecto</a>, <a href="http://technorati.com/tag/plugin" rel="tag">plugin</a>, <a href="http://technorati.com/tag/tag" rel="tag">tag</a>, <a href="http://technorati.com/tag/tags" rel="tag">tags</a>, <a href="http://technorati.com/tag/xml" rel="tag">xml</a>, <a href="http://technorati.com/tag/xml-rpc" rel="tag">xml-rpc</a></p>
<p><!-- technorati tags end --></p>
]]></content:encoded>
			<wfw:commentRss>http://maisonbisson.com/blog/post/10600/of-wordpress-tags-keywords-xml-rpc-and-the-movabletype-api/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>