By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,624 Members | 1,737 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,624 IT Pros & Developers. It's quick & easy.

xmlrpclib with technorati

P: n/a
I'm trying to write a generic weblog update notifier using xmlrpclib,
starting with technorati. What I want to do is something like this :

XML config file that would look like this:

<server url="http//whatever,technorati.org"
methodname="technoratiMethod">
<param sequence="1" source="myAttrib1" />
<param sequence="2" source="myAttrib2" />
</server>
<server .... another server

and code that would do this (pseudocode):

for serverconfig in xml.findall('server')
put params in sortedParamList
server=xmlrpclib.ServerProxy(serverconfig .attrib['url'])
server.methods[serverconfig
..attrib['methodName']](*sortedParamList)

However, technorati's xml-rpc server gives a permissions error when I
try to call MethodList(). I don't know whether or how I can call a
method on an xml-rpc server by binding the method name rather than
hard-coding it without having access to MethodList()

For bonus points: anybody know if it possible to get xmlrpclib to send
non-ascii parameter values (I know this would be a violation of the
utterly brain-dead xml-rpc spec)
Jul 18 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.