Click here to show or hide the menubar.

Home >  Archive >  2010 >  December >  7

Previous / Next

Storing XML post source with Drupal
By Dave Winer on Tuesday, December 07, 2010 at 10:24 AM.

A picture named bandAid.gifTim Cullen took me up on my feature request for blogging tool vendors. permalink

A few links. permalink

1. This is my Drupal test website. permalink

2. My username is Dave Winer. He mailed me my password. permalink

3. The URL of the MetaWeblog API is here. permalink

I think I have everything I need to test it. permalink

Hours later... permalink

After a lot of fumbling and guessing and support from Tim, I was able to get metaweblog.newpost to create a new post. permalink

http://yiwen.pair.com/schange/testbed/node/6 permalink

Let's see if, when I do a metaweblog.getpost, I get back the source code. permalink

metaweblog.getpost failed, but this time I got an error response. (Earlier errors were silent.) permalink

The server, yiwen.pair.com, returned error code -32602: Server error. Invalid method parameters. permalink

The only one that seems could be causing the problem is the postid which I sent across as the number 6. permalink

Then I changed it to the string 6 and it worked. :-) permalink

Did it return a value for postSource? It did. Was it what I sent? permalink

Yeah it looks pretty good. :-) permalink

RSS feed for Scripting News
This site contributes to the scripting.com community river.


© Copyright 1997-2012 Dave Winer. Last update: Tuesday, December 07, 2010 at 3:32 PM Eastern. Last build: 8/26/2012; 6:02:22 PM. "It's even worse than it appears."

RSS feed for Scripting News

Previous / Next