Add to My Yahoo! | Google Reader or Homepage | Add to Windows Live | Add to Windows Live Alerts

Wictor Wilén

SharePoint Specialist / Author / MCT / MCTS / MCP / MSc ranting about SharePoint and other interesting Microsoft technologies

Windows Live Writer 1.0 beta and Metaweblog API

Posted at 2006-09-29 03:11 by Wictor Wilén in Windows Live Writer with 5 comments.

Windows Live Writer has been upgraded and I wrote a post on the Metaweblog standard conformance of WLW in a previously.

The metaWeblog.getCategories I suggested to use to get it to work with Windows Live Writer will now fail since Writer expects that a description is passed in the response.

That is your response has to look like this, watch the lines 18-21 and 32-35.

1 <?xml version="1.0"?> 2 <methodResponse> 3 <params> 4 <param> 5 <value> 6 <array> 7 <data> 8 <value> 9 <struct> 10 <member> 11 <name>categoryid<name> 12 <value>1</value> 13 <member> 14 <member> 15 <name>titlename> 16 <value>Category 1value> 17 <member> 18 <member> 19 <name>descriptionname> 20 <value>Description 1value> 21 <member> 22 </struct> 23 <struct> 24 <member> 25 <name>categoryidname> 26 <value>2</value> 27 <member> 28 <member> 29 <name>titlename> 30 <value>Category 2value> 31 <member> 32 <member> 33 <name>descriptionname> 34 <value>Description 2</value> 35 </member> 36 </struct> 37 </value> 38 </data> 39 </array> 40 </value> 41 </param> 42 </params> 43 </methodResponse>

Comments and trackbacks

#  Annoy by Hans Nordhaug
Screenshot from websnpr Thx for keeping us up to date. Annoyingly it still doesn't work if you don't send the category id. I can't see that this is part of the API... PS! You have some missing less-than tags for you end-tags above.
#  Re: Annoy by Wictor Wilén
Screenshot from websnpr Hello, WLW does not conform to the standard, as I wrote earlier. This is from the MetaWeblog API RFC: "The struct returned contains one struct for each category, containing the following elements: description, htmlUrl and rssUrl." The missing end-tags is due to some bug in a WLW plugin :-)
#  Happy one year anniversary! by Trackback
Screenshot from websnpr To this site: www.wictorwilen.se! This site and blog has been up an running for a year now and I've had a lot of fun with it. I'm really looking forward to the next one! The number of subscribers is ...
#  Using MetaWebLog API with C# by Trackback
Screenshot from websnpr Using MetaWebLog API with C#
#  Using MetaWebLog API with C# by Trackback
Screenshot from websnpr Using MetaWebLog API with C#
Make a comment on this post:
Subject:  

Your name:  
Your Url:  
Note: submissions may have to be approved before being visible, so don't submit your comment multiple times.

web tracker
msfeedicon The one and only feed enhancement utility for Internet Explorer 7.
Read more...