<?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>Sameer Ahuja &#187; Wordpress</title>
	<atom:link href="http://sameerahuja.com/blog/tags/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://sameerahuja.com</link>
	<description></description>
	<lastBuildDate>Wed, 09 Jun 2010 21:34:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Editing WordPress pages using blogging tools</title>
		<link>http://sameerahuja.com/blog/editing-wordpress-pages/</link>
		<comments>http://sameerahuja.com/blog/editing-wordpress-pages/#comments</comments>
		<pubDate>Thu, 26 Feb 2009 21:44:31 +0000</pubDate>
		<dc:creator>sameer</dc:creator>
				<category><![CDATA[Posts]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[TextMate]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://sameerahuja.com/?p=56</guid>
		<description><![CDATA[I&#8217;m a heavy user of TextMate, and use the blogging bundle to create and edit posts. I&#8217;m also a heavy user of WordPress Pages that enable wordpress to be used as a CMS. The one issue that always bugs me with any new WordPress installation is that you cannot edit pages from XML-RPC blogging tools [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m a heavy user of TextMate, and use the <a href="http://blog.macromates.com/2006/blogging-from-textmate/">blogging bundle</a> to create and edit posts. I&#8217;m also a heavy user of WordPress Pages that enable wordpress to be used as a CMS. The one issue that always bugs me with any new WordPress installation is that you cannot edit pages from XML-RPC blogging tools like TextMate, Ecto, Windows Live Writer and such. The only working solution I&#8217;ve found to the same is a <em>little</em> ugly: You&#8217;ll need to edit one of the core wordpress files. I wouldn&#8217;t do it if I didn&#8217;t love TextMate so much.</p>

<p><a href="http://maisonbisson.com/blog/post/10834/editing-wordpress-pages-via-xml-rpc/">This post</a> from Maison Bisson described the process of editing the files for a previous version. The good news is, for the latest WordPress releases (I&#8217;ve checked 2.7.0 and 2.7.1), the data model has been changed to remove the &#8220;static&#8221; post status for pages (They now have the same status codes as posts), which means that no changes are required to the update fundtion; and a field called post_type now stores information about the kind of post (blog post, page, attachment).</p>

<p>So, essentially, here&#8217;s all you need to do to magically get the list of latest posts AND pages on your blogging client:</p>

<p>Modify this query in <code>wp_includes/post.php</code>:
<pre class="brush: php;"> $sql = &amp;quot;SELECT * FROM $wpdb-&amp;gt;posts WHERE post_type = 'post' ORDER BY post_date DESC $limit&amp;quot;;</pre></p>

<p>to this:</p>

<p><pre class="brush: php;"> $sql = &amp;quot;SELECT * FROM $wpdb-&amp;gt;posts WHERE post_type = 'post' OR post_type = 'page' ORDER BY post_date DESC $limit&amp;quot;;</pre></p>

<p>This is a scotch-tape solution that&#8217;s worked well for me so far. Try it at your own risk. Also, remember that when you update your WordPress installation, these changes might get overwritten.</p>

<p><strong>UPDATE</strong>: This works for 2.9.1 too, see comments below.</p>
]]></content:encoded>
			<wfw:commentRss>http://sameerahuja.com/blog/editing-wordpress-pages/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Some updates</title>
		<link>http://sameerahuja.com/blog/some-updates/</link>
		<comments>http://sameerahuja.com/blog/some-updates/#comments</comments>
		<pubDate>Tue, 01 May 2007 17:31:13 +0000</pubDate>
		<dc:creator>sameer</dc:creator>
				<category><![CDATA[Posts]]></category>
		<category><![CDATA[Usability]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://sameerahuja.com/blog/2007/05/some-updates/</guid>
		<description><![CDATA[Following up on the last post regarding better conversational experiences on blogs, I thought why not improve the experience on the blog, as long as it has to be there. So I&#8217;ve put in a mix of conversation-specific plugins and hacks for ease of commenting on this blog - WordPress 2.1, for some evil reason, [...]]]></description>
			<content:encoded><![CDATA[<p>Following up on the last post regarding better conversational experiences on blogs, I thought why not improve the experience <em>on </em>the blog, as long as it has to be there. So I&#8217;ve put in a mix of conversation-specific plugins and hacks for ease of commenting on this blog -</p>

<ul> <li>WordPress 2.1, for some evil reason, eats up all the line breaks&nbsp;one puts&nbsp;in&nbsp;the comment, and replaces it by the standard &lt;p&gt;&lt;/p&gt; combination. So as a stop-gap solution to having all the paragraphs in a comment mashed up together, I&#8217;ve increased the margin in their CSS for a feeling of visual separation.  <li>You can now subscribe to the future comments on a post that you comment on. All that you need to do, is to click the checkbox in the commenting form that says &#8220;Notify me of followup comments via e-mail&#8221;.  <li><a href="http://www.gravatar.com">Gravatars</a>!  <li>If you&#8217;d like to quote someone&#8217;s comment, there&#8217;s a &#8216;Quote&#8217; link in each comment&#8217;s header, that you can click to auto-fill that comment&#8217;s content as a quote within your comment. Or, if you&#8217;d like to&nbsp;quote some text from the post or from within a long comment, select the text, go to the comment field and click the link that says &#8220;quote selected text&#8221;. You can DOO it! (Yes, Rob Schneider is my favorite actor.)  <li>You&#8217;d notice, while commenting, that there&#8217;s a live preview just above the form that starts filling in as you type, providing a quick way to know what your comment would look like. This isn&#8217;t perfect yet- it recognizes line breaks and doesn&#8217;t render quotes as it should &#8211; but I&#8217;m working on it, and it&#8217;s good enough to give you a reasonable idea as to what your comment might look like.</li></ul>

<p>&nbsp;Have an idea as to how commenting can be made more intuitive? Comment on..</p>
]]></content:encoded>
			<wfw:commentRss>http://sameerahuja.com/blog/some-updates/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Dear WordPress: Why not an XML-RPC for commenting?</title>
		<link>http://sameerahuja.com/blog/dear-wordpress-why-not-an-xml-rpc-for-commenting/</link>
		<comments>http://sameerahuja.com/blog/dear-wordpress-why-not-an-xml-rpc-for-commenting/#comments</comments>
		<pubDate>Sun, 29 Apr 2007 21:40:50 +0000</pubDate>
		<dc:creator>sameer</dc:creator>
				<category><![CDATA[Posts]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://sameerahuja.com/blog/2007/04/dear-wordpress-why-not-an-xml-rpc-for-commenting/</guid>
		<description><![CDATA[We&#8217;re very much in the middle of the Syndication revolution &#8211; Everything out there on the web can be syndicated&#160; &#8211; Be it the latest news, your friends&#8217; photos and videos, your favorite TV Show episodes, and so on. Even sites lacking any technological platform for publishing can be subscribed to using online tools. Now [...]]]></description>
			<content:encoded><![CDATA[<p>We&#8217;re very much in the middle of the Syndication revolution &#8211; Everything out there on the web can be syndicated&nbsp; &#8211; Be it the latest news, your friends&#8217; photos and videos, your favorite TV Show episodes, and so on. Even sites lacking any technological platform for publishing can be subscribed to using online tools. </p>

<p>Now in all this &#8211; perhaps the most&nbsp;popular type of feeds that we syndicate to are blog posts. And typically, they support commenting. In fact, commenting is an integral part of the blogging experience. The discussion adds mass to the content of the original post, sometimes even surpassing it in meaningful content. Or, it can go completely haywire and spread out into several branches of context. Either ways, it&#8217;s something without which blogging won&#8217;t be blogging.</p>

<p>So my rue is this &#8211; I would like to participate in the discussions on a blog post right from my <a href="http://google.com/reader">newsreader</a>. That implies two things-</p>

<ul> <li>I want to view the stream of comments along with the post. This isn&#8217;t hard to achieve, given that almost all blogging platforms provide RSS feeds for comments to posts, and a couple of <a href="http://www.sharpreader.net/">newsreaders</a> that support the display of those comments.  <li>I want to be able to comment right from my newsreader.&nbsp;This is important because&nbsp;it makes the whole process of &#8216;participating&#8217; with the said blog or news site much more intuitive for me, <strong>and,</strong> the newsreader can then keep&nbsp;track of my comments and conversations in a more organized way than I do currently through <a href="http://www.cocomment.com">coComment</a> or <a href="http://commentful.blogflux.com">commentful</a>. They&#8217;re really good tools, both of them, but they sporadically don&#8217;t work. coComment, for instance, is a very nice tool that integrates with a lot of social sites apart from just blogging platforms, but somehow for me it isn&#8217;t able to update the latest comments on a lot of them.</li></ul>

<p>The second feature requires the website to publish an XML-RPC API (<a href="http://www.xmlrpc.com/">Here&#8217;s what XML-RPC means</a>)&nbsp;similar to the ones that allow people to be able to post to their blog from desktop applications. WordPress is the only blogging platform that I&#8217;ve worked with, and I&#8217;ve checked &#8211; it doesn&#8217;t have one. There is an XMLRPC for traceback, but nothing for commenting.</p>

<p>Is this something that just hasn&#8217;t been implemented because no one thought of it, or is it just that no one wants to have this &#8211; for fear for people not coming to the blog&#8217;s website for commenting? Or is the concern related to additional spam?</p>

<p>I think lack of visitors is a self-countering argument &#8211; While there may be lesser people visiting to comment on the site&#8217;s interface, there would actually be more people commenting and being active on the site &#8211; and the positive effect of that should balance out the concerns. I&#8217;m not sure if spam is a factor either &#8211; sure, the spammer now has one URL to attack &#8211; but the post id (That I suppose would be a parameter in the call to such a service) is still dynamic. And in any case, the interface just as secure as the rest of the site is to spammers. I&#8217;m not sure how captchas can be implemented in such a service &#8211; but I&#8217;m sure they can be.</p>

<p>Reading this on a newsreader? Click the post title, wait for the page to load, scroll to the bottom for my cute little commenting interface, and fill in your thoughts!</p>
]]></content:encoded>
			<wfw:commentRss>http://sameerahuja.com/blog/dear-wordpress-why-not-an-xml-rpc-for-commenting/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
