16 August 2006

Implementing newMediaObject in CS's MetaWeblog API

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.

Posted 10:50 pm | Archive

Comments

Pjutard on 8/16/2006 at 11:02 pm

I'm looking forward to that post!!!

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

Rory Primrose on 8/17/2006 at 6:09 am

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

on 8/17/2006 at 7:47 am

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.

Nik on 8/17/2006 at 11:20 am

Hi Ken, where can I download that feature?

Thank you very much!

Nicholas

Leo on 8/17/2006 at 12:34 pm

I need that feature!!!

Where can I obtain it?

on 8/17/2006 at 2:12 pm

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

Nik on 8/18/2006 at 12:22 pm

Any news about this?

John on 8/29/2006 at 11:26 am

Hi Ken!

Is this feature ready?

Nik on 9/01/2006 at 8:36 am

Ken, can you please post this great solution?

Thanks a lot!