home *** CD-ROM | disk | FTP | other *** search
/ Chip 2011 November / CHIP_2011_11.iso / Programy / Narzedzia / Calibre / calibre-0.8.18.msi / file_280 / leduc.recipe < prev    next >
Text File  |  2011-09-09  |  3KB  |  53 lines

  1. from calibre.web.feeds.news import BasicNewsRecipe
  2.  
  3. class AdvancedUserRecipe1292550626(BasicNewsRecipe):
  4.      title = 'Leduc - Wetaskiwin Pipestone Flyer'
  5.      __author__ = 'Brian Hahn'
  6.      description = '''Provides news from central Alberta, Canada.  This is a
  7.  weekly publication that provides coverage from the Cities of Leduc and
  8.  Wetaskiwin, including news from two complete counties, plus the towns and
  9.  villages within.  The counties of Leduc and Wetaskiwin provide news
  10.  coverage of agriculture, sports, government, family, events and opinion.
  11.  This publication updated weekly every Thursday.'''
  12.      oldest_article = 13
  13.      max_articles_per_feed = 100
  14.      no_stylesheets = True
  15.      #delay = 1
  16.      use_embedded_content = False
  17.      publisher = 'Pipestone Publishing'
  18.      category = 'News, Alberta, Canada'
  19.      language = 'en_CA'
  20.      encoding = 'iso-8859-1'
  21.      cover_url = 'http://www.pipestoneflyer.ca/images/calibre-cover.jpg'
  22.      remove_tags_before = dict(id='ContentPanel')
  23.      remove_tags_after  = dict(id='ContentPanel')
  24.      remove_tags = [dict(name='div',
  25.  attrs={'id':'StoryNav'}),dict(name='div',
  26.  attrs={'id':'BottomAds'}),dict(name='div', attrs={'id':'MoreStoryLinks'})]
  27.      extra_css = 'img { margin:5px }'
  28.      feeds = [
  29.  ('Feature', 'http://www.pipestoneflyer.ca/Feature.rss'),
  30.  ('Editors Desk', 'http://www.pipestoneflyer.ca/Editor%27s%20Desk.rss'),
  31.  ('Letters', 'http://www.pipestoneflyer.ca/Letters.rss'),
  32.  ('A Loco Viewpoint',
  33.  'http://www.pipestoneflyer.ca/A%20Loco%20Viewpoint.rss'),
  34.  ('Lifes Doorway', 'http://www.pipestoneflyer.ca/Life%27s%20Doorway.rss'),
  35.  ('From the Otherside',
  36.  'http://www.pipestoneflyer.ca/From%20the%20Otherside.rss'),
  37.  ('Opinion', 'http://www.pipestoneflyer.ca/Opinion.rss'),
  38.  ('Community', 'http://www.pipestoneflyer.ca/Community.rss'),
  39.  ('Sports', 'http://www.pipestoneflyer.ca/Sports.rss'),
  40.  ('Chambers', 'http://www.pipestoneflyer.ca/Chambers.rss'),
  41.  ('Government', 'http://www.pipestoneflyer.ca/Government.rss'),
  42.  ('Travel ', 'http://www.pipestoneflyer.ca/Travel%20.rss'),
  43.  ('Environment', 'http://www.pipestoneflyer.ca/Environment.rss'),
  44.  ('Health', 'http://www.pipestoneflyer.ca/Health.rss'),
  45.  ('Funnies', 'http://www.pipestoneflyer.ca/Funnies.rss'),
  46.  ('Events', 'http://www.pipestoneflyer.ca/Events.rss'),
  47.  ('Faith', 'http://www.pipestoneflyer.ca/Faith.rss'),
  48.  ('News and Views', 'http://www.pipestoneflyer.ca/News%20and%20Views.rss'),
  49.  ('Obituaries', 'http://www.pipestoneflyer.ca/Obituaries.rss'),
  50.  ('Police Blotter', 'http://www.pipestoneflyer.ca/Police%20Blotter.rss'),
  51.  ('Careers', 'http://www.pipestoneflyer.ca/Careers.rss'),
  52.  ]
  53.