From f671b130d1e25ae562377470372b04c7a321fd3f Mon Sep 17 00:00:00 2001 From: a10kiloham Date: Tue, 2 Oct 2018 11:40:48 +0100 Subject: [PATCH 1/3] Remove inline related articles box --- recipes/wsj.recipe | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/recipes/wsj.recipe b/recipes/wsj.recipe index b72be2b1fa..2614912bad 100644 --- a/recipes/wsj.recipe +++ b/recipes/wsj.recipe @@ -70,7 +70,8 @@ class WSJ(BasicNewsRecipe): dict(id='right-rail'), dict(id='narrator-nav'), dict(name='div', id='ad_and_popular'), - classes('right-rail comments-count-container insetButton insettipBox author-info media-object-video article_tools nc-exp-artmeta category'), + classes('right-rail comments-count-container insetButton insettipBox author-info media-object-video + article_tools nc-exp-artmeta category type-InsetArticlesRelatedByType media-object-rich-text'), dict(name='span', attrs={ 'data-country-code': True, 'data-ticker-code': True}), dict(name='meta link'.split()), From 3d8c79baf9f8c7d75d0a83664eaaedd0a0f200a7 Mon Sep 17 00:00:00 2001 From: a10kiloham Date: Tue, 2 Oct 2018 11:43:05 +0100 Subject: [PATCH 2/3] Fix line break --- recipes/wsj.recipe | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/recipes/wsj.recipe b/recipes/wsj.recipe index 2614912bad..56b13c2977 100644 --- a/recipes/wsj.recipe +++ b/recipes/wsj.recipe @@ -70,8 +70,7 @@ class WSJ(BasicNewsRecipe): dict(id='right-rail'), dict(id='narrator-nav'), dict(name='div', id='ad_and_popular'), - classes('right-rail comments-count-container insetButton insettipBox author-info media-object-video - article_tools nc-exp-artmeta category type-InsetArticlesRelatedByType media-object-rich-text'), + classes('right-rail comments-count-container insetButton insettipBox author-info media-object-video article_tools nc-exp-artmeta category type-InsetArticlesRelatedByType media-object-rich-text'), dict(name='span', attrs={ 'data-country-code': True, 'data-ticker-code': True}), dict(name='meta link'.split()), From bfe17411c14b5c42b88f1208de2504c2d5e35a07 Mon Sep 17 00:00:00 2001 From: a10kiloham Date: Tue, 2 Oct 2018 11:47:27 +0100 Subject: [PATCH 3/3] Fixing another inline junk box --- recipes/wsj.recipe | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/wsj.recipe b/recipes/wsj.recipe index 56b13c2977..58b408a85d 100644 --- a/recipes/wsj.recipe +++ b/recipes/wsj.recipe @@ -70,7 +70,7 @@ class WSJ(BasicNewsRecipe): dict(id='right-rail'), dict(id='narrator-nav'), dict(name='div', id='ad_and_popular'), - classes('right-rail comments-count-container insetButton insettipBox author-info media-object-video article_tools nc-exp-artmeta category type-InsetArticlesRelatedByType media-object-rich-text'), + classes('strap-container right-rail comments-count-container insetButton insettipBox author-info media-object-video article_tools nc-exp-artmeta category type-InsetArticlesRelatedByType media-object-rich-text'), dict(name='span', attrs={ 'data-country-code': True, 'data-ticker-code': True}), dict(name='meta link'.split()),