Cleanup recpe language specifications

This commit is contained in:
Kovid Goyal 2012-11-18 23:58:09 +05:30
parent b7bd073d4a
commit 75bfce3327
9 changed files with 9 additions and 7 deletions

View File

@ -11,7 +11,7 @@ class Buchreport(BasicNewsRecipe) :
title = u'Buchreport' title = u'Buchreport'
timefmt = ' [%d.%m.%Y]' timefmt = ' [%d.%m.%Y]'
encoding = 'cp1252' encoding = 'cp1252'
language = 'de_DE' language = 'de'
extra_css = 'body { margin-left: 0.00em; margin-right: 0.00em; } \ extra_css = 'body { margin-left: 0.00em; margin-right: 0.00em; } \

View File

@ -7,6 +7,7 @@ class AdvancedUserRecipe1332847053(BasicNewsRecipe):
title = u'Editoriali' title = u'Editoriali'
__author__ = 'faber1971' __author__ = 'faber1971'
description = 'Leading articles on Italy by the best Italian editorials' description = 'Leading articles on Italy by the best Italian editorials'
language = 'it'
oldest_article = 1 oldest_article = 1
max_articles_per_feed = 100 max_articles_per_feed = 100

View File

@ -8,6 +8,7 @@ from calibre.web.feeds.news import BasicNewsRecipe
class AdvancedUserRecipe1349086293(BasicNewsRecipe): class AdvancedUserRecipe1349086293(BasicNewsRecipe):
title = u'Foreign Policy' title = u'Foreign Policy'
language = 'en'
__author__ = 'Darko Miletic' __author__ = 'Darko Miletic'
description = 'International News' description = 'International News'
publisher = 'Washingtonpost.Newsweek Interactive, LLC' publisher = 'Washingtonpost.Newsweek Interactive, LLC'

View File

@ -7,7 +7,7 @@ from calibre.web.feeds.news import BasicNewsRecipe
class insider(BasicNewsRecipe): class insider(BasicNewsRecipe):
__author__ = 'bubak' __author__ = 'bubak'
title = 'Insider' title = 'Insider'
language = 'cz' language = 'cs'
remove_tags = [dict(name='div', attrs={'class':'article-related-content'}) remove_tags = [dict(name='div', attrs={'class':'article-related-content'})
,dict(name='div', attrs={'class':'calendar'}) ,dict(name='div', attrs={'class':'calendar'})

View File

@ -4,7 +4,7 @@ class AdvancedUserRecipe1348063712(BasicNewsRecipe):
title = u'Portfolio.hu - English Edition' title = u'Portfolio.hu - English Edition'
__author__ = 'laca' __author__ = 'laca'
oldest_article = 7 oldest_article = 7
language = 'en_HUN' language = 'en_HU'
masthead_url = 'http://www.portfolio.hu/img/sit/angolfejlec2010.jpg' masthead_url = 'http://www.portfolio.hu/img/sit/angolfejlec2010.jpg'
use_embedded_content = False use_embedded_content = False
auto_cleanup = True auto_cleanup = True

View File

@ -6,7 +6,7 @@ from calibre.web.feeds.news import BasicNewsRecipe
class pravo(BasicNewsRecipe): class pravo(BasicNewsRecipe):
__author__ = 'bubak' __author__ = 'bubak'
title = 'Právo' title = 'Právo'
language = 'cz' language = 'cs'
remove_tags_before = dict(name='div', attrs={'class':'rubrika-ostat'}) remove_tags_before = dict(name='div', attrs={'class':'rubrika-ostat'})
remove_tags_after = dict(name='td', attrs={'class':'rubrika'}) remove_tags_after = dict(name='td', attrs={'class':'rubrika'})

View File

@ -16,7 +16,7 @@ class AdvancedUserRecipe1303841067(BasicNewsRecipe):
no_stylesheets = True no_stylesheets = True
remove_javascript = True remove_javascript = True
remove_empty_feeds = True remove_empty_feeds = True
language = 'de_DE' language = 'de'
#conversion_options = {'base_font_size': 20} #conversion_options = {'base_font_size': 20}

View File

@ -4,7 +4,7 @@ class AdvancedUserRecipe1347997197(BasicNewsRecipe):
title = u'XpatLoop.com' title = u'XpatLoop.com'
__author__ = 'laca' __author__ = 'laca'
oldest_article = 7 oldest_article = 7
language = 'en_HUN' language = 'en_HU'
auto_cleanup = True auto_cleanup = True
masthead_url = 'http://www.xpatloop.com/images/cms/xs_logo.gif' masthead_url = 'http://www.xpatloop.com/images/cms/xs_logo.gif'
use_embedded_content = False use_embedded_content = False

View File

@ -16,7 +16,7 @@ class ZeitDe(BasicNewsRecipe):
category = 'news, Germany' category = 'news, Germany'
timefmt = ' [%a, %d %b %Y]' timefmt = ' [%a, %d %b %Y]'
publication_type = 'newspaper' publication_type = 'newspaper'
language = 'de_DE' language = 'de'
encoding = 'UTF-8' encoding = 'UTF-8'
oldest_article = 7 oldest_article = 7