From 7991fb68ff6eb1b92628cf2435ab97f849b7ba24 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 17 Aug 2013 18:57:44 +0530 Subject: [PATCH] Update Daily Express --- recipes/daily_express.recipe | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/recipes/daily_express.recipe b/recipes/daily_express.recipe index 7d6faabdb9..208fbc7172 100644 --- a/recipes/daily_express.recipe +++ b/recipes/daily_express.recipe @@ -4,18 +4,21 @@ class AdvancedUserRecipe1376229553(BasicNewsRecipe): title = u'Daily Express' __author__ = 'Dave Asbury' language = 'en_GB' + # 13-08-17 remove quoted text from article encoding = 'utf-8' remove_empty_feeds = True #remove_javascript = True no_stylesheets = True - oldest_article = 2 + oldest_article = 1 max_articles_per_feed = 10 #auto_cleanup = True compress_news_images = True - compress_news_images_max_size = 25 + compress_news_images_max_size = 30 ignore_duplicate_articles = {'title', 'url'} remove_tags = [ + dict(attrs={'class' : 'quote'}), + dict(attrs={'class' : 'author'}), dict(name='footer'), dict(attrs={'id' : 'header_addons'}), dict(attrs={'class' : 'hoverException'}), @@ -60,9 +63,11 @@ class AdvancedUserRecipe1376229553(BasicNewsRecipe): return cover_url extra_css = ''' - h1{font-weight:bold;font-size:26px;} - h2{font-weight:normal;font-size:small;} - p{font-size:14px;} - body{font-size:14px;} + h1{font-weight:bold;font-size:175%;} + h2{font-weight:normal;font-size:75%;} + #p{font-size:14px;} + #body{font-size:14px;} + .photo-caption {display: block;margin-left: auto;margin-right: auto;width:100%;font-size:40%;} + .publish-info {font-size:50%;} + .photo img {display: block;margin-left: auto;margin-right: auto;width:100%;} ''' -