So here is me doing my first steps in Python. I've read through my first 'I'm totally clueless so learn me everything' book, and I have some sort of toy project to work on. JSPWiki offers an XMLRPC interface, which I would like to integrate with for a decent RecentChanges-to-emaillist tool. HEP, rss2email and Hula all seem to do only a (fair) bit of what I want them to do, so if I want all of my itches to be scratched, I better do my own thing. Plus the scope seems small enough to wrap my peanut brain around. Alas alas, the gods of Python libraries do not seem cooperative today. My not-so-peculiar home office setup requires a HTTP proxy for all outgoing traffic. xmlrpclib at first doesn't seem to support any proxying. But Google comes to rescue, and I find one sort-of-helpful post explaining how you can use urllib to create a proxied Transport. Hoo hum, already too much Python for my brains. I upgrade xmlrpclib while I am at it. After a while and lots of 'connection timeout' waits, I discover Komodo has an outdated version of xmlrpclib.py in a directory specific to the IDE. Which means a different version of that library will be used depending on where I run my application: inside Komodo or using the command line. Bah. Hopefully I have better luck tonight. Or maybe Lazyweb comes to rescue...? Update(I'm getting good at these): it sure helps if you post to the correct URL and read the documentation! The XMLRPC API of JSPWiki is available at http://host/mount/RPC2/, and all method names should be prepended with wiki. Does anyone know something smaller than a peanut?
Comments
So did you the class from the ASPN message work? This less invasive one works for betty.userland.com at least:
Posted by: Mark Paschal at January 22, 2003 09:31 AM
Thanks, Mark. Yes, the ASPN class worked fine. I'm trying to wrap this xmlrpclib stuff into a less xmlrpc-like thing, specific to the JSPWiki XMLRPC interface, with a Page and RecentChanges class and such. I'm taking quite random design decisions since I'm a clueless newbie in all things Python (and no real programming background to build on previous experience, neither), so as you might expect, I could use some review :-)
I'm trying hard to do the Right Thing, though.
Posted by: Steven Noels at January 22, 2003 12:45 PM