from calibre.web.feeds.news import BasicNewsRecipe


class AdvancedUserRecipe1282101454(BasicNewsRecipe):
    title = 'West Hawaii Today'
    __author__ = 'Tony Stegall, fixed by HK'
    language = 'en'
    description = 'Westhawaiitoday.com'
    publisher = 'West Hawaii '
    category = 'news,Hawaii,USA'
    oldest_article = 7
    max_articles_per_feed = 100
    no_stylesheets = True
    remove_javascript = True
    use_embedded_content = True

    masthead_url = 'http://images.townnews.com/westhawaiitoday.com/art/whttoplogo.gif'

    feeds = [
        ('http://www.westhawaiitoday.com/taxonomy/term/2/feed'),  # Local News
        # Local Sports
        ('http://www.westhawaiitoday.com/taxonomy/term/15/feed'),
        # Local Features
        ('http://www.westhawaiitoday.com/taxonomy/term/4/feed'),
        # Obituaries
        ('http://www.westhawaiitoday.com/taxonomy/term/12/feed'),
        # Letters
        ('http://www.westhawaiitoday.com/taxonomy/term/18/feed'),
        # Editorial
        ('http://www.westhawaiitoday.com/taxonomy/term/19/feed'),
        # columns
        ('http://www.westhawaiitoday.com/taxonomy/term/20/feed'),
        # Volcano Update (Sundays)
        ('http://www.westhawaiitoday.com/taxonomy/term/13/feed')
    ]
