from calibre.web.feeds.news import BasicNewsRecipe


class AdvancedUserRecipe1315899507(BasicNewsRecipe):
    title = u'Sign On San Diego'
    __author__ = 'Jay Kindle'
    description = 'Local news stories from The San Diego Union-Tribune; breaking news, business and technology, local and national sports coverage, entertainment news and reviews.'  # noqa
    publisher = 'Tribune Company'
    category = 'news, politics, USA, San Diego, California, world'
    oldest_article = 2
    max_articles_per_feed = 200
    timefmt = ' [%b %d, %Y]'
    no_stylesheets = True
    encoding = 'utf8'
    use_embedded_content = False
    language = 'en'
    auto_cleanup = True
    remove_empty_feeds = True
    publication_type = 'newspaper'

    feeds = [
        (u'Latest News',
         u'http://www.sandiegouniontribune.com/latest/rss2.0.xml'),
        (u'Business',
         u'http://www.sandiegouniontribune.com/business/rss2.0.xml'),
        (u'Politics',
         u'http://www.sandiegouniontribune.com/news/politics/rss2.0.xml'),
        (u'Immigration',
         u'http://www.sandiegouniontribune.com/news/immigration/rss2.0.xml'),
        (u'Courts',
         u'http://www.sandiegouniontribune.com/news/public-safety/rss2.0.xml'),
        (u'Education',
         u'http://www.sandiegouniontribune.com/news/education/rss2.0.xml'),
        (u'Sports',
         u'http://www.sandiegouniontribune.com/sports/rss2.0.xml'),
        (u'Chargers',
         u'http://www.sandiegouniontribune.com/sports/chargers/rss2.0.xml'),
        (u'Padres',
         u'http://www.sandiegouniontribune.com/sports/padres/rss2.0.xml'),
        (u'NFL',
         u'http://www.sandiegouniontribune.com/sports/nfl/rss2.0.xml'),
        (u'NBA',
         u'http://www.sandiegouniontribune.com/sports/nba/rss2.0.xml'),
        (u'Photos',
         u'http://www.sandiegouniontribune.com/visuals/rss2.0.xml'),
        (u'Entertainment',
         u'http://www.sandiegouniontribune.com/entertainment/rss2.0.xml'),
        (u'Books',
         u'http://www.sandiegouniontribune.com/entertainment/books/rss2.0.xml'),
        (u'Opinion',
         u'http://www.sandiegouniontribune.com/opinion/rss2.0.xml'),
        (u'Travel',
         u'http://www.sandiegouniontribune.com/lifestyle/travel/rss2.0.xml'),
    ]
