XMLRPC Server

2007-02-06 Thread viscanti
Hi, I'm trying to create an XMLRPC server using apache + python (cgi). It's not too difficult to configure everything, but I would like to tune it in order to receive up to 2000 calls per minute without any problems. Do Pthon CGIs use threading? I need to make it very efficient, but I haven't found

urrlib2 multithreading error

2007-01-16 Thread viscanti
Hi, I'm using urllib2 to retrieve some data usign http in a multithreaded application. Here's a piece of code: req = urllib2.Request(url, txdata, txheaders) opener = urllib2.build_opener() opener.addheaders = [('User-agent', user_agent)]

Execution timeout

2006-07-30 Thread lorenzo . viscanti
X-No-Archive: yes Hi, I'm using feedparser to parse some xml feeds. As others reported (http://sourceforge.net/tracker/index.php?func=detail&aid=1519461&group_id=112328&atid=661937 ) the library halts while parsing some feeds. To overcome this issue I was thinking about creating some kind of wrap

unicode html

2006-07-17 Thread lorenzo . viscanti
X-No-Archive: yes Hi, I've found lots of material on the net about unicode html conversions, but still i'm having many problems converting unicode characters to html entities. Is there any available function to solve this issue? As an example I would like to do this kind of conversion: \uc3B4 => รด