JoeBlogs
JoeBlogs copied to clipboard
Invalid Response?
I am playing around with your awesome library, and I have some problems (it seems like response is invalid for some methods).
For example: When I try to GetPages I get exception "response contains string value where integer expected". When I try to GetPostStatusList I get "response contains struct value where array expected". ...
I'm using the latest WP version, 3.6.
Is it me or is there actually something wrong with response/library?
Response. The library does what you'd expect, but there was an error in the original WordPress XML-RPC implementation for some Blogger methods. Strangely, they were not consistent; GetPage was an int, but GetPages was an array of strings, not an array of ints as you'd expect.
I actually have rewritten a part of the library to account for the new WordPress methods, and all these are avoided. I'll see if I can push them to the dev branch this week (I just moved so have yet to set up my dev computer.)
Kevin
Thanks for quick response. I see, sorry to hear it was changed...however, looking forward for new release then.
Good luck with it.
Tadej