summaryrefslogtreecommitdiff
path: root/test/test-pages/wordpress
diff options
context:
space:
mode:
authorFiveFilters.org <[email protected]>2021-08-25 02:44:19 +0200
committerFiveFilters.org <[email protected]>2021-08-25 02:44:19 +0200
commit615ee009616f5970469c406f0f8c7a650029b6d8 (patch)
treeb89c3fac62f7d4c069b73ae0586628afab9038fa /test/test-pages/wordpress
parente4643ae92cd4febc6cc5adf635811334cc838d54 (diff)
Include more ancestors in candidate scoring
https://github.com/mozilla/readability/commit/3844d8f05b3f114e3df16c3bc3caf44e5ba52181
Diffstat (limited to 'test/test-pages/wordpress')
-rw-r--r--test/test-pages/wordpress/expected-metadata.json6
-rw-r--r--test/test-pages/wordpress/expected.html36
2 files changed, 37 insertions, 5 deletions
diff --git a/test/test-pages/wordpress/expected-metadata.json b/test/test-pages/wordpress/expected-metadata.json
index 9154ef0..7a5a65f 100644
--- a/test/test-pages/wordpress/expected-metadata.json
+++ b/test/test-pages/wordpress/expected-metadata.json
@@ -1,8 +1,8 @@
{
"Author": null,
- "Direction": null,
- "Excerpt": "Stack Overflow published its analysis of 2017 hiring trends based on the targeting options employers selected when posting to Stack Overflow Jobs. The report, which compares data from 200 companies…",
+ "Direction": "ltr",
+ "Excerpt": "Stack Overflow published its analysis of 2017 hiring trends based on the targeting options employers selected when posting to Stack Overflow Jobs. The report, which compares data from 200 companies\u2026",
"Image": "https:\/\/i0.wp.com\/wptavern.com\/wp-content\/uploads\/2016\/07\/stack-overflow.png?fit=1200%2C470&ssl=1",
"Title": "Stack Overflow Jobs Data Shows ReactJS Skills in High Demand, WordPress Market Oversaturated with Developers",
"SiteName": "WordPress Tavern"
-}
+} \ No newline at end of file
diff --git a/test/test-pages/wordpress/expected.html b/test/test-pages/wordpress/expected.html
index 801cdc4..344eb7d 100644
--- a/test/test-pages/wordpress/expected.html
+++ b/test/test-pages/wordpress/expected.html
@@ -1,4 +1,15 @@
-<article id="post-67202" itemscope="itemscope" itemtype="http://schema.org/BlogPosting" itemprop="blogPost">
+<div id="container">
+
+
+
+
+ <main id="content" role="main" tabindex="-1">
+
+
+
+
+
+ <article id="post-67202" itemscope="itemscope" itemtype="http://schema.org/BlogPosting" itemprop="blogPost">
@@ -36,4 +47,25 @@
- </article> \ No newline at end of file
+ </article>
+
+
+
+
+
+
+
+
+
+
+
+
+ </main>
+
+
+
+
+
+
+
+ </div> \ No newline at end of file