Community Server on my mind

J-O Eriksson's blog


  • Running on CS 2.1 SP 2

    See top menu for subscription options

    Technology Blogs - Blog Top Sites

    BlogRankers.com

    Add to Technorati Favorites


Browse by Tags

All Tags » Web Services

CS2: Good articles: Creating attachements to CS posts programatically

Some time ago I got a coffe mug as a present from a friend of mine. It's a black coffe mug which has the word 'Geek' written on it in white. Don't know why my friend thought it would fit me. :-)

I wonder, am I a geek if I sometimes get inspired by code? Probably, right? When I read a code article that's good, I get inspired and start thinking of what I could do with the info in the article. Some weeks ago I wrote that Keyvan Nayyeri's posts in his 'CS Dev Guide' series, got me inspired to start programming again, after having done almost nothing in that area for a couple of years.

Today I sat and read an article that Keyvan published on this friday about Post attachements. He shows us how the CommunityServer.Components.PostAttachment object can be used to add attachement to posts in blogs, forums, file gallery etc. He also answers to the question to why Community Server only supports one attachment per post.

Anyway, go there and read it if you're into developing, it's good reading.

With the article he has written about coding against blogs in CS, you have the tools to, for example, build a blog editor for CS that supports pictures (well currently at least one picture per post) without relying on a FTP server, Sharepoint site, Flickr account or similar. I haven't seen any blog editor that does that currently against CS.

Well, you might have to build a web service to support that blog editor, but after reading Keyvans articles about developing against the CS blog that shouldn't be a problem. Hmm, it's been a while since I did develop anything, but you can send files (bit stream) to a web service, can't you?

If you enjoyed this post Subscribe to my feed via RSS or e-mail!