[PyCS-devel] additions today
Status: Alpha
Brought to you by:
myelin
|
From: Phillip P. <pp...@my...> - 2004-02-24 11:13:30
|
Hi guys, I've been hacking on PyCS comments today ... I'm trying to put in a nice way to bulk import comments from elsewhere. I have a scraper that will pull comments from radiocomments2.userland.com, and save them as a Python module. I've added an 'add_comments' function to pycsadm.py and pycsAdmin.py, that will put these into the comments database. There's an odd issue with importing comments. After importing a whole heap of comments, I get a 502 ProtocolError and then the Python process running pycsadm.py crashes with a core dump. This may just be one of those weird "Python doesn't work on FreeBSD" things, but I'll see what I can do about this. For the moment be warned that imports of more than 30 or so posts worth of comments may fail. I've also changed the comment display so that it'll use the user stylesheet if one is given, and also put in some modifications suggested by Robb Beal. The comments are now numbered, and use more CSS instead of tables. Mac folks might want to take a look to make sure I haven't broken them ... I can only test in IE unfortunately :( Cheers, Phil :) |