diff options
author | FiveFilters.org <[email protected]> | 2021-08-25 02:44:19 +0200 |
---|---|---|
committer | FiveFilters.org <[email protected]> | 2021-08-25 02:44:19 +0200 |
commit | 615ee009616f5970469c406f0f8c7a650029b6d8 (patch) | |
tree | b89c3fac62f7d4c069b73ae0586628afab9038fa /test/test-pages/marketwatch | |
parent | e4643ae92cd4febc6cc5adf635811334cc838d54 (diff) |
Include more ancestors in candidate scoring
https://github.com/mozilla/readability/commit/3844d8f05b3f114e3df16c3bc3caf44e5ba52181
Diffstat (limited to 'test/test-pages/marketwatch')
-rw-r--r-- | test/test-pages/marketwatch/expected-images.json | 6 | ||||
-rw-r--r-- | test/test-pages/marketwatch/expected.html | 55 |
2 files changed, 57 insertions, 4 deletions
diff --git a/test/test-pages/marketwatch/expected-images.json b/test/test-pages/marketwatch/expected-images.json index cfe75d0..cab39a2 100644 --- a/test/test-pages/marketwatch/expected-images.json +++ b/test/test-pages/marketwatch/expected-images.json @@ -1,3 +1,5 @@ [ - "http:\/\/s.marketwatch.com\/public\/resources\/MWimages\/MW-GG178_realty_ZG_20180323163027.jpg" -] + "http:\/\/s.marketwatch.com\/public\/resources\/MWimages\/MW-GG178_realty_ZG_20180323163027.jpg", + "https:\/\/ei.marketwatch.com\/Multimedia\/2018\/03\/23\/Photos\/ZH\/MW-GG178_realty_20180323163027_ZH.jpg?uuid=0597cc9a-2ed9-11e8-a272-ac162d7bc1f7", + "https:\/\/i.mktw.net\/_newsimages\/2014_dreds\/andreariquiernew_100.png" +]
\ No newline at end of file diff --git a/test/test-pages/marketwatch/expected.html b/test/test-pages/marketwatch/expected.html index 2931e37..2531251 100644 --- a/test/test-pages/marketwatch/expected.html +++ b/test/test-pages/marketwatch/expected.html @@ -1,4 +1,49 @@ -<div id="article-body" itemprop="articleBody"> +<div id="topper"> + + + <p id="published-timestamp">Published: <span>Mar 27, 2018 9:00 a.m. ET</span></p> + + + + + + <h2 id="article-subhead" itemprop="alternativeHeadline"> + + +<p>After a lull, San Francisco is back to being one of the top three hottest markets</p> + </h2> + + </div><div id="content-hole"> + + + + + <article id="article" itemscope itemtype="http://schema.org/NewsArticle" itemref="article-headline article-subhead"> + <meta id="article-section" itemprop="articleSection" content> + <meta id="thumbnail-url" itemprop="thumbnailUrl" content> + <meta id="date-created" itemprop="dateCreated" content="Mar 27, 2018 9:00 a.m. ET"> + <meta id="date-published" itemprop="datePublished" content="Mar 27, 2018 9:00 a.m. ET"> + + <figure> + <p><img alt src="https://ei.marketwatch.com/Multimedia/2018/03/23/Photos/ZH/MW-GG178_realty_20180323163027_ZH.jpg?uuid=0597cc9a-2ed9-11e8-a272-ac162d7bc1f7"> + <cite>Bloomberg News/Landov</cite> + </p> + <figcaption>A home for sale in Seattle, Wash., one of the nation’s hottest housing markets. </figcaption> + </figure> + + <div id="article-meat"> + <div id="article-left-rail"> + <p><a href="https://www.marketwatch.com/topics/journalists/andrea-riquier"> + <img alt="Author photo" src="https://i.mktw.net/_newsimages/2014_dreds/andreariquiernew_100.png"> + </a></p><p>By</p> + <a rel="author" title="Andrea Riquier" href="https://www.marketwatch.com/topics/journalists/andrea-riquier"> + + </a> + + + </div> + + <div id="article-body" itemprop="articleBody"> @@ -44,4 +89,10 @@ - </div>
\ No newline at end of file + </div> + </div> + </article> + + + + </div>
\ No newline at end of file |