drupal

Integrating FileMaker and Drupal via Web Services

There are a few ways of having drupal talk to FileMaker Server that we've used in the past before. Our demo registration forms interact with FileMaker via the WebForm and FileMaker form modules. This works great for this one particular situation of filling in a form and having that data sent to FileMaker Server.

But for more complex interactions, the best approach is going to be a mix of Web Service operations. There is a great post and webinar up on the MediaCurrent website about how they integrated Drupal with FileMaker using our very own RESTfm.

This is exactly the sorts of things we originally had planned for RESTfm, so it's good to see it getting some traction out in the wider world.

Uploading Images to Drupal with MarsEdit

As a follow up to my previous post about MarsEdit, I was having an issue when trying to upload images. I was getting a really useless error :

It is not possible to upload the file, because it exceeded the maximum filesize of 0 bytes

So check the prefs inside drupal :

Right. Something's not quite talking there. It turns out the problem was in permissions. Although I'm logged in as user 1, which on the site has every privilege, the blog api uses the proper roles and won't allow you to upload if the permissions for your role doesn't have it explicitly set. When I turned on the correct privileges all was good again.

Posting to Drupal with MarsEdit

I've been wanting for ages to use something like MarsEdit to draft and upload content to this blog. Bits of it work well, but other bits either had me confused or didn't quite work right.

For example, I no longer have comments turned on for blog posts (more on that later) and I still haven't bothered to investigate the utility or otherwise of Trackbacks. But MarsEdit has options for both when drafting a blog, and I can't turn them off. Plus I can't choose text filters other than "None" or "Filtered HTML" - the one I used most is "Full HTML".

Also I can have "Local Drafts" that have a server side "Post Status: Published" and published posts that are "Post Status: Draft". It's confused me more often than not.

I think what I'd like to see :

  • Ability to remove all of the options for TrackBacks, Comments and Text Filter on a per blog basis.
  • Auto updating of server side content on load or updates.
  • Change "Local Drafts" to just "Drafts" and then make a decision for each blog about local or server side. It could then store them against each blog directly and would save you the hassle of thinking about where a blog is. You could still force a draft to be local by not assigning it a blog in the first place. But if you have a draft post it should appear on only one place. If I save a "published" post, then it should save to the server, not locally.

Also these days I'm using screens other than my main work machine more and more, and so an interface that allows you to store drafts more easily server side, and edit and upload from more places than one would suit me much more.