sdjournal


Home » Archives » Posts from March 2005

Tuesday, 15th March 2005

WELL Blogs tweaks and feedparser upgrade

I've updated WELL Blogs to use the the latest version of feedparser. This newer version of the parser provides feed content in Unicode so I've updated the bot to encode things in UTF-8.

I've also made a few other enhancements to deal with variations in the flavours of RSS an Atom such as supporting summaries.
11:37PM in WELL Blogs


Monday, 7th March 2005

OnDemandAmazonList

Leonard Richardson recently emailed me a copy of OnDemandAmazonList, which can be used in conjection with PyAmazon to iterate over the results of an Amazon search as though it were a normal list.

Normally it's necessary to fetch the results from Amazon in batches by specifying a different value for the page parameter. Leonard's class abstracts this away by returning you results one at a time via the iterator's next() method which silently fetches the next lot of results from Amazon on demand as required.

This class can be downloaded from the Contributed Code section of the PyAmazon page.
12:31AM in Python pyamazon