How does MetaBlogApi process Inline images?

Source: Internet
Author: User

I was curious what happened when I used the new Community Server MetaBlogAPI with inline images when posting from Live Writer. specifically, I wanted to see how and where new folders were created and how image file names were handled.

Two things. for one, this test was done on my dev server because, two, I'm way too much of a control freak with my site to use the MetaBlogAPI for inline images. my blog images are in a folder structure I 've been using since 2003 and arranged by year. i'm not going to change that. I ftp the images to be displayed in my blog posts when I write the post and link to them either online or in Live Writer. of course, one of the beauties of Community Server, same with the new MetaBlogAPI, is that we can modify the source to control every single bit of the transmitted inline image if we want, as several guys have already demonstrated in the week since the new MetaBlogAPI has been released.

Okay, nothing here you haven't already seen. the image is a screenshot of Community Server Roles for a forum at cs.org. yeah, I know. I need to vary my nerd diet a bit. no! I won't do it. I won't! I won't! Oh, sorry...

The inline image process is interesting because rather than link to a web image as I normally do, I add the image from a local hard drive and let the MetaBlogAPI take care of the rest. something else interesting is that Live Writer supports linking to a larger image (set in the sidebar Image Properties), so I scaled the image for display in the post. then on posting with the MetaBlogAPI with Live Writer, not only did the image transfer to my site, but it was hyperlinked to the actual sized image as well. two images are created by the MetaBlogAPI to support this function.

Okay, so now for the all-important question for anal admins: where are the folders created and how are the filenames changed? As we see below, they are created under in a WindowsLiveWriter folder under blogs/OurAppKey. A separate folder is created for each post.

The filenames are only changed to accommodate the Live Writer function of linking to a larger image. If the image is uploaded without any additional linking, its original filename is retained by the MetaBlogAPI. Sweet.

The MetaBlogAPI is a splendid technology. And no one does it better than... well, you know the rest.

Address: http://dbvt.com/blog/archive/2006/11/17/what-happens-when-using-the-cs-metablogapi-with-inline-images.aspx

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.