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

  1. __license__   = 'GPL v3'
  2. __copyright__ = '2011 Phil Burns'
  3. '''
  4. TheJournal.ie
  5. '''
  6.  
  7. from calibre.web.feeds.news import BasicNewsRecipe
  8.  
  9. class TheJournal(BasicNewsRecipe):
  10.  
  11.     __author_              = 'Phil Burns'
  12.     title                  = u'TheJournal.ie'
  13.     oldest_article         = 1
  14.     max_articles_per_feed  = 100
  15.     encoding               = 'utf8'
  16.     language               = 'en_IE'
  17.     timefmt                = ' (%A, %B %d, %Y)'
  18.  
  19.     no_stylesheets         = True
  20.     remove_tags            = [dict(name='div', attrs={'class':'footer'}),
  21.                            dict(name=['script', 'noscript'])]
  22.  
  23.     extra_css              = 'p, div { margin: 0pt; border: 0pt; text-indent: 0.5em }'
  24.  
  25.     feeds                  = [
  26.                           (u'Latest News', u'http://www.thejournal.ie/feed/')]
  27.