returning postID

"darryl" <[email protected]> Thu, 30 Oct 2003 16:38:08 -0600 (CST)
Newsgroups gmane.comp.web.syncato.general
Message-ID <[email protected]>
hey,

Poking around the metaweblog API (what a mess :) )

I need to return a struct which includes the postID from getRecentPosts()

I'm not sure how to do this,
--------------------------------
we iterate over the posts here:

 results = recentRSS.xpathEval('/results/item')
        for item in results:
            entry = {}

            entry['title'] = item.xpathEval('title')[0].content
            body = item.xpathEval('description')[0].serialize(format = 1)
	    print body
            body = re.sub("^<description>", "", body)
            body = re.sub("</description>$", "", body)

            entry['description'] = body
            posts.append(entry)
  return posts
---------------------------------

how can i get the post ID ?

cheers,
darryl




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/