def get_all_entries(feed_url):
 d = feedparser.parse(feed_url)
 entries = []
 for e in d['entries']:
  published = make_aware(datetime.datetime(*e['published_parsed'][:7]), timezone=utc)
  entry = {'title': e['title'], 'summary': e.get('summary', ''), 'pub_date': published, 'url': e['link']}
  entries.append(entry)
 return entries

def get_all_entries ( feed_url ) : d = feedparser . parse ( feed_url ) entries = [ ] for e in d [ 'entries' ] : published = make_aware ( datetime . datetime ( * e [ 'published_parsed' ] [ : 7 ] ) , timezone = utc ) entry = { 'title' : e [ 'title' ] , 'summary' : e . get ( 'summary' , '' ) , 'pub_date' : published , 'url' : e [ 'link' ] } entries . append ( entry ) return entries
retrieve all entries from a feed url .