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

  1. from calibre.web.feeds.news import BasicNewsRecipe
  2. class AdvancedUserRecipe1282101454(BasicNewsRecipe):
  3.     title = 'How To Geek'
  4.     language = 'en'
  5.     __author__ = 'TonytheBookworm'
  6.     description = 'Daily Computer Tips and Tricks'
  7.     publisher = 'Howtogeek'
  8.     category = 'PC,tips,tricks'
  9.     oldest_article = 2
  10.     max_articles_per_feed = 100
  11.     linearize_tables = True
  12.     no_stylesheets = True
  13.     remove_javascript   = True
  14.     masthead_url = 'http://blog.stackoverflow.com/wp-content/uploads/how-to-geek-logo.png'
  15.  
  16.  
  17.  
  18.     remove_tags =[dict(name='a', attrs={'target':['_blank']}),
  19.                   dict(name='table', attrs={'id':['articleTable']}),
  20.                   dict(name='div',   attrs={'class':['feedflare']}),
  21.                   ]
  22.  
  23.     feeds          = [
  24.                       ('Tips', 'http://feeds.howtogeek.com/howtogeek')
  25.  
  26.                     ]
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.