mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
recipe: introduce jiji press
recipe: add masthead images for japanese news
This commit is contained in:
parent
d88e0c5efa
commit
e9775a5c54
@ -10,6 +10,8 @@ from calibre.web.feeds.news import BasicNewsRecipe
|
|||||||
|
|
||||||
class EndgadgetJapan(BasicNewsRecipe):
|
class EndgadgetJapan(BasicNewsRecipe):
|
||||||
title = u'Engadget\u65e5\u672c\u7248'
|
title = u'Engadget\u65e5\u672c\u7248'
|
||||||
|
cover_url = 'http://skins18.wincustomize.com/1/49/149320/29/7578/preview-29-7578.jpg'
|
||||||
|
masthead_url = 'http://www.blogsmithmedia.com/japanese.engadget.com/media/eng-jp-logo-t.png'
|
||||||
oldest_article = 7
|
oldest_article = 7
|
||||||
max_articles_per_feed = 100
|
max_articles_per_feed = 100
|
||||||
no_stylesheets = True
|
no_stylesheets = True
|
||||||
|
24
resources/recipes/jijinews.recipe
Normal file
24
resources/recipes/jijinews.recipe
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
#!/usr/bin/env python
|
||||||
|
|
||||||
|
__license__ = 'GPL v3'
|
||||||
|
__copyright__ = '2010, Hiroshi Miura <miurahr@linux.com>'
|
||||||
|
'''
|
||||||
|
www.jiji.com
|
||||||
|
'''
|
||||||
|
|
||||||
|
class JijiDotCom(BasicNewsRecipe):
|
||||||
|
title = u'\u6642\u4e8b\u901a\u4fe1'
|
||||||
|
__author__ = 'Hiroshi Miura'
|
||||||
|
description = 'World News from Jiji Press'
|
||||||
|
publisher = 'Jiji Press Ltd.'
|
||||||
|
category = 'news'
|
||||||
|
encoding = 'utf-8'
|
||||||
|
oldest_article = 6
|
||||||
|
max_articles_per_feed = 100
|
||||||
|
language = 'ja'
|
||||||
|
cover_url = 'http://www.jiji.com/img/top_header_logo2.gif'
|
||||||
|
masthead_url = 'http://jen.jiji.com/images/logo_jijipress.gif'
|
||||||
|
|
||||||
|
feeds = [(u'\u30cb\u30e5\u30fc\u30b9', u'http://www.jiji.com/rss/ranking.rdf')]
|
||||||
|
remove_tags_after = dict(id="ad_google")
|
||||||
|
|
@ -10,6 +10,8 @@ class NikkeiNet(BasicNewsRecipe):
|
|||||||
title = u'\u65e5\u7d4c\u65b0\u805e\u96fb\u5b50\u7248(Free)'
|
title = u'\u65e5\u7d4c\u65b0\u805e\u96fb\u5b50\u7248(Free)'
|
||||||
__author__ = 'Hiroshi Miura'
|
__author__ = 'Hiroshi Miura'
|
||||||
description = 'News and current market affairs from Japan'
|
description = 'News and current market affairs from Japan'
|
||||||
|
cover_url = 'http://parts.nikkei.com/parts/ds/images/common/logo_r1.svg'
|
||||||
|
masthead_url = 'http://parts.nikkei.com/parts/ds/images/common/logo_r1.svg'
|
||||||
oldest_article = 2
|
oldest_article = 2
|
||||||
max_articles_per_feed = 20
|
max_articles_per_feed = 20
|
||||||
language = 'ja'
|
language = 'ja'
|
||||||
|
@ -17,6 +17,8 @@ class NikkeiNet_sub_economy(BasicNewsRecipe):
|
|||||||
title = u'\u65e5\u7d4c\u65b0\u805e\u96fb\u5b50\u7248(\u7523\u696d)'
|
title = u'\u65e5\u7d4c\u65b0\u805e\u96fb\u5b50\u7248(\u7523\u696d)'
|
||||||
__author__ = 'Hiroshi Miura'
|
__author__ = 'Hiroshi Miura'
|
||||||
description = 'News and current market affairs from Japan'
|
description = 'News and current market affairs from Japan'
|
||||||
|
cover_url = 'http://parts.nikkei.com/parts/ds/images/common/logo_r1.svg'
|
||||||
|
masthead_url = 'http://parts.nikkei.com/parts/ds/images/common/logo_r1.svg'
|
||||||
needs_subscription = True
|
needs_subscription = True
|
||||||
oldest_article = 2
|
oldest_article = 2
|
||||||
max_articles_per_feed = 20
|
max_articles_per_feed = 20
|
||||||
|
@ -17,6 +17,8 @@ class NikkeiNet_sub_industory(BasicNewsRecipe):
|
|||||||
title = u'\u65e5\u7d4c\u65b0\u805e\u96fb\u5b50\u7248(\u7523\u696d)'
|
title = u'\u65e5\u7d4c\u65b0\u805e\u96fb\u5b50\u7248(\u7523\u696d)'
|
||||||
__author__ = 'Hiroshi Miura'
|
__author__ = 'Hiroshi Miura'
|
||||||
description = 'News and current market affairs from Japan'
|
description = 'News and current market affairs from Japan'
|
||||||
|
cover_url = 'http://parts.nikkei.com/parts/ds/images/common/logo_r1.svg'
|
||||||
|
masthead_url = 'http://parts.nikkei.com/parts/ds/images/common/logo_r1.svg'
|
||||||
needs_subscription = True
|
needs_subscription = True
|
||||||
oldest_article = 2
|
oldest_article = 2
|
||||||
max_articles_per_feed = 20
|
max_articles_per_feed = 20
|
||||||
|
@ -17,6 +17,8 @@ class NikkeiNet_sub_life(BasicNewsRecipe):
|
|||||||
title = u'\u65e5\u7d4c\u65b0\u805e\u96fb\u5b50\u7248(\u7523\u696d)'
|
title = u'\u65e5\u7d4c\u65b0\u805e\u96fb\u5b50\u7248(\u7523\u696d)'
|
||||||
__author__ = 'Hiroshi Miura'
|
__author__ = 'Hiroshi Miura'
|
||||||
description = 'News and current market affairs from Japan'
|
description = 'News and current market affairs from Japan'
|
||||||
|
cover_url = 'http://parts.nikkei.com/parts/ds/images/common/logo_r1.svg'
|
||||||
|
masthead_url = 'http://parts.nikkei.com/parts/ds/images/common/logo_r1.svg'
|
||||||
needs_subscription = True
|
needs_subscription = True
|
||||||
oldest_article = 2
|
oldest_article = 2
|
||||||
max_articles_per_feed = 20
|
max_articles_per_feed = 20
|
||||||
|
@ -17,6 +17,8 @@ class NikkeiNet_sub_main(BasicNewsRecipe):
|
|||||||
title = u'\u65e5\u7d4c\u65b0\u805e\u96fb\u5b50\u7248(\u7dcf\u5408)'
|
title = u'\u65e5\u7d4c\u65b0\u805e\u96fb\u5b50\u7248(\u7dcf\u5408)'
|
||||||
__author__ = 'Hiroshi Miura'
|
__author__ = 'Hiroshi Miura'
|
||||||
description = 'News and current market affairs from Japan'
|
description = 'News and current market affairs from Japan'
|
||||||
|
cover_url = 'http://parts.nikkei.com/parts/ds/images/common/logo_r1.svg'
|
||||||
|
masthead_url = 'http://parts.nikkei.com/parts/ds/images/common/logo_r1.svg'
|
||||||
needs_subscription = True
|
needs_subscription = True
|
||||||
oldest_article = 2
|
oldest_article = 2
|
||||||
max_articles_per_feed = 20
|
max_articles_per_feed = 20
|
||||||
|
@ -17,6 +17,8 @@ class NikkeiNet_sub_sports(BasicNewsRecipe):
|
|||||||
title = u'\u65e5\u7d4c\u65b0\u805e\u96fb\u5b50\u7248(\u30b9\u30dd\u30fc\u30c4)'
|
title = u'\u65e5\u7d4c\u65b0\u805e\u96fb\u5b50\u7248(\u30b9\u30dd\u30fc\u30c4)'
|
||||||
__author__ = 'Hiroshi Miura'
|
__author__ = 'Hiroshi Miura'
|
||||||
description = 'News and current market affairs from Japan'
|
description = 'News and current market affairs from Japan'
|
||||||
|
cover_url = 'http://parts.nikkei.com/parts/ds/images/common/logo_r1.svg'
|
||||||
|
masthead_url = 'http://parts.nikkei.com/parts/ds/images/common/logo_r1.svg'
|
||||||
needs_subscription = True
|
needs_subscription = True
|
||||||
oldest_article = 2
|
oldest_article = 2
|
||||||
max_articles_per_feed = 20
|
max_articles_per_feed = 20
|
||||||
|
Loading…
x
Reference in New Issue
Block a user