KBD

Keith Devens .com

Friday, December 5, 2008 Flag waving
Show, don't tell. – unknown
← Requests for /sumthinTime for Wiki →

Daily link icon Thursday, April 10, 2003

Testing Weblog APIs

Ok, I'm done testing the Weblog APIs. I've implemented the following methods for my blog:

  • Blogger API
    • blogger.getUsersBlogs
    • blogger.newPost
    • blogger.editPost
    • blogger.getPost
    • blogger.deletePost
    • blogger.getRecentPosts
  • metaWeblog API
    • metaWeblog.newPost
    • metaWeblog.editPost
    • metaWeblog.getPost
    • metaWeblog.getRecentPosts
    • metaWeblog.getCategories

I really hate how all the stupid methods aren't documented in any one place. I've had to keep a list.

I'm using w.bloggar to post this. It works pretty well, except for two things:

  • when doing a metaweblog.getPost, it doesn't recognize the list of categories. I've checked the XML I'm sending over, and from what I can tell it's the same as it's supposed to be but it's not taking it.
  • Even though there's an option for multiple categories in the "Account properties", there's only support in the user interface for one category at a time. So that means that I can only post entries from w.bloggar with one category. Not so much of a limitation, but if I try to edit entries with more than one category, I'll lose all but one.

Anyway, one of the side-effects of this process is that now my XML-RPC code is up to date and integrated with my CMS. Now all I have to do is add some features and make sure everything works right and then I can release version 3. I couldn't work on the code before now because I wasn't able to use it for anything since it wasn't up to date with my CMS.

← Requests for /sumthinTime for Wiki →

Comments XML gif


Feel free to post a comment below. Please see my comment policy.

Formatting Rules (No HTML):

  • **bold**, *italic*, _underlined_, --strikeout--
  • "text"="url" creates a link, and URLs are auto-highlighted
  • Blockquote: Like e-mail, begin paragraph with > (greater-than sign)
  • Lists: begin paragraph with *,-, or + (unordered), or # (ordered)
  • Code block: ?!code:language=perl|php|sql|javascript|etc.{\n}...{\n}?!/code

:
(will be your IP address if blank)
: (optional)
(Will not be shown on site)

: (optional)
:

December 2008
SunMonTueWedThuFriSat
 123456
78910111213
14151617181920
21222324252627
28293031 



RSS feed RSS feed for Keith's Weblog
Atom feed Atom feed for Keith's Weblog
Weblog archive
Recent comments
  on 4 posts

Recent comments XML

Girls, please don't get breast implants

I have 34 A breast but at 22 years​old they seem to be growing again​which ...

76.64.120.153: Dec 3, 10:00am

Perl 6 1.0 in March?

Doh, my mistake. I'm aware of the​relation between Parrot and Rakudo​but I'...

Keith: Dec 2, 1:03am

Free image hosting sites

Well, TinyPic has this in its​FAQ:

> Images and videos is in​your accoun...

Keith: Dec 1, 1:13am

Join a NameValueCollection into a querystring in C#

Well with a lamba expression, this​is what I came up​with:

?!code:csharp...

Gustaf Lindqvist: Nov 30, 4:38pm

Generated in about 0.19s.

(Used 8 db queries)

mobile phone