In Valid Logic

Endlessly expanding technology

Says who? And guess how this image was attached...


In this shopping center by my place, there is this Chinese restaurant whose name is literally “Wonderful Chinese Restaurant”.  I am supposed to take their word for it?  Perhaps sometime we will be brave enough to try it out, but I am a little weary.  I could say my poop smells like roses, but that doesn’t mean it is true.

So, as you can probably see, I got the blog/gallery all fixed now.  ScottW and I came up with a nifty idea earlier tonight about an even better way to handle single blogs/galleries.  It absolutely kicks ass.  But more about that tomorrow... I got to space out some of my cool news (already have one to talk about in this post).

Ok, so what could be so cool about this post aside from the nice picture on the left from the picture from my camera phone?  Well, this post was made in BlogJet, using the MetaWeblog API.  And no, I did not previously posted the picture and put a link to in here.  While the picture is in my gallery, the picture that is loaded by this blog post was uploaded using BlogJet through the MetaWeblog API in Community Server.  Last night, I was hacking away for a while and wrote an extension to the standard MetaWeblog implementation in CS and implemented the newMediaObject method which allowed you to upload files with a blog post and link to them directly.

How does it work?  Currently in Community Server, we have extended attachments support to the blogs, but we are still limited to only one attachment per post.  So this module circumvents that just a little bit by actually inserting the files into a pre-determined Files Gallery and then linking directly to the file there.  That way, you can include as many pictures/files as you wish.

This feature will not be included with CS itself.  Because it requires you to first setup a File Gallery for the blogs and tell it which one, it isn’t a very clean/out-of-the-box way to do it.  We are planning to implement multiple attachments support, and when that is done, this functionality will be moved into the Community Server core, but this work will not be done for v2.0.  I am going to release this module third-party once we release Beta3 though (soon).  So keep tuned and it will be available shortly.

Wednesday, January 04, 2006

blog comments powered by Disqus