mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 02:34:06 -04:00
en to en_us
This commit is contained in:
parent
75b21a2d79
commit
18d16bc28a
@ -19,7 +19,7 @@ class AmericanThinker(BasicNewsRecipe):
|
||||
oldest_article = 7 # days
|
||||
max_articles_per_feed = 50
|
||||
summary_length = 150
|
||||
language = 'en'
|
||||
language = 'en_US'
|
||||
ignore_duplicate_articles = {'title', 'url'}
|
||||
|
||||
remove_javascript = True
|
||||
|
@ -17,7 +17,7 @@ class TheAmericanSpectator(BasicNewsRecipe):
|
||||
max_articles_per_feed = 100
|
||||
no_stylesheets = True
|
||||
use_embedded_content = False
|
||||
language = 'en'
|
||||
language = 'en_US'
|
||||
auto_cleanup = True
|
||||
encoding = 'utf-8'
|
||||
|
||||
|
@ -10,7 +10,7 @@ class AmericanProspect(BasicNewsRecipe):
|
||||
title = 'American Prospect'
|
||||
__author__ = 'Kovid Goyal'
|
||||
oldest_article = 300
|
||||
language = 'en'
|
||||
language = 'en_US'
|
||||
max_articles_per_feed = 100
|
||||
recursions = 0
|
||||
no_stylesheets = True
|
||||
|
@ -13,7 +13,7 @@ class BaltimoreSun(BasicNewsRecipe):
|
||||
title = 'The Baltimore Sun'
|
||||
__author__ = 'Kovid Goyal'
|
||||
description = 'Complete local news and blogs from Baltimore'
|
||||
language = 'en'
|
||||
language = 'en_US'
|
||||
version = 2.5
|
||||
compress_news_images = True
|
||||
compress_news_images_auto_size = 8
|
||||
|
@ -123,7 +123,7 @@ class BostonGlobeSubscription(BasicNewsRecipe):
|
||||
title = "Boston Globe"
|
||||
__author__ = 'Kovid Goyal'
|
||||
description = 'The Boston Globe'
|
||||
language = 'en'
|
||||
language = 'en_US'
|
||||
timefmt = ' [%a, %d %b, %Y]'
|
||||
keep_only_tags = [
|
||||
class_startswith('headline |', 'subheader |', 'byline |', 'image |', 'lead |', 'body |', 'comic-debug'),
|
||||
|
@ -36,7 +36,7 @@ class BostonGlobePrint(BasicNewsRecipe):
|
||||
title = "Boston Globe | Print Edition"
|
||||
__author__ = 'Kovid Goyal, unkn0wn'
|
||||
description = 'The Boston Globe - Today\'s Paper'
|
||||
language = 'en'
|
||||
language = 'en_US'
|
||||
|
||||
keep_only_tags = [
|
||||
class_startswith('headline |', 'subheader |', 'byline |', 'image |', 'lead |', 'body |', 'comic-debug'),
|
||||
|
@ -8,7 +8,7 @@ from calibre.web.feeds.news import BasicNewsRecipe
|
||||
class AdvancedUserRecipe1234144423(BasicNewsRecipe):
|
||||
title = u'Cincinnati Enquirer'
|
||||
oldest_article = 7
|
||||
language = 'en'
|
||||
language = 'en_US'
|
||||
|
||||
__author__ = 'Joseph Kitzmiller and Sujata Raman'
|
||||
max_articles_per_feed = 100
|
||||
|
@ -15,7 +15,7 @@ class CNN(BasicNewsRecipe):
|
||||
description = 'Global news'
|
||||
timefmt = ' [%d %b %Y]'
|
||||
__author__ = 'Kovid Goyal'
|
||||
language = 'en'
|
||||
language = 'en_US'
|
||||
|
||||
no_stylesheets = True
|
||||
use_embedded_content = False
|
||||
|
@ -19,7 +19,7 @@ class dailyreckoning_us(BasicNewsRecipe):
|
||||
no_stylesheets = True
|
||||
use_embedded_content = False
|
||||
encoding = 'utf-8'
|
||||
language = 'en'
|
||||
language = 'en_US'
|
||||
extra_css = ' #BlogTitle{font-size: x-large; font-weight: bold} #BlogDate{font-size: small} '
|
||||
|
||||
conversion_options = {
|
||||
|
@ -15,7 +15,7 @@ def classes(classes):
|
||||
|
||||
class DenverPost(BasicNewsRecipe):
|
||||
title = u'Denver Post'
|
||||
language = 'en'
|
||||
language = 'en_US'
|
||||
__author__ = 'Kovid Goyal'
|
||||
oldest_article = 1 # days
|
||||
max_articles_per_feed = 20
|
||||
|
@ -23,7 +23,7 @@ class FoxNews(BasicNewsRecipe):
|
||||
encoding = 'utf8'
|
||||
use_embedded_content = False
|
||||
|
||||
language = 'en'
|
||||
language = 'en_US'
|
||||
remove_empty_feeds = True
|
||||
extra_css = """
|
||||
body{font-family: Arial,sans-serif }
|
||||
|
BIN
recipes/icons/irish_times_free.png
Normal file
BIN
recipes/icons/irish_times_free.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 372 B |
@ -3,7 +3,7 @@ from calibre.web.feeds.news import BasicNewsRecipe
|
||||
|
||||
class AdvancedUserRecipe1282101454(BasicNewsRecipe):
|
||||
title = 'Kansas City Star'
|
||||
language = 'en'
|
||||
language = 'en_US'
|
||||
__author__ = 'TonytheBookworm'
|
||||
description = 'www.kansascity.com feed'
|
||||
publisher = 'Tony Stegall'
|
||||
|
@ -5,7 +5,7 @@ class AdvancedUserRecipe1274742400(BasicNewsRecipe):
|
||||
|
||||
title = u'Las Vegas Review Journal'
|
||||
__author__ = 'Kovid Goyal'
|
||||
language = 'en'
|
||||
language = 'en_US'
|
||||
|
||||
oldest_article = 7
|
||||
|
||||
|
@ -55,7 +55,7 @@ class LATimes(BasicNewsRecipe):
|
||||
use_embedded_content = False
|
||||
compress_news_images = True
|
||||
compress_news_images_auto_size = 5
|
||||
language = 'en'
|
||||
language = 'en_US'
|
||||
remove_empty_feeds = True
|
||||
ignore_duplicate_articles = {'url'}
|
||||
publication_type = 'newspaper'
|
||||
|
@ -21,7 +21,7 @@ class TheMiamiHerald(BasicNewsRecipe):
|
||||
oldest_article = 1
|
||||
max_articles_per_feed = 100
|
||||
publisher = u'The Miami Herald'
|
||||
language = 'en'
|
||||
language = 'en_US'
|
||||
no_stylesheets = True
|
||||
use_embedded_content = False
|
||||
encoding = 'utf-8'
|
||||
|
@ -23,7 +23,7 @@ class MsNBC(BasicNewsRecipe):
|
||||
use_embedded_content = False
|
||||
encoding = 'utf8'
|
||||
publisher = 'msnbc.com'
|
||||
language = 'en'
|
||||
language = 'en_US'
|
||||
remove_empty_feeds = True
|
||||
ignore_duplicate_articles = {'title', 'url'}
|
||||
keep_only_tags = [
|
||||
|
@ -28,7 +28,7 @@ class NewYorkReviewOfBooks(BasicNewsRecipe):
|
||||
|
||||
title = u'New York Review of Books'
|
||||
description = u'Book reviews'
|
||||
language = 'en'
|
||||
language = 'en_US'
|
||||
|
||||
__author__ = 'Kovid Goyal'
|
||||
|
||||
|
@ -28,7 +28,7 @@ class NewYorkReviewOfBooks(BasicNewsRecipe):
|
||||
|
||||
title = u'New York Review of Books (no subscription)'
|
||||
description = u'Book reviews'
|
||||
language = 'en'
|
||||
language = 'en_US'
|
||||
|
||||
__author__ = 'Kovid Goyal'
|
||||
|
||||
|
@ -7,7 +7,7 @@ class NYTCooking(BasicNewsRecipe):
|
||||
title = 'NY Times Cooking'
|
||||
description = 'NY Times Cooking Magazine'
|
||||
__author__ = 'gourav'
|
||||
language = 'en'
|
||||
language = 'en_US'
|
||||
encoding = 'utf-8'
|
||||
oldest_article = 2
|
||||
max_articles_per_feed = 30
|
||||
|
@ -23,7 +23,7 @@ from calibre.web.feeds.news import BasicNewsRecipe
|
||||
|
||||
class NYTimesSports(BasicNewsRecipe):
|
||||
title = 'New York Times Sports Beat'
|
||||
language = 'en'
|
||||
language = 'en_US'
|
||||
__author__ = 'rylsfan'
|
||||
description = 'Indepth sports from the New York Times'
|
||||
publisher = 'The New York Times'
|
||||
|
@ -8,7 +8,7 @@ class AdvancedUserRecipe1299640653(BasicNewsRecipe):
|
||||
oldest_article = 30
|
||||
max_articles_per_feed = 100
|
||||
|
||||
language = 'en'
|
||||
language = 'en_US'
|
||||
__author__ = 'noah'
|
||||
description = 'Oakland North'
|
||||
category = 'news'
|
||||
|
@ -18,7 +18,7 @@ class OrangeCountyRegister(BasicNewsRecipe):
|
||||
auto_cleanup = True
|
||||
extra_css = 'div.metaAuthor { display:none;}\n'
|
||||
encoding = 'utf8'
|
||||
language = 'en'
|
||||
language = 'en_US'
|
||||
needs_subscription = False
|
||||
no_stylesheets = True
|
||||
oldest_article = 7
|
||||
|
@ -13,7 +13,7 @@ class SanFranciscoChronicle(BasicNewsRecipe):
|
||||
title = u'San Francisco Chronicle'
|
||||
__author__ = u'Darko Miletic and Sujata Raman'
|
||||
description = u'San Francisco news'
|
||||
language = 'en'
|
||||
language = 'en_US'
|
||||
|
||||
oldest_article = 7
|
||||
max_articles_per_feed = 100
|
||||
|
@ -21,7 +21,7 @@ class MercuryNews(BasicNewsRecipe):
|
||||
no_stylesheets = True
|
||||
use_embedded_content = False
|
||||
encoding = 'utf-8'
|
||||
language = 'en'
|
||||
language = 'en_US'
|
||||
|
||||
conversion_options = {
|
||||
'comment': description, 'tags': category, 'publisher': publisher, 'language': language
|
||||
|
@ -27,7 +27,7 @@ class SeattleTimes(BasicNewsRecipe):
|
||||
no_stylesheets = True
|
||||
use_embedded_content = False
|
||||
encoding = 'utf-8'
|
||||
language = 'en'
|
||||
language = 'en_US'
|
||||
|
||||
keep_only_tags = [
|
||||
classes('article-header featured-media article-body')
|
||||
|
@ -3,7 +3,7 @@ from calibre.web.feeds.news import BasicNewsRecipe
|
||||
|
||||
class SanFranciscoBayGuardian(BasicNewsRecipe):
|
||||
title = u'San Francisco Bay Guardian'
|
||||
language = 'en'
|
||||
language = 'en_US'
|
||||
__author__ = 'Krittika Goyal'
|
||||
oldest_article = 31 # days
|
||||
max_articles_per_feed = 25
|
||||
|
@ -4,7 +4,7 @@ from calibre.web.feeds.news import BasicNewsRecipe
|
||||
class StLouisPostDispatch(BasicNewsRecipe):
|
||||
title = u'St Louis Post-Dispatch'
|
||||
__author__ = 'cisaak'
|
||||
language = 'en'
|
||||
language = 'en_US'
|
||||
category = 'newspaper'
|
||||
masthead_url = 'http://farm5.static.flickr.com/4118/4929686950_0e22e2c88a.jpg'
|
||||
|
||||
|
@ -5,7 +5,7 @@ class AdvancedUserRecipe1282101454(BasicNewsRecipe):
|
||||
title = 'The TMZ'
|
||||
__author__ = 'Tony Stegall'
|
||||
description = 'Celeb Gossip and News'
|
||||
language = 'en'
|
||||
language = 'en_US'
|
||||
publisher = 'The TMZ'
|
||||
category = 'news, celebrity, USA'
|
||||
oldest_article = 1
|
||||
|
@ -20,7 +20,7 @@ class TulsaWorld(BasicNewsRecipe):
|
||||
no_stylesheets = True
|
||||
encoding = 'utf8'
|
||||
use_embedded_content = False
|
||||
language = 'en'
|
||||
language = 'en_US'
|
||||
country = 'US'
|
||||
auto_cleanup=True
|
||||
remove_empty_feeds = True
|
||||
|
@ -24,7 +24,7 @@ class USAToday(BasicNewsRecipe):
|
||||
__author__ = 'Kovid Goyal, unkn0wn'
|
||||
description = 'newspaper'
|
||||
encoding = 'utf-8'
|
||||
language = 'en'
|
||||
language = 'en_US'
|
||||
|
||||
use_embedded_content = False
|
||||
timefmt = ' [%d %b %Y]'
|
||||
|
@ -19,7 +19,7 @@ class LaPrensa(BasicNewsRecipe):
|
||||
no_stylesheets = True
|
||||
use_embedded_content = False
|
||||
encoding = 'utf-8'
|
||||
language = 'en'
|
||||
language = 'en_US'
|
||||
auto_cleanup = True
|
||||
|
||||
feeds = [
|
||||
|
@ -12,7 +12,7 @@ class WashingtonTimes(BasicNewsRecipe):
|
||||
|
||||
title = 'Washington Times'
|
||||
max_articles_per_feed = 15
|
||||
language = 'en'
|
||||
language = 'en_US'
|
||||
__author__ = 'Kos Semonski'
|
||||
|
||||
preprocess_regexps = [(re.compile(i[0], re.IGNORECASE | re.DOTALL), i[1]) for i in
|
||||
|
@ -35,8 +35,8 @@ class WSJ(BasicNewsRecipe):
|
||||
else:
|
||||
title = 'The Wall Street Journal (free)'
|
||||
__author__ = 'Kovid Goyal'
|
||||
description = 'News and current affairs'
|
||||
language = 'en'
|
||||
description = 'Old code. Use WSJ recipes by unkn0wn'
|
||||
language = 'en_US'
|
||||
masthead_url = 'https://s.wsj.net/media/wsj_amp_masthead_lg.png'
|
||||
|
||||
compress_news_images = True
|
||||
|
Loading…
x
Reference in New Issue
Block a user