Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Recipes


Thread Tools Search this Thread
Old 02-12-2011, 01:54 PM   #1
Tegan began at the beginning.
Posts: 59
Karma: 10
Join Date: Jan 2011
Device: Kindle 1st Gen, Kindle 3 SO
New Recipe - Wyoming Tribune Eagle Online

Just made this for another person I've been helping out with Calibre, thought it might be useful for other folks.

class WyomingTribuneEagle(BasicNewsRecipe):
    title          = u'Wyoming Tribune Eagle Online'
    description    = 'Headquartered in Cheyenne, the Wyoming Tribune-Eagle is the second-largest daily newspaper in Wyoming and its largest locally owned newspaper.'
    __author__     = 'Laura Gjovaag'
    oldest_article = 7
    max_articles_per_feed = 100
    remove_javascript   = True
    no_stylesheets      = True
    remove_empty_feeds  = True

    feeds          = [
                      (u'Local News', u''), 
                      (u'Sports', u''), 
                      (u'Entertainment', u''), 
                      (u'Outdoors', u''), 
                      (u'Editorial', u''), 
                      (u'Editor', u''), 
                      (u'Letters', u''), 
                      (u'Obits', u''),

    def print_version(self, url):
        return url.replace('.txt', '.prt')

    keep_only_tags  = [
                      dict(name='span', attrs={'class':['timestamp']}),
                      dict(name=['h2', 'p']),
Tegan is offline   Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Chronicle Tribune recipe help madman911 Recipes 0 01-29-2011 11:33 PM
Wichita Eagle Newspaper Recipe CommNavRizzo Recipes 0 01-13-2011 01:46 PM
would like a recipe to pull down a free online book N13L5 Recipes 17 10-09-2010 10:38 AM
Fetch Hartford Courant based on Tribune recipe Being Calibre 6 12-27-2009 09:54 AM
Hello from Wyoming kbarnsda Introduce Yourself 3 02-21-2008 12:48 PM

All times are GMT -4. The time now is 01:44 AM. is a privately owned, operated and funded community.