Re: metaweblog again.
darryl <[email protected]> Sat, 01 Nov 2003 19:51:45 -0800
| Newsgroups | gmane.comp.web.syncato.general |
|---|---|
| Message-ID | <[email protected]> |
A few issues with the metaweblog API:
a) I implemented metaWeblog.getCategories()
* it appears that the metaWeblog API only defines the following
elements:
description, htmlUrl, rssUrl
given the following category (from xmldatabases.org):
<category dbxml:id="259" id="XML">
<title>XML</title>
<description>News and ideas about XML</description>
</category>
i was thinking was to return the 'title' element as the 'description'
sound ok?
b) It seems like most clients that i've tested are faulty :)
The Blogger API and metaWeblog API are different in subtle ways.
for example:
metaWeblog.editPost (postid, username, password, struct, publish)
returns true
blogger.editPost(appkey,postid,username,password,content,publish)
returns true
It appears that even when you set the API to metaWeblog some clients are
using
the blogger method and thus throwing and exception due to the extra
parameter.
Option 1) ignore dumb clients
Option 2) change MetaWeblog.py to use parse the prefix of the method
name instead of just stripping it off
and implement both methods
Option 3) ?
cheers,
darryl
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/