KBD

Keith Devens .com

Friday, September 5, 2008 Flag waving
Nonsense on stilts! – Derived from Jeremy Bentham
← 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)
:

September 2008
SunMonTueWedThuFriSat
 123456
78910111213
14151617181920
21222324252627
282930 



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

Recent comments XML

new⇒Maps of Iraq

This is for Linda, I will be​visiting that site some time in the​near futur...

Bob: Sep 5, 1:20pm

new⇒I hate ASP.NET

Agree.

You can add VS to the​list....

graffic: Sep 5, 5:15am

new⇒Girls, please don't get breast implants

Well alright I just read my above​comment and I wanted to add​this...I shou...

76.66.140.8: Sep 4, 7:31pm

Spider solitaire

I don't think the question was​necessarily if there are unbeatable​games.  ...

Jared: Sep 4, 12:44pm

Convert Pantone Colors to RGB and Hex - Color Conversion Chart

The colors on those website don't​seem to relate to the pantone data​we hav...

blah: Sep 3, 10:12am

Generated in about 0.255s.

(Used 8 db queries)

mobile phone