Add missing languages for various recipes

This commit is contained in:
Kovid Goyal 2014-11-06 09:05:44 +05:30
parent 3c06203735
commit 487eb9d4ac
9 changed files with 10 additions and 1 deletions

View File

@ -4,9 +4,10 @@ from calibre.web.feeds.news import BasicNewsRecipe
class AdvancedUserRecipe1390635673(BasicNewsRecipe): class AdvancedUserRecipe1390635673(BasicNewsRecipe):
title = u'Cosmopolitan UK' title = u'Cosmopolitan UK'
description = 'Womens Fashion, beauty and Gossip for women from COSMOPOLITAN -UK' description = 'Womens Fashion, beauty and Gossip for women from COSMOPOLITAN -UK'
language = 'en_GB'
__author__ = 'Dave Asbury' __author__ = 'Dave Asbury'
# 2/2/14 # 2/2/14
oldest_article = 28 oldest_article = 28
max_articles_per_feed = 10 max_articles_per_feed = 10
compress_news_images = True compress_news_images = True

View File

@ -5,6 +5,7 @@ class Counterpunch(BasicNewsRecipe):
oldest_article = 7 oldest_article = 7
max_articles_per_feed = 100 max_articles_per_feed = 100
auto_cleanup = True auto_cleanup = True
language = 'en'
feeds = [(u'Counterpunch', u'http://www.counterpunch.org/category/article/feed/')] feeds = [(u'Counterpunch', u'http://www.counterpunch.org/category/article/feed/')]

View File

@ -10,6 +10,7 @@ class AdvancedUserRecipe1376229553(BasicNewsRecipe):
# 16-11-13 cover adjustment # 16-11-13 cover adjustment
# 19.1.14 changes due to website changes breaking recipe # 19.1.14 changes due to website changes breaking recipe
encoding = 'utf-8' encoding = 'utf-8'
language = 'en_GB'
remove_empty_feeds = True remove_empty_feeds = True
remove_javascript = True remove_javascript = True
no_stylesheets = True no_stylesheets = True

View File

@ -11,6 +11,7 @@ from calibre.web.feeds.news import BasicNewsRecipe
class DarkReading(BasicNewsRecipe): class DarkReading(BasicNewsRecipe):
title = u'Dark Reading' title = u'Dark Reading'
__author__ = 'Brandon Allberry' __author__ = 'Brandon Allberry'
language = 'en'
description = u'Dark Reading is the premier online resource helping information security professionals manage the balance between protection and access. It offers breaking news and analysis on attacks, breaches and vulnerabilities, as well as strategies for protecting enterprise data. It also offers guidance on setting risk management and compliance policies.' description = u'Dark Reading is the premier online resource helping information security professionals manage the balance between protection and access. It offers breaking news and analysis on attacks, breaches and vulnerabilities, as well as strategies for protecting enterprise data. It also offers guidance on setting risk management and compliance policies.'
oldest_article = 7 oldest_article = 7
max_articles_per_feed = 100 max_articles_per_feed = 100

View File

@ -3,6 +3,7 @@
from calibre.web.feeds.news import BasicNewsRecipe from calibre.web.feeds.news import BasicNewsRecipe
class BasicUserRecipe1318572550(BasicNewsRecipe): class BasicUserRecipe1318572550(BasicNewsRecipe):
title = u'FrAndroid' title = u'FrAndroid'
language = 'fr'
oldest_article = 2 oldest_article = 2
max_articles_per_feed = 100 max_articles_per_feed = 100
auto_cleanup = True auto_cleanup = True

View File

@ -4,6 +4,7 @@ from calibre.web.feeds.news import BasicNewsRecipe
class BasicUserRecipe1318572445(BasicNewsRecipe): class BasicUserRecipe1318572445(BasicNewsRecipe):
title = u'Google Mobile Blog' title = u'Google Mobile Blog'
language = 'en'
oldest_article = 7 oldest_article = 7
max_articles_per_feed = 100 max_articles_per_feed = 100
auto_cleanup = True auto_cleanup = True

View File

@ -6,6 +6,7 @@ class NGM(BasicNewsRecipe):
__author__ = 'Krittika Goyal' __author__ = 'Krittika Goyal'
description = 'National Geographic Magazine' description = 'National Geographic Magazine'
timefmt = ' [%d %b, %Y]' timefmt = ' [%d %b, %Y]'
language = 'en'
no_stylesheets = True no_stylesheets = True
auto_cleanup = True auto_cleanup = True

View File

@ -3,6 +3,7 @@
from calibre.web.feeds.news import BasicNewsRecipe from calibre.web.feeds.news import BasicNewsRecipe
class BasicUserRecipe1318619832(BasicNewsRecipe): class BasicUserRecipe1318619832(BasicNewsRecipe):
title = u'OmgUbuntu' title = u'OmgUbuntu'
language = 'en'
oldest_article = 7 oldest_article = 7
max_articles_per_feed = 100 max_articles_per_feed = 100
auto_cleanup = True auto_cleanup = True

View File

@ -6,6 +6,7 @@ class Worldcrunch(BasicNewsRecipe):
oldest_article = 2 #days oldest_article = 2 #days
max_articles_per_feed = 25 max_articles_per_feed = 25
use_embedded_content = False use_embedded_content = False
language = 'en'
no_stylesheets = True no_stylesheets = True
auto_cleanup = True auto_cleanup = True