def parse_feed(feed, podcast):
    """Parse the feed element."""
    try:
        image = feed.image.href
    except AttributeError:
        image = None
    if image != podcast.image_url:
        podcast.image_url = image
    podcast.title = feed.get('title', None)
    podcast.author = feed.get('author', None)
    podcast.language = feed.get('language', None)
    podcast.subtitle = feed.get('subtitle', None)
    podcast.summary = feed.get('summary', None)
    podcast.link = feed.get('link', None)
