forked from fivefilters/ftr-site-config
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'gh-ftr/master' into shtrom-s-master
- Loading branch information
Showing
5 changed files
with
65 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
body: //article[1] | ||
|
||
strip_id_or_class: blog-item-top-wrapper | ||
strip_id_or_class: eapps-social-share-buttons-container | ||
strip_id_or_class: sqs-gallery-thumbnails | ||
strip_id_or_class: newsletter-form-wrapper | ||
|
||
strip_id_or_class: blog-item-author-profile-wrapper | ||
strip_id_or_class: blog-item-comments | ||
|
||
# images from galery | ||
find_string: data-src="https:// | ||
replace_string: src="https:// | ||
|
||
prune: no | ||
|
||
test_url: https://www.matthewball.vc/all/gaming2024?utm_campaign=mb&utm_medium=newsletter&utm_source=morning_brew | ||
test_url: https://www.matthewball.vc/all/digitalthemeparkplatforms |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
body: //main[1] | //div[@id='page-features'] | ||
|
||
author: //attribute[@name='author']/@value | ||
author: //div[contains(@class, 'byline')]//div[@class='name'] | ||
date: //attribute[@name='date']/@value | ||
date: //div[contains(@class, 'byline')]//div[@class='dates']/text() | ||
|
||
strip_id_or_class: join-community | ||
|
||
strip: //div [contains(@class, 'byline')]/ancestor::section[1] | ||
strip: //section[@class='subscribe-section']/self::section | //section[@class='subscribe-section']/following-sibling::section | ||
|
||
test_url: https://www.mercatornet.com/hosing_down_the_biggest_moral_panic_in_canadian_history | ||
test_url: https://www.mercatornet.com/europe_new_digital_identity_wallet |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,26 @@ | ||
titl: //h1 | ||
author: //div[contains(@class, 'topic__label--author')] | ||
// XXX: can't get the h2 header to be captured | ||
body: //article | //h2[contains(@class, 'topic__header--section')] | ||
title: //h1[1] | ||
author: //a[contains(@href, '/authors/')] | ||
body: //article[1] | ||
|
||
# strip title from text | ||
#strip_id_or_class: topic__quickfacts-label | ||
#strip: //h1[1] | ||
|
||
# or complete header | ||
strip_id_or_class: topicmenu | ||
strip_id_or_class: tablebox | ||
|
||
strip_id_or_class: hide-on-print | ||
|
||
# prevent FTR from showing tooltips as plain-text | ||
strip_id_or_class: tooltip-container | ||
|
||
# pevent wallabg from showing tooltips as plain-text | ||
strip: //a[@data-toggle='tooltip']/following-sibling::a[1] | ||
|
||
prune: no | ||
tidy: no | ||
insert_detected_image: no | ||
|
||
test_url: https://www.msdvetmanual.com/toxicology/food-hazards/raisin-and-grape-toxicosis-in-dogs | ||
test_contains: Xylitol toxicosis occurs in dogs after ingestion of xylitol |