From 46cf7998ab2b94d315bbdd0438347cb267f69ff2 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 21 Jan 2021 07:23:27 +0530 Subject: [PATCH] Remove non-working recipe --- recipes/chinadaily.recipe | 46 --------------------------------------- 1 file changed, 46 deletions(-) delete mode 100644 recipes/chinadaily.recipe diff --git a/recipes/chinadaily.recipe b/recipes/chinadaily.recipe deleted file mode 100644 index f534c7eff7..0000000000 --- a/recipes/chinadaily.recipe +++ /dev/null @@ -1,46 +0,0 @@ -# -*- mode: python -*- -# -*- coding: utf-8 -*- -# vim:fileencoding=utf-8 - -__license__ = 'GPL v3' -__copyright__ = '2010 - 2017, Darko Miletic ' -''' -www.chinadaily.com.cn -''' - -from calibre.web.feeds.news import BasicNewsRecipe - - -class Pagina12(BasicNewsRecipe): - title = 'China Daily' - __author__ = 'Darko Miletic' - description = 'Chinadaily.com.cn is the largest English portal in China, providing news, business information, BBS, learning materials.' - publisher = 'China Daily Information Co.' - category = 'news, politics, China' - oldest_article = 2 - max_articles_per_feed = 200 - no_stylesheets = True - encoding = 'utf8' - use_embedded_content = False - language = 'en_CN' - remove_empty_feeds = True - publication_type = 'newsportal' - auto_cleanup = True - masthead_url = 'http://www.chinadaily.com.cn/98103.files/logo.jpg' - extra_css = """ - body{font-family: Arial,Helvetica,sans-serif } - .titlebox{font-family: "Times New Roman",Times,serif} - .timebox, .authorbox{font-size: x-small} - """ - - conversion_options = { - 'comment': description, - 'tags': category, - 'publisher': publisher, - 'language': language - } - - feeds = [ - (u'China Daily', u'http://www.chinadaily.com.cn/rss/cndy_rss.xml'), - (u'HK Edition', u'http://www.chinadaily.com.cn/rss/hk_rss.xml'), - ]