Topic: Drupal Content Types not Recognized

I installed Mars Edit, and when it auto-detects my Drupal (5.1) based website, it only allows posting to the 'Blog' portion.  I have several different Content Types defined inside of Drupal.  Blog, Article, News, etc. However, ME2 only recognizes 'Blog'. 

Not looking to compare, but with Scribewriter or Ecto, they detect the different content types and allow me to select which I would like to post to.  I thought it might have something to do with the 'Blog ID', and it is defaulting to '1' inside of ME2, but even changing it to other numbers, '2', '3', etc had no affect on where the posts are going.
   
Any ideas on how to get this to function as I need it to?

Thanks,
- Jonathan

Last edited by thinkmac (September 04, 2007 08:23:00 PM)

www.thinkmac.net
Mac Tutorials, Reviews, and News!
Home of the Mac Tips Daily! Podcast

Re: Drupal Content Types not Recognized

Hi Jonathan - I will make a note of this and see what I can do to improve the auto-detection.

In general to get this working with MarsEdit, you want to add a separate "Blog" (inside MarsEdit) for each content type you are managing. So you'll add a new blog called maybe "Drupal Blog" and let it autodetect, but set the blog ID manually to "blog".

Do the same for every other content type you want to manage with MarsEdit. It will show up as a separate blog in the weblogs list. Just double-click to edit the settings and change the blog ID to match e.g. "story" or "page".

Hope this helps. Let me know if there's anything else I can clarify.

Daniel

Re: Drupal Content Types not Recognized

Fantastic. I just tried that, and it worked like a charm. Thanks.

www.thinkmac.net
Mac Tutorials, Reviews, and News!
Home of the Mac Tips Daily! Podcast

Re: Drupal Content Types not Recognized

I'm struggling with this too, but I think I'm reaching for something a little out of the range right now...
I'm using the Drupal extension module called Content Creation Kit to manage custom content types, with lots of additional fields beyond what you'd find in a blog post.
I can see a custom content type as just another blog, but the custom fields don't show up (custom fields are my main reason for using a custom content type :-). MarsEdit seems only to see the title and body fields.
It would be great if ME could detect all the fields in the custom content type and let me edit them. I can imagine that some would be quite challenging - such as references to other nodes, or user links - but having at least the plain text and image fields would be handy.
Have I missed something, or do we need to wait for deeper XMLRPC support in Drupal/CCK?
Is this even something that MarsEdit is appropriate for? I'd love to take advantage of ME's features for this - especially the media manager.

Re: Drupal Content Types not Recognized

I struggle with this too, since I use the CCK on my Drupal site.  For example, for my 'Reviews' section, I have the final conclusion, web links, etc all done with the CCK.  So I can post the review with Mars Edit, but I have to go in on the backend of drupal, and then add the custom content. For example, visit this link, and scroll to the end of the review. http://www.thinkmac.net/review/review-g … podcasters

I have the review image, the web links, price, etc all defined in the CCK, and that's what I have to add after I post the review in the CCK.    Also, it would be nice to be able to 'add' categories, since i have to do that on the backend as well, for categories that I haven't previously used.

I'm working on a review of Mars Edit right now, but unfortunately, I had it almost complete on the server, and my web host shut down and I lost 3 months of content. So I am trying to pick up the pieces with it now, and should have that up soon.

Realistically, I am not expect this feature. It's a price I have to pay to use the CCK. However, a guy can dream...

www.thinkmac.net
Mac Tutorials, Reviews, and News!
Home of the Mac Tips Daily! Podcast

Re: Drupal Content Types not Recognized

I definitely can see where you're both coming from. The core problem is what Sam touched on, that the XMLRPC interface simply doesn't support some of the advanced features you're looking for.

The custom content sounds analogous to "custom fields" in WordPress, and that is something that I've just convinced the WordPress developers to add support for in their XMLRPC implementation. Maybe when that's finished, it will serve as an example that other services could follow.

As for adding categories, that is something which is supported by the latest versions of WordPress, via an extension to the MovableType API that both Drupal and WordPress are based on. This is an API that Drupal could adopt if they want to provide for future enabling of such functionality in MarsEdit.

Daniel

Re: Drupal Content Types not Recognized

OK, I'll get my team used to doing those custom content types in the Drupal web interace for now.
Thanks.

Re: Drupal Content Types not Recognized

I'm preparing to do my first Drupal site, and it's for a newspaper, so I want to see this as well. :-)

-Walter