<?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>SplatDot.com &#187; blogapi.module.6.1.rsd.patch</title>
	<atom:link href="http://splatdot.com/tag/blogapi-module-6-1-rsd-patch/feed/" rel="self" type="application/rss+xml" />
	<link>http://splatdot.com</link>
	<description>software. systems. solutions.</description>
	<lastBuildDate>Mon, 04 Apr 2011 01:12:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Drupal 6.5</title>
		<link>http://splatdot.com/drupal-6-5/</link>
		<comments>http://splatdot.com/drupal-6-5/#comments</comments>
		<pubDate>Wed, 15 Oct 2008 03:43:40 +0000</pubDate>
		<dc:creator>dean</dc:creator>
				<category><![CDATA[Drupal]]></category>
		<category><![CDATA[blogapi.module.6.1.rsd.patch]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Drupal 6.5 was released October 8th and I realized that I had missed a couple of releases. I installed the update and everything worked flawlessly. Update: The blog API module still has an impedance mismatch between RSD and posting. It hands out &#8220;1&#8243; in response to an RSD query but expects &#8220;blog&#8221; when posting. So [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://drupal.org/drupal-6.5">Drupal 6.5</a> was released October 8th and I realized that I had missed a couple of releases. I installed the update and everything worked flawlessly.</p>
<hr />
<p><strong>Update:</strong> The blog API module still has an impedance mismatch between RSD and posting. It hands out &#8220;1&#8243; in response to an RSD query but expects &#8220;blog&#8221; when posting. So once again I had to re-apply the <a href="http://www.splatdot.com/wp-content/uploads/blogapi.module.6.1.rsd_.patch.zip">RSD patch</a> for the Blog API module.</p>
]]></content:encoded>
			<wfw:commentRss>http://splatdot.com/drupal-6-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Drupal 6.2</title>
		<link>http://splatdot.com/drupal-6-2/</link>
		<comments>http://splatdot.com/drupal-6-2/#comments</comments>
		<pubDate>Thu, 10 Apr 2008 02:53:16 +0000</pubDate>
		<dc:creator>dean</dc:creator>
				<category><![CDATA[Drupal]]></category>
		<category><![CDATA[blogapi.module.6.1.rsd.patch]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Drupal 6.2 was released today. It addresses a security vulnerability that affects Drupal 6.x sites that have multiple users, as well as a variety of other bug fixes. I upgraded from 6.1 to 6.2 without difficulty. However, I did have to re-apply the RSD patch for the Blog API module.]]></description>
			<content:encoded><![CDATA[<p><a href="http://drupal.org/drupal-6.2">Drupal 6.2</a> was released today. It addresses <a href="http://drupal.org/node/244637">a security vulnerability</a> that affects Drupal 6.x sites that have multiple users, as well as a variety of other <a href="http://drupal.org/node/244667">bug fixes</a>. I upgraded from 6.1 to 6.2 without difficulty. However, I did have to re-apply the <a href="http://www.splatdot.com/wp-content/uploads/blogapi.module.6.1.rsd_.patch.zip">RSD patch</a> for the Blog API module.</p>
]]></content:encoded>
			<wfw:commentRss>http://splatdot.com/drupal-6-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Blogging to Drupal from Flickr</title>
		<link>http://splatdot.com/blogging-to-drupal-from-flickr/</link>
		<comments>http://splatdot.com/blogging-to-drupal-from-flickr/#comments</comments>
		<pubDate>Thu, 10 Apr 2008 02:29:47 +0000</pubDate>
		<dc:creator>dean</dc:creator>
				<category><![CDATA[Drupal]]></category>
		<category><![CDATA[Flickr]]></category>
		<category><![CDATA[blogapi.module.6.1.rsd.patch]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Drupal Modules as of 11/9/07 Originally uploaded by kentbye If your blog is powered by Drupal you can blog images and videos from Flickr. This blog post was created with Flickr. First I found an image that was relevant, interesting and licensed under Creative Commons. I decided to use the image to the right which [...]]]></description>
			<content:encoded><![CDATA[<div style="float: right; margin-left: 10px; margin-bottom: 10px;">
 <a href="http://www.flickr.com/photos/kentbye/2007464793/" title="photo sharing"><img src="http://farm3.static.flickr.com/2084/2007464793_4b1709e230_m.jpg" alt="" style="border: solid 2px #000000;" /></a></p>
<p> <span style="font-size: 0.9em; margin-top: 0px;"><br />
  <a href="http://www.flickr.com/photos/kentbye/2007464793/">Drupal Modules as of 11/9/07</a></p>
<p>  Originally uploaded by <a href="http://www.flickr.com/people/kentbye/">kentbye</a><br />
 </span>
</div>
<p>If your blog is powered by <a href="http://drupal.org/">Drupal</a> you can blog images and videos from <a href="http://www.flickr.com/">Flickr</a>. This blog post was created with Flickr. First I found an image that was relevant, interesting and licensed under <a href="http://creativecommons.org/licenses/">Creative Commons</a>. I decided to use the image to the right which displays a graphical snapshot of the available Drupal modules. Then I clicked the <img src="http://www.splatdot.com/wp-content/uploads/BlogThis.png" alt="BlogThis" title="BlogThis" width="38" height="15" align="absmiddle" /> button that appears above images along with the more familiar controls. That button sent me to a Flickr blog form where I typed the blog title and content. Then I posted the entry directly to this blog. (Once I had posted it I opened it with <a href="http://www.red-sweater.com/marsedit/">MarsEdit</a> to polish it and add some additional images.)</p>
<p>If you want to try blogging from Flickr you need to make sure you have both the Blog and Blog API modules enabled and configured in Drupal. You can see what modules are enabled and enable or disable additional modules at <code>Home </p>
]]></content:encoded>
			<wfw:commentRss>http://splatdot.com/blogging-to-drupal-from-flickr/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Drupal 6.0 RC4 and MarsEdit</title>
		<link>http://splatdot.com/drupal-60-rc4-and-marsedit/</link>
		<comments>http://splatdot.com/drupal-60-rc4-and-marsedit/#comments</comments>
		<pubDate>Sun, 10 Feb 2008 02:47:54 +0000</pubDate>
		<dc:creator>dean</dc:creator>
				<category><![CDATA[Drupal]]></category>
		<category><![CDATA[MarsEdit]]></category>
		<category><![CDATA[blogapi.module.6.1.rsd.patch]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Drupal 6.0 RC4 was released yesterday and I downloaded it and took it for a spin. The good news is that the problems I reported here and here have been fixed. The bad news is that after installing it and running the update I could not post a new blog entry with MarsEdit 2. When [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://drupal.org/drupal-6.0-rc4">Drupal 6.0 RC4</a> was released yesterday and I downloaded it and took it for a spin. The good news is that the problems I reported <a href="http://www.splatdot.com/node/28">here</a> and <a href="http://www.splatdot.com/node/16">here</a> have been fixed.</p>
<p>The bad news is that after installing it and running the update I could not post a new blog entry with <a href="http://www.red-sweater.com/marsedit/">MarsEdit 2</a>. When I tried to post a test message I received this error dialog:</p>
<p><img src="http://www.splatdot.com/wp-content/uploads/PostError.png" alt="PostError" title="PostError" width="437" height="163" class="alignnone size-full wp-image-77" /></p>
<p>The problem is related to the &#8220;Blog ID&#8221; that is configured in MarsEdit&#039;s blog settings and the way Drupal handles that blog ID:</p>
<p><img src="http://www.splatdot.com/wp-content/uploads/BlogId_1.png" alt="BlogId_1" title="BlogId_1" width="355" height="162" class="alignnone size-full wp-image-79" /></p>
<p>When MarsEdit auto-detects the blog ID it gets a value of &#8220;1&#8243;. For Drupal 6.0 RC3 and prior the <code>blogapi.module</code> was mapping the blog ID to a content type. A blog ID of &#8220;1&#8243; mapped to a content type of &#8220;blog&#8221;. Starting with RC4 that mapping was removed. RC4 treats the blog ID and the content type as synonomous. This was causing the function <code>_blogapi_validate_blogid</code> to fail because it was trying to validate that the current user had permissions to publish a content type of &#8220;1&#8243; but the content type should actually be &#8220;blog&#8221; instead.</p>
<p>The fix for this is to change the blog ID in MarsEdit to &#8220;blog&#8221; as shown here:</p>
<p><img src="http://www.splatdot.com/wp-content/uploads/BlogId_blog.png" alt="BlogId_blog" title="BlogId_blog" width="356" height="161" class="alignnone size-full wp-image-80" /></p>
<p>Changing the blog ID to &#8220;blog&#8221; allows posting and does not appear to have any negative side affects.</p>
<hr />
<p><strong>Update:</strong> Apparently the change was intentional in <a href="http://drupal.org/">Drupal</a> and the issue persists in versions 6.0 and 6.1. All of the functions in blogapi.module that need a blog ID are expecting a blog ID of &#8220;blog&#8221; now. <a href="http://www.red-sweater.com/services/DanielJalkut.html">Daniel Jalkut</a> of <a href="http://www.red-sweater.com/">Red Sweater Software</a> pointed out the the incorrect blog ID is being returned by Drupal&#039;s <a href="http://cyber.law.harvard.edu/blogs/gems/tech/rsd.html">RSD</a> function. This is causing any blogging software that uses RSD for auto-discovery to get the wrong blog ID which in turn causes the problems described earlier in this post. The blog ID is hardcoded to &#8220;1&#8243; in blogapi.modules&#039;s RSD function. I submitted a <a href="http://drupal.org/node/219818#comment-782310">patch</a> to change the blog ID returned by the RSD function in blogapi.module to &#8220;blog&#8221; so that RSD auto-discovery will work correctly with MarsEdit and hopefully other blogging clients as well. You can also view and download the patch <a href="http://www.splatdot.com/wp-content/uploads/blogapi.module.6.1.rsd_.patch.zip">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://splatdot.com/drupal-60-rc4-and-marsedit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

