Creating the MetaWeblog API in asp.net

Source: Internet
Author: User

Concept

MetaWeblog is an xml-based RPC communication (download). This means that you have a predefined set of structures (simple data type attributes) that are referred to between the client and the server.

You need to use the following six constructs of the MetaWeblog API:

Bloginfo: The URL, id, or name of the blog.

UserInfo: The ID, first name, last name, or email of the blog user.

Post: Is the blog post, title, Body and category.

CategoryInfo: Blog category information, number and name.

Mediaobject: Names, types, and data about media objects (images, audio, and other file types).

Mediaobjectinfo: Media Object.

As a general rule, you can keep in mind that the MetaWeblog API uses string types as basic types, arguments and return types, and no integer types exist. There are also two types of Boolean and BASE64 encoded strings used in several places.

The MetaWeblog API has nine methods:

Metaweblog.newpost: Add a new post.

Metaweblog.editpost: Update the post.

Metaweblog.getcategories: Get the blog category.

Metaweblog.getpost: Get a single post data.

Metaweblog.getrecentposts: Get the most recent posts.

Metaweblog.newmediaobject: Add a new Media object.

Blogger.deletepost: Delete a post.

Blogger.getuserinfo: Get user information.

Blogger.getusersblogs: Get the user's blog list.

How to create a MetaWeblog

1. Download Xml-rpc.net First, then add references to the project ...

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.