The BlogIt API is a simple URL based API that can be used to post a blog entry to Windows Live Spaces.
|
Parameter
|
Required
|
Description
|
|---|
|
Title
|
See Remarks
|
The title becomes the subject of the blog entry.
|
|
Description
|
See Remarks
|
This is filled into the message body.
|
|
SourceURL
|
See Remarks
|
The URL of the source page. The URL is pre-appended to the description before being put in the message body.
|
Any one of the above parameters can be supplied to achieve a successful result. For example, supplying only title will yield success.
The example above passes properties of the current page into the API
http://spaces.live.com/BlogIt.aspx?Title=" + escape(document.title) + "&SourceURL=" + escape(window.location.href) + "&description=" + escape(sel.text)
BlogIt accepts arguments using either querystring or form post.