from calibre.web.feeds.news import BasicNewsRecipe


class MarineCorpsTimes(BasicNewsRecipe):
    title = 'Marine Corps Times'
    __author__ = 'jde'
    __date__ = '16 May 2012'
    __version__ = '1.0'
    description = 'News of the U.S. Marine Corps'
    language = 'en'
    publisher = 'MarineCorpsTimes.com'
    category = 'news, U.S. Marine Corps'
    tags = 'news, U.S. Marine Corps'
    cover_url = 'http://www.marinecorpstimes.com/images/logo_marinetimes-alert.jpg'
    masthead_url = 'http://www.marinecorpstimes.com/images/logo_marinetimes-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 = [

        ('News',   'http://www.MarineCorpstimes.com/rss_news.php'),
        ('Benefits',   'http://www.MarineCorpstimes.com/rss_benefits.php'),
        ('Money',   'http://www.MarineCorpstimes.com/rss_money.php'),
        ('Careers & Education',  'http://www.MarineCorpstimes.com/rss_careers.php'),
        ('Community',  'http://www.MarineCorpstimes.com/rss_community.php'),
        ('Off Duty',   'http://www.MarineCorpstimes.com/rss_off_duty.php'),
        ('Entertainment',  'http://www.MarineCorpstimes.com/rss_entertainment.php'),
        ('Guard & Reserve',  'http://www.MarineCorpstimes.com/rss_guard.php'),
    ]
