|
|||||
|
My problem may stem from not being a MediaWiki user. I'm doing this job for Doc Searls, who wrote a passionate plea to be able to edit his wiki with the OPML Editor. From a quick glance at the MediaWiki API docs I was pretty sure I'd be able to put something together. I like writing glue for XML-based APIs, it's fairly rewarding work, cause when I'm done there's another cool thing I can do with my outliner, even though it's not likely that I'll use it, personally. ";->"
I had hoped today to be writing a piece about how I got it to work but no luck. It's actually a plea for help. Here goes.
1. What I need is the equivalent of the Metaweblog API. Calls to create a new document (in wiki terms probably a "page"), to get and set the text to an existing document. That's basically it. For bells and whistles there are categories and media objects, but Doc probably doesn't need those so much as he needs to be able create and edit pages on his wiki.
2. I understand that I need to login and get a token. I have the call to login working, so I don't need help there. I probably can figure out how to get a token, but what to do with it? Oy. The docs really assume you know what you're doing before you read them.
3. I think the docs they have get pretty close to getting me going, but I won't be sure until I'm actually going.
If you can shed any light on what's happening here, it would be much appreciated. Assume in advance that I know I'm a pathetic dork with no life, if you skip that part of your advice it would be much appreciated too. ";->"
|
Last update: Wednesday, June 2, 2010; 2:55:25 PM
Mail: On This Day In: . |
||||
|
© Copyright 1997-2010 Dave Winer. |
|||||