__license__ = 'GPL v3'
__copyright__ = '2011, M. Ching modified from work 2009-2011 Darko Miletic <darko.miletic at gmail.com>'
'''
staradvertiser.com
'''

from calibre.web.feeds.news import BasicNewsRecipe


class Starbulletin(BasicNewsRecipe):
    title = 'Honolulu Star-Advertiser'
    __author__ = 'Darko Miletic'
    description = 'Latest national and local Hawaii sports news'
    publisher = 'Honolulu Star-Advertiser'
    category = 'news, Honolulu, Hawaii'
    oldest_article = 2
    max_articles_per_feed = 100
    language = 'en'
    no_stylesheets = True
    use_embedded_content = False
    encoding = 'utf8'
    publication_type = 'newspaper'
    auto_cleanup = True

    feeds = [
        ('Breaking News', 'http://www.staradvertiser.com/category/breaking-news/feed/'),
        ('Business', 'http://www.staradvertiser.com/business/feed/'),
        ('Sports', 'http://www.staradvertiser.com/sports/feed/'),
        ('Features', 'http://www.staradvertiser.com/features/feed/'),
    ]
