__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 = [
        (u'Breaking News',
         u'http://www.staradvertiser.com/category/breaking-news/feed/'),
        (u'Business', u'http://www.staradvertiser.com/business/feed/'),
        (u'Sports', u'http://www.staradvertiser.com/sports/feed/'),
        (u'Features',
         u'http://www.staradvertiser.com/features/feed/')
    ]
