Sync to trunk.

This commit is contained in:
John Schember 2010-01-01 13:48:19 -05:00
commit fc75a8060a
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ from calibre.ebooks.BeautifulSoup import BeautifulSoup
class TheIndependent(BasicNewsRecipe): class TheIndependent(BasicNewsRecipe):
title = u'The Independent' title = u'The Independent'
language = 'en_UK' language = 'en_GB'
__author__ = 'Krittika Goyal' __author__ = 'Krittika Goyal'
oldest_article = 1 #days oldest_article = 1 #days
max_articles_per_feed = 25 max_articles_per_feed = 25

View File

@ -876,7 +876,7 @@ class Device(DeviceConfig, DevicePlugin):
if tag.startswith(_('News')): if tag.startswith(_('News')):
extra_components.append('News') extra_components.append('News')
c = sanitize(mdata.title if mdata.title else '') c = sanitize(mdata.title if mdata.title else '')
c = c.split('[')[0].strip() #c = c.split('[')[0].strip()
if c: if c:
extra_components.append(c) extra_components.append(c)
else: else: