In Valid Logic

Endlessly expanding technology

Implementing newMediaObject in CS’s MetaWeblog API

with 9 comments

Quite a while ago, I’d made a reference that I’d written an extension to Community Server’s MetaWeblog API to enable the use of the newMediaObject function, but to my recent realization, I never released the code for it!

With the recent release of Windows Live Writer by Microsoft, I’ve gotten a couple requests for this module and I could have sworn I had packaged it up and posted it, though haven’t been able to find it… so I guess I never did!

Anyway, for all you who are looking for it, I will be posting it either tomorrow or Friday. I’ve gone through and made a couple of updates to it and will be retesting it before releasing it. Main change is that before, it put the files in the File Gallery, though I figured that could quickly get used up by sites using the Express version of Community Server, so instead, it will simply write it to the filesystem. Figure might as well keep it simple. It’ll also support creating individual folders for each blog so that a site using it with multiple users won’t run into naming conflicts on the filenames.

Written by krobertson

August 16th, 2006 at 10:50 pm

Posted in Archive

9 Responses to 'Implementing newMediaObject in CS’s MetaWeblog API'

Subscribe to comments with RSS or TrackBack to 'Implementing newMediaObject in CS’s MetaWeblog API'.

  1. I’m looking forward to that post!!!

    Would be great to use WLW to post without an FTP!!!

    ken

    16 Aug 06 at 11:02pm

  2. Hi Ken,

    It’s fantastic that there will be better integration of WLW and CS.

    Is it possible to have files uploaded as attachments to the post rather than just being placed on the file system? Also, does your extension support adding images to a photo gallery?

    Thanks

    Rory

    ken

    17 Aug 06 at 6:09am

  3. Rory,

    No, it will not support adding them as an attachment.  CS currently only supports one attachment per post, and you could easily end up with 2 or more per post, so making it an attachment would still be limited.

    As for to a photo gallery, no, it will just write them to the filesystem.  It is just simplier that way, since then you have to add configuration values like *which* gallery, and if it is a multi-user site, then everyone needs access to it.  No, file system is just pure and simple.

    ken

    17 Aug 06 at 7:47am

  4. Hi Ken, where can I download that feature?

    Thank you very much!

    Nicholas

    ken

    17 Aug 06 at 11:20am

  5. I need that feature!!!

    Where can I obtain it?

    ken

    17 Aug 06 at 12:34pm

  6. It will be available on my blog when it is done.

    ken

    17 Aug 06 at 2:12pm

  7. Any news about this?

    ken

    18 Aug 06 at 12:22pm

  8. Hi Ken!

    Is this feature ready?

    ken

    29 Aug 06 at 11:26am

  9. Ken, can you please post this great solution?

    Thanks a lot!

    ken

    1 Sep 06 at 8:36am

Leave a Reply

Comments links could be nofollow free.