Re: AW: atom export

Ian Bicking <[email protected]> Wed, 08 Dec 2004 01:38:49 -0600
Newsgroups gmane.comp.python.pyds.user
Message-ID <[email protected]>
Bauer, Georg wrote:
>>in atom.  Also, I suspect the PyCS database will take at least a little 
>>more digging than PyDS's (which was pretty simple, once I figured out 
>>just a little bit about metakit).
> 
> 
> The PyCS database is quite simple - only very few tables with some
> subtables. The database stuff itself is handled mostly in pycs_setting.py.
> The comments are in the comments table.

Hmm... I wasn't able to find everything I thought I should be able to 
find (like the actual posts).  But by extending pyds_export a little, I 
was able to export comments as well.  The output isn't entirely valid, 
but that's OK since it's intended as an export format more than a 
syndication feed.  Both files at:

http://svn.colorstudy.com/home/ianb/

(pyds_to_atom.py and pycs_to_atom.py -- pycs_to_atom.py only exports 
comments)

-- 
Ian Bicking  /  [email protected]  / http://blog.ianbicking.org