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

  1. __license__   = 'GPL v3'
  2. __copyright__ = '2010, Hiroshi Miura <miurahr@linux.com>'
  3. '''
  4. japan.engadget.com
  5. '''
  6.  
  7. from calibre.web.feeds.news import BasicNewsRecipe
  8.  
  9. class EndgadgetJapan(BasicNewsRecipe):
  10.     title          = u'Endgadget\u65e5\u672c\u7248'
  11.     language = 'ja'
  12.     __author__ = 'Hiroshi Miura'
  13.     cover_url      = 'http://skins18.wincustomize.com/1/49/149320/29/7578/preview-29-7578.jpg'
  14.     masthead_url   = 'http://www.blogsmithmedia.com/japanese.engadget.com/media/eng-jp-logo-t.png'
  15.     oldest_article = 7
  16.     max_articles_per_feed = 100
  17.     no_stylesheets = True
  18.     language = 'ja'
  19.     encoding = 'utf-8'
  20.     feeds          = [(u'engadget', u'http://japanese.engadget.com/rss.xml')]
  21.  
  22.     remove_tags_before = dict(name="div", attrs={'id':"content_wrap"})
  23.     remove_tags_after = dict(name='h3', attrs={'id':'addcomments'})
  24.