Re: metaweblog again.

Kimbro Staken <[email protected]> Sat, 1 Nov 2003 20:19:07 -0700
Newsgroups gmane.comp.web.syncato.general
Message-ID <[email protected]>
Separating them is probably the way to go, then we can support blogger 
API clients too.

On Nov 1, 2003, at 8:51 PM, darryl wrote:

> 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/
> _______________________________________________
> Syncato-general mailing list
> Syncato-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/syncato-general
>
>
Kimbro Staken
Software, Consulting and Writing http://www.xmldatabases.org/
Apache Xindice native XML database http://xml.apache.org/xindice
XML:DB Initiative http://www.xmldb.org



-------------------------------------------------------
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/