From 671b5d0f0a08adf87b3487e9c813d9447a584d96 Mon Sep 17 00:00:00 2001 From: Kennyl Date: Sat, 21 Jan 2017 16:09:08 +0800 Subject: [PATCH 1/2] Summary context resemble to article context Removing summary will condense the TOC from 20 pages to less than 10 pages. --- recipes/oriental_daily.recipe | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes/oriental_daily.recipe b/recipes/oriental_daily.recipe index ae79fe8bee..dd1a3384e4 100644 --- a/recipes/oriental_daily.recipe +++ b/recipes/oriental_daily.recipe @@ -42,4 +42,6 @@ class OrientalDaily(BasicNewsRecipe): remove_attributes = ['width', 'height', 'href'] + summary_length = 0 + feeds = [(u'Oriental Daily', u'http://orientaldaily.on.cc/rss/news.xml')] From 11ccd76b343495865084e04218c8271cc9837c01 Mon Sep 17 00:00:00 2001 From: Kennyl Date: Sat, 21 Jan 2017 16:19:28 +0800 Subject: [PATCH 2/2] Add Cover Image Add Cover Image using wikimedia file --- recipes/oriental_daily.recipe | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/oriental_daily.recipe b/recipes/oriental_daily.recipe index dd1a3384e4..836ee17520 100644 --- a/recipes/oriental_daily.recipe +++ b/recipes/oriental_daily.recipe @@ -25,7 +25,7 @@ class OrientalDaily(BasicNewsRecipe): conversion_options = { 'comments': description, 'tags': category, 'language': language, 'publisher': publisher, 'linearize_tables': True } - + masthead_url = 'https://upload.wikimedia.org/wikipedia/commons/4/4f/Orisun.JPG' remove_tags_after = dict(id='bottomNavCTN') keep_only_tags = [