This commit is contained in:
Kovid Goyal 2009-11-21 06:21:46 -07:00
parent 79f223845d
commit 87c7c91ab2
3 changed files with 89 additions and 88 deletions

View File

@ -49,10 +49,10 @@ class FokkeEnSukkeRecipe(BasicNewsRecipe) :
# Got you! Add it to the list # Got you! Add it to the list
article = {'title' : links[i].renderContents() + ' 2', 'date' : u'', 'url' : self.INDEX + links[i + 2]['href'], 'description' : ''} article = {'title' : links[i].renderContents() + ' 2', 'date' : u'', 'url' : self.INDEX + links[i + 2]['href'], 'description' : ''}
articles.append(article) articles.append(article)
else : else :
# There is only one cartoon for this day. Add it to the list. # There is only one cartoon for this day. Add it to the list.
article = {'title' : links[i].renderContents(), 'date' : u'', 'url' : self.INDEX + links[i]['href'], 'description' : ''} article = {'title' : links[i].renderContents(), 'date' : u'', 'url' : self.INDEX + links[i]['href'], 'description' : ''}
articles.append(article) articles.append(article)
# Might as well use the weeknumber as title # Might as well use the weeknumber as title
week = index.find('span', attrs={'class' : 'week'}).renderContents() week = index.find('span', attrs={'class' : 'week'}).renderContents()

View File

@ -8,6 +8,7 @@ class HBR(BasicNewsRecipe):
needs_subscription = True needs_subscription = True
__author__ = 'Kovid Goyal and Sujata Raman' __author__ = 'Kovid Goyal and Sujata Raman'
timefmt = ' [%B %Y]' timefmt = ' [%B %Y]'
language = 'en'
no_stylesheets = True no_stylesheets = True
LOGIN_URL = 'http://hbr.harvardbusiness.org/login?request_url=/' LOGIN_URL = 'http://hbr.harvardbusiness.org/login?request_url=/'

View File

@ -93,7 +93,7 @@ class POCKETBOOK360(EB600):
VENDOR_NAME = 'PHILIPS' VENDOR_NAME = 'PHILIPS'
WINDOWS_MAIN_MEM = 'MASS_STORGE' WINDOWS_MAIN_MEM = 'MASS_STORGE'
OSX_MAIN_MEM = 'Philips Mass Storge Media' OSX_MAIN_MEM = 'Philips Mass Storge Media'
OSX_CARD_A_MEM = 'Philips Mass Storge Media' OSX_CARD_A_MEM = 'Philips Mass Storge Media'