API

Drupal 5.10 and MarsEdit

Now that I’ve upgraded to Drupal 5.10, I’ve discovered I can no longer post from MarsEdit. I get this error upon submitting a post via XML-RPC, via Drupal’s core Blog API module:

You either tried to edit somebody else’s blog or you don’t have permission to edit your own blog.

Annoying things like this happen all too often with Drupal. I’ve had enough problems with the core BlogAPI and (practically required) Pathauto modules that I should really consider whether the Drupal platform is worth it. It feels like updates for modules are never really tested before they are put out, and so problems like this slip through.

I haven’t figured out what the problem is yet, but hopefully I’ll get this fixed soon. I hate posting through Web interfaces if I can avoid it.

And, just to be clear, all I did was update to the current Drupal 5.10 via my normal routine. I kept my “settings.php” file and my “files” and “sites/all/modules” directories, but everything else is from Drupal 5.10. I ran the “update.php” script after the upgrade. No settings were changed in MarsEdit, which worked before the upgrade.

Update 9/20: I looked in the “Access control” page of my sites’ Drupal Administration section. The “administer content with blog api” had been turned off for my user role. I re-enabled it tentatively, and now posts from MarsEdit appear to work again. I’m not sure why the “administer content with blog api” permission would have been disabled in the Drupal 5.10 update, but that’s what appeared to happen to me.

Trying again to get MarsEdit working with Drupal

Well, after reading Walkah’s 2004 post about using Drupal’s Blog API module with MarsEdit, I was inspired to try again. The inability to get MarsEdit working with my Drupal 4.7.4 install has made an impact in my blogging style.

This post is another attempt. As recommended, I’ve switched over to the Movable Type API rather than MarEdit’s “Drupal” setting. When the site was reloaded in MarsEdit, I was able to see more data, such as the taxonomy categories, in the listing of posts.

However, in writing this post, I notice that I’m unable to set a category. The “Categories” list that slides out in a per-post drawer in MarsEdit is blank.

Oh well, I’ll still post this and see what happens. I want to see if I can now round-trip posts: create a new post, save it to the site, and then edit/update it in MarsEdit. With the MarsEdit “Drupal” setting, I was unable to do that effectively.

Update: It looks like it worked, and meets my expectations if you discount the missing categories!

Later update: Categories cannot be set with the MarsEdit “Keywords” tab. I also found that human-friendly URLs are not set via the Pathauto module on the stories I post through MarsEdit.

Even later update: Since the intertwingularity of Drupal and MarsEdit has changed over time for me (and as I update this post on Drupal 6.6 and MarsEdit 2.2.2, it works so well I barely create posts any other way) and this is a popular post, I wanted to let you know that you can find all — or most, since not all have been tagged — of my Drupal+MarsEdit posts in one list.

Syndicate content