from calibre.web.feeds.news import BasicNewsRecipe


class AirForceTimes(BasicNewsRecipe):
    title = 'Air Force Times'
    __author__ = 'jde'
    __date__ = '16 May 2012'
    __version__ = '1.0'
    description = 'News of the U.S. Air Force'
    language = 'en'
    publisher = 'AirForceTimes.com'
    category = 'news, U.S. Air Force'
    tags = 'news, U.S. Air Force'
    cover_url = 'http://www.airforcetimes.com/images/logo_airforcetimes_alert.jpg'
    masthead_url = 'http://www.airforcetimes.com/images/logo_airforcetimes_alert.jpg'
    oldest_article = 7  # days
    max_articles_per_feed = 25
    publication_type = 'newspaper'
    no_stylesheets = True
    use_embedded_content = False
    encoding = None
    recursions = 0
    needs_subscription = False
    remove_javascript = True
    remove_empty_feeds = True
    auto_cleanup = True

    feeds = [
        ('Home','http://feeds.feedburner.com/rss/category/air-home?format=xml'),
        ('Health Benefits','http://feeds.feedburner.com/rss/category/air-healthbenefits?format=xml'),
        ('Retirement Benefits','http://feeds.feedburner.com/rss/category/air-retirementbenefits?format=xml'),
        ('Veterans Benefits','http://feeds.feedburner.com/rss/category/air-VeteransBenefits?format=xml'),
        ('Education Benefits','http://feeds.feedburner.com/rss/category/air-educationbenefits?format=xml'),
        ('Adventure','http://feeds.feedburner.com/rss/category/air-adventure?format=xml'),
        ('Entertainment','http://feeds.feedburner.com/rss/category/air-Entertainment?format=xml'),
        ('Careers','http://feeds.feedburner.com/rss/category/air-careers?format=xml'),
        ('Technology','http://feeds.feedburner.com/rss/category/air-technology?format=xml'),
        ('Opinion','http://feeds.feedburner.com/rss/category/air-opinion?format=xml'),
        ('Pay','http://feeds.feedburner.com/rss/category/air-pay?format=xml'),
        ('Guard','http://feeds.feedburner.com/rss/category/air-guard?format=xml'),
        ('Your Air Force','http://feeds.feedburner.com/rss/category/air-yourairforce?format=xml'),
    ]
