Package Peapod :: Module peapod :: Class podcastThreaded
[show private | hide private]
[frames | no frames]

Type podcastThreaded

object --+        
         |        
  _Verbose --+    
             |    
        Thread --+
                 |
                podcastThreaded


Update a feed and parse it for new enclosures, using conditional download information, if available. Before downloading, each file is checked against a list of known downloads to prevent duplicates.
Method Summary
  __init__(self, url, title, options, feedLogDict, guidlist, filelist)
  dowehaveit(self, entry)
Check new entry against list of known feed entries and report duplicates.
  fetchFeed(self)
Fetch feed from host and parse it for enclosures, performing conditional downloading if appropriate.
  getcontenturl(self, entry)
Extract enclosure URLs and Content-Type information from feed entry.
  makefeedlogentry(self, feed)
Generate a string to be appended to the feed log for updating conditional download information.
  run(self)
    Inherited from Thread
  __repr__(self)
  getName(self)
  isAlive(self)
  isDaemon(self)
  join(self, timeout)
  setDaemon(self, daemonic)
  setName(self, name)
  start(self)
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Class Variable Summary
str feedlog = ''
str log = ''
int maxfetch = 1                                                                     
str message = ''
str options = ''
str title = ''
str url = ''

Method Details

dowehaveit(self, entry)

Check new entry against list of known feed entries and report duplicates.

fetchFeed(self)

Fetch feed from host and parse it for enclosures, performing conditional downloading if appropriate. If enclosures are found, creates an instance of downloadURL to retrieve the files.

getcontenturl(self, entry)

Extract enclosure URLs and Content-Type information from feed entry.

makefeedlogentry(self, feed)

Generate a string to be appended to the feed log for updating conditional download information.

Class Variable Details

feedlog

Type:
str
Value:
''                                                                     

log

Type:
str
Value:
''                                                                     

maxfetch

Type:
int
Value:
1                                                                     

message

Type:
str
Value:
''                                                                     

options

Type:
str
Value:
''                                                                     

title

Type:
str
Value:
''                                                                     

url

Type:
str
Value:
''                                                                     

Generated by Epydoc 2.1 on Sun Feb 13 06:25:12 2011 http://epydoc.sf.net