summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAndres Rey <[email protected]>2017-12-02 21:06:15 +0000
committerAndres Rey <[email protected]>2017-12-02 21:06:15 +0000
commitd8cb39b7ddeff07f1736e078c20261685586bd3a (patch)
tree0e3346870dc5f1afce6e8ce9cbfb12b6ad90eef7 /test
parentc250ab615235037f50b1c2bae2f8b4371ed59b0e (diff)
Update test cases to check metadata
Diffstat (limited to 'test')
-rw-r--r--test/ReadabilityTest.php21
-rw-r--r--test/test-pages/001/config.json3
-rw-r--r--test/test-pages/001/expected-metadata.json7
-rw-r--r--test/test-pages/002/expected-metadata.json7
-rw-r--r--test/test-pages/ars-1/config.json2
-rw-r--r--test/test-pages/ars-1/expected-metadata.json7
-rw-r--r--test/test-pages/base-url/expected-metadata.json7
-rw-r--r--test/test-pages/basic-tags-cleaning/expected-metadata.json7
-rw-r--r--test/test-pages/bbc-1/expected-metadata.json7
-rw-r--r--test/test-pages/blogger/expected-metadata.json8
-rw-r--r--test/test-pages/breitbart/config.json2
-rw-r--r--test/test-pages/breitbart/expected-metadata.json9
-rw-r--r--test/test-pages/bug-1255978/expected-metadata.json9
-rw-r--r--test/test-pages/buzzfeed-1/expected-metadata.json7
-rw-r--r--test/test-pages/challenges/expected-metadata.json3
-rw-r--r--test/test-pages/clean-links/expected-metadata.json7
-rw-r--r--test/test-pages/cnet/expected-metadata.json9
-rw-r--r--test/test-pages/cnn/expected-metadata.json9
-rw-r--r--test/test-pages/comment-inside-script-parsing/expected-metadata.json7
-rw-r--r--test/test-pages/daringfireball-1/expected-metadata.json7
-rw-r--r--test/test-pages/ehow-1/expected-metadata.json7
-rw-r--r--test/test-pages/ehow-2/expected-metadata.json7
-rw-r--r--test/test-pages/embedded-videos/expected-metadata.json7
-rw-r--r--test/test-pages/gmw/expected-metadata.json9
-rw-r--r--test/test-pages/heise/expected-metadata.json7
-rw-r--r--test/test-pages/herald-sun-1/expected-metadata.json7
-rw-r--r--test/test-pages/iab-1/expected-metadata.json7
-rw-r--r--test/test-pages/ietf-1/expected-metadata.json5
-rw-r--r--test/test-pages/ietf-1/expected.html2
-rw-r--r--test/test-pages/keep-images/expected-metadata.json7
-rw-r--r--test/test-pages/lemonde-1/expected-metadata.json7
-rw-r--r--test/test-pages/liberation-1/expected-metadata.json7
-rw-r--r--test/test-pages/lifehacker-post-comment-load/expected-metadata.json7
-rw-r--r--test/test-pages/lifehacker-working/expected-metadata.json7
-rw-r--r--test/test-pages/links-in-tables/expected-metadata.json8
-rw-r--r--test/test-pages/lwn-1/config.json2
-rw-r--r--test/test-pages/lwn-1/expected-metadata.json7
-rw-r--r--test/test-pages/medium-1/expected-metadata.json7
-rw-r--r--test/test-pages/medium-2/expected-metadata.json7
-rw-r--r--test/test-pages/medium-3/expected-metadata.json9
-rw-r--r--test/test-pages/missing-paragraphs/expected-metadata.json7
-rw-r--r--test/test-pages/mozilla-1/expected-metadata.json9
-rw-r--r--test/test-pages/mozilla-2/expected-metadata.json9
-rw-r--r--test/test-pages/msn/expected-metadata.json7
-rw-r--r--test/test-pages/needs-entity-normalization/expected-metadata.json8
-rw-r--r--test/test-pages/nytimes-1/expected-metadata.json9
-rw-r--r--test/test-pages/nytimes-2/expected-metadata.json9
-rw-r--r--test/test-pages/pixnet/expected-metadata.json9
-rw-r--r--test/test-pages/remove-extra-brs/expected-metadata.json7
-rw-r--r--test/test-pages/remove-extra-paragraphs/expected-metadata.json7
-rw-r--r--test/test-pages/remove-script-tags/expected-metadata.json7
-rw-r--r--test/test-pages/reordering-paragraphs/expected-metadata.json7
-rw-r--r--test/test-pages/replace-brs/expected-metadata.json7
-rw-r--r--test/test-pages/replace-font-tags/expected-metadata.json7
-rw-r--r--test/test-pages/rtl-1/expected-metadata.json9
-rw-r--r--test/test-pages/rtl-2/expected-metadata.json9
-rw-r--r--test/test-pages/rtl-3/expected-metadata.json9
-rw-r--r--test/test-pages/rtl-4/expected-metadata.json9
-rw-r--r--test/test-pages/salon-1/expected-metadata.json7
-rw-r--r--test/test-pages/simplyfound-1/expected-metadata.json7
-rw-r--r--test/test-pages/social-buttons/expected-metadata.json7
-rw-r--r--test/test-pages/style-tags-removal/expected-metadata.json7
-rw-r--r--test/test-pages/svg-parsing/expected-metadata.json7
-rw-r--r--test/test-pages/table-style-attributes/expected-metadata.json9
-rw-r--r--test/test-pages/telegraph/expected-metadata.json9
-rw-r--r--test/test-pages/tmz-1/expected-metadata.json7
-rw-r--r--test/test-pages/tumblr/expected-metadata.json9
-rw-r--r--test/test-pages/wapo-1/expected-metadata.json7
-rw-r--r--test/test-pages/wapo-2/expected-metadata.json7
-rw-r--r--test/test-pages/webmd-1/expected-metadata.json7
-rw-r--r--test/test-pages/webmd-2/expected-metadata.json7
-rw-r--r--test/test-pages/wikia/expected-metadata.json9
-rw-r--r--test/test-pages/wikipedia/expected-metadata.json9
-rw-r--r--test/test-pages/wordpress/expected-metadata.json9
-rw-r--r--test/test-pages/yahoo-1/expected-metadata.json9
-rw-r--r--test/test-pages/yahoo-2/expected-metadata.json7
-rw-r--r--test/test-pages/yahoo-3/expected-metadata.json7
-rw-r--r--test/test-pages/yahoo-4/expected-metadata.json9
-rw-r--r--test/test-pages/youth/expected-metadata.json9
79 files changed, 264 insertions, 324 deletions
diff --git a/test/ReadabilityTest.php b/test/ReadabilityTest.php
index 28673d9..c505ae6 100644
--- a/test/ReadabilityTest.php
+++ b/test/ReadabilityTest.php
@@ -14,12 +14,17 @@ class ReadabilityTest extends \PHPUnit_Framework_TestCase
public function testReadabilityParsesHTML($html, $expectedResult, $expectedMetadata, $config, $expectedImages)
{
$options = ['originalURL' => 'http://fakehost/test/test.html',
- 'fixRelativeURLs' => true,
- 'substituteEntities' => true,
+ 'FixRelativeURLs' => true,
+ 'SubstituteEntities' => true,
+ 'ArticleByLine' => true
];
+ if($config === null || $expectedMetadata === null){
+ $this->markTestSkipped('Wrong test configuration');
+ }
+
if ($config) {
- $options = array_merge($options, $config);
+ $options = array_merge($config, $options);
}
$configuration = new Configuration();
@@ -33,6 +38,11 @@ class ReadabilityTest extends \PHPUnit_Framework_TestCase
$readability->parse($html);
$this->assertEquals($expectedResult, $readability->getContent());
+
+ foreach($expectedMetadata as $key => $metadata){
+ $function = 'get' . $key;
+ $this->assertEquals($metadata, $readability->$function());
+ }
}
/**
@@ -74,10 +84,11 @@ class ReadabilityTest extends \PHPUnit_Framework_TestCase
foreach (array_slice($testPages, 2) as $testPage) {
$source = file_get_contents($path . DIRECTORY_SEPARATOR . $testPage . DIRECTORY_SEPARATOR . 'source.html');
$expectedHTML = file_get_contents($path . DIRECTORY_SEPARATOR . $testPage . DIRECTORY_SEPARATOR . 'expected.html');
- $expectedMetadata = file_get_contents($path . DIRECTORY_SEPARATOR . $testPage . DIRECTORY_SEPARATOR . 'expected-metadata.json');
$expectedImages = file_get_contents($path . DIRECTORY_SEPARATOR . $testPage . DIRECTORY_SEPARATOR . 'expected-images.json');
- $config = null;
+ $expectedMetadata = json_decode(file_get_contents($path . DIRECTORY_SEPARATOR . $testPage . DIRECTORY_SEPARATOR . 'expected-metadata.json'));
+
+ $config = false;
if (file_exists($path . DIRECTORY_SEPARATOR . $testPage . DIRECTORY_SEPARATOR . 'config.json')) {
$config = file_get_contents($path . DIRECTORY_SEPARATOR . $testPage . DIRECTORY_SEPARATOR . 'config.json');
if ($config) {
diff --git a/test/test-pages/001/config.json b/test/test-pages/001/config.json
new file mode 100644
index 0000000..0ac6816
--- /dev/null
+++ b/test/test-pages/001/config.json
@@ -0,0 +1,3 @@
+{
+ "ArticleByLine": true
+} \ No newline at end of file
diff --git a/test/test-pages/001/expected-metadata.json b/test/test-pages/001/expected-metadata.json
index ee91098..c58545d 100644
--- a/test/test-pages/001/expected-metadata.json
+++ b/test/test-pages/001/expected-metadata.json
@@ -1,6 +1,5 @@
{
- "title": "Get your Frontend JavaScript Code Covered | Code",
- "byline": "Nicolas Perriault —",
- "excerpt": "Nicolas Perriault's homepage.",
- "readerable": true
+ "Title": "Get your Frontend JavaScript Code Covered | Code",
+ "Author": "Nicolas Perriault —",
+ "Excerpt": "Nicolas Perriault's homepage."
}
diff --git a/test/test-pages/002/expected-metadata.json b/test/test-pages/002/expected-metadata.json
index 9b020e4..210e551 100644
--- a/test/test-pages/002/expected-metadata.json
+++ b/test/test-pages/002/expected-metadata.json
@@ -1,6 +1,5 @@
{
- "title": "This API is so Fetching! ✩ Mozilla Hacks – the Web developer blog",
- "byline": "Nikhil Marathe",
- "excerpt": "For more than a decade the Web has used XMLHttpRequest (XHR) to achieve asynchronous requests in JavaScript. While very useful, XHR is not a very ...",
- "readerable": true
+ "Title": "This API is so Fetching! ✩ Mozilla Hacks – the Web developer blog",
+ "Author": "Nikhil Marathe",
+ "Excerpt": "For more than a decade the Web has used XMLHttpRequest (XHR) to achieve asynchronous requests in JavaScript. While very useful, XHR is not a very ..."
}
diff --git a/test/test-pages/ars-1/config.json b/test/test-pages/ars-1/config.json
index 6441edf..0ac6816 100644
--- a/test/test-pages/ars-1/config.json
+++ b/test/test-pages/ars-1/config.json
@@ -1,3 +1,3 @@
{
- "articleByLine": true
+ "ArticleByLine": true
} \ No newline at end of file
diff --git a/test/test-pages/ars-1/expected-metadata.json b/test/test-pages/ars-1/expected-metadata.json
index 5d06095..8b3d493 100644
--- a/test/test-pages/ars-1/expected-metadata.json
+++ b/test/test-pages/ars-1/expected-metadata.json
@@ -1,6 +1,5 @@
{
- "title": "Just-released Minecraft exploit makes it easy to crash game servers",
- "byline": "by Dan Goodin - Apr 16, 2015 8:02 pm UTC",
- "excerpt": "Two-year-old bug exposes thousands of servers to crippling attack.",
- "readerable": true
+ "Title": "Just-released Minecraft exploit makes it easy to crash game servers",
+ "Author": "by Dan Goodin - Apr 16, 2015 8:02 pm UTC",
+ "Excerpt": "Two-year-old bug exposes thousands of servers to crippling attack."
}
diff --git a/test/test-pages/base-url/expected-metadata.json b/test/test-pages/base-url/expected-metadata.json
index 0e28053..b26e5cf 100644
--- a/test/test-pages/base-url/expected-metadata.json
+++ b/test/test-pages/base-url/expected-metadata.json
@@ -1,6 +1,5 @@
{
- "title": "Base URL test",
- "byline": null,
- "excerpt": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,\n quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo\n consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse\n cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non\n proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",
- "readerable": false
+ "Title": "Base URL test",
+ "Author": null,
+ "Excerpt": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,\n quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo\n consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse\n cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non\n proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
}
diff --git a/test/test-pages/basic-tags-cleaning/expected-metadata.json b/test/test-pages/basic-tags-cleaning/expected-metadata.json
index baa8c73..f3292d5 100644
--- a/test/test-pages/basic-tags-cleaning/expected-metadata.json
+++ b/test/test-pages/basic-tags-cleaning/expected-metadata.json
@@ -1,6 +1,5 @@
{
- "title": "Basic tag cleaning test",
- "byline": null,
- "excerpt": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n tempor incididunt ut labore et dolore magna aliqua.",
- "readerable": true
+ "Title": "Basic tag cleaning test",
+ "Author": null,
+ "Excerpt": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n tempor incididunt ut labore et dolore magna aliqua."
}
diff --git a/test/test-pages/bbc-1/expected-metadata.json b/test/test-pages/bbc-1/expected-metadata.json
index 028bc58..7569b8f 100644
--- a/test/test-pages/bbc-1/expected-metadata.json
+++ b/test/test-pages/bbc-1/expected-metadata.json
@@ -1,6 +1,5 @@
{
- "title": "Obama admits US gun laws are his 'biggest frustration'",
- "byline": null,
- "excerpt": "President Barack Obama tells the BBC his failure to pass",
- "readerable": true
+ "Title": "Obama admits US gun laws are his 'biggest frustration'",
+ "Author": null,
+ "Excerpt": "President Barack Obama tells the BBC his failure to pass"
}
diff --git a/test/test-pages/blogger/expected-metadata.json b/test/test-pages/blogger/expected-metadata.json
index 69c631c..f912e3b 100644
--- a/test/test-pages/blogger/expected-metadata.json
+++ b/test/test-pages/blogger/expected-metadata.json
@@ -1,7 +1,5 @@
{
- "title": "Open Verilog flow for Silego GreenPak4 programmable logic devices",
- "byline": null,
- "dir": "ltr",
- "excerpt": "I've written a couple of posts in the past few months but they were all for",
- "readerable": true
+ "Title": "Open Verilog flow for Silego GreenPak4 programmable logic devices",
+ "Author": null,
+ "Excerpt": "I've written a couple of posts in the past few months but they were all for the blog at work so I figured I'm long overdue for one on Silic..."
}
diff --git a/test/test-pages/breitbart/config.json b/test/test-pages/breitbart/config.json
index 6441edf..0ac6816 100644
--- a/test/test-pages/breitbart/config.json
+++ b/test/test-pages/breitbart/config.json
@@ -1,3 +1,3 @@
{
- "articleByLine": true
+ "ArticleByLine": true
} \ No newline at end of file
diff --git a/test/test-pages/breitbart/expected-metadata.json b/test/test-pages/breitbart/expected-metadata.json
index c5a2d02..2b968e7 100644
--- a/test/test-pages/breitbart/expected-metadata.json
+++ b/test/test-pages/breitbart/expected-metadata.json
@@ -1,7 +1,6 @@
{
- "title": "'Neutral' Snopes Fact-Checker David Emery: 'Are There Any Un-Angry Trump Supporters?'",
- "byline": "by Lucas Nolan22 Dec 2016651",
- "dir": null,
- "excerpt": "Snopes fact checker and staff writer David Emery posted to Twitter asking if there were “any un-angry Trump supporters?”",
- "readerable": true
+ "Title": "'Neutral' Snopes Fact-Checker David Emery: 'Are There Any Un-Angry Trump Supporters?'",
+ "Author": "by Lucas Nolan22 Dec 2016651",
+ "Direction": null,
+ "Excerpt": "Snopes fact checker and staff writer David Emery posted to Twitter asking if there were “any un-angry Trump supporters?”"
}
diff --git a/test/test-pages/bug-1255978/expected-metadata.json b/test/test-pages/bug-1255978/expected-metadata.json
index 7df5a41..0acbbdf 100644
--- a/test/test-pages/bug-1255978/expected-metadata.json
+++ b/test/test-pages/bug-1255978/expected-metadata.json
@@ -1,7 +1,6 @@
{
- "title": "The seven secrets that hotel owners don't want you to know",
- "byline": "Hazel Sheffield",
- "dir": null,
- "excerpt": "Most people go to hotels for the pleasure of sleeping in a giant bed with clean white sheets and waking up to fresh towels in the morning. But those towels and sheets might not be as clean as they look, according to the hotel bosses that responded to an online thread about the things hotel owners don’t want you to know.",
- "readerable": true
+ "Title": "The seven secrets that hotel owners don't want you to know",
+ "Author": "Hazel Sheffield",
+ "Direction": null,
+ "Excerpt": "Most people go to hotels for the pleasure of sleeping in a giant bed with clean white sheets and waking up to fresh towels in the morning. But those towels and sheets might not be as clean as they look, according to the hotel bosses that responded to an online thread about the things hotel owners don’t want you to know."
}
diff --git a/test/test-pages/buzzfeed-1/expected-metadata.json b/test/test-pages/buzzfeed-1/expected-metadata.json
index 8f171df..d5eca27 100644
--- a/test/test-pages/buzzfeed-1/expected-metadata.json
+++ b/test/test-pages/buzzfeed-1/expected-metadata.json
@@ -1,6 +1,5 @@
{
- "title": "Student Dies After Diet Pills She Bought Online \"Burned Her Up From Within\"",
- "byline": "Mark Di Stefano",
- "excerpt": "An inquest into Eloise Parry's death has been adjourned until July...",
- "readerable": true
+ "Title": "Student Dies After Diet Pills She Bought Online \"Burned Her Up From Within\"",
+ "Author": "Mark Di Stefano",
+ "Excerpt": "An inquest into Eloise Parry's death has been adjourned until July..."
}
diff --git a/test/test-pages/challenges/expected-metadata.json b/test/test-pages/challenges/expected-metadata.json
index e69de29..3b8b0a4 100644
--- a/test/test-pages/challenges/expected-metadata.json
+++ b/test/test-pages/challenges/expected-metadata.json
@@ -0,0 +1,3 @@
+{
+ "Title": "Les motivations du tueur de Las Vegas demeurent floues"
+}
diff --git a/test/test-pages/clean-links/expected-metadata.json b/test/test-pages/clean-links/expected-metadata.json
index c7b4e36..7993d55 100644
--- a/test/test-pages/clean-links/expected-metadata.json
+++ b/test/test-pages/clean-links/expected-metadata.json
@@ -1,6 +1,5 @@
{
- "title": "Bartleby the Scrivener Web Study Text",
- "byline": null,
- "excerpt": "Ere introducing the scrivener, as he first appeared to me, it is fit \n I make some mention of myself, my employees, my business, my chambers, \n and general surroundings; because some such description is indispensable \n to an adequate understanding of the chief character about to be presented.",
- "readerable": true
+ "Title": "Bartleby the Scrivener Web Study Text",
+ "Author": null,
+ "Excerpt": "Ere introducing the scrivener, as he first appeared to me, it is fit \n I make some mention of myself, my employees, my business, my chambers, \n and general surroundings; because some such description is indispensable \n to an adequate understanding of the chief character about to be presented."
}
diff --git a/test/test-pages/cnet/expected-metadata.json b/test/test-pages/cnet/expected-metadata.json
index 4f99537..744652d 100644
--- a/test/test-pages/cnet/expected-metadata.json
+++ b/test/test-pages/cnet/expected-metadata.json
@@ -1,7 +1,6 @@
{
- "title": "Zuckerberg offers peek at Facebook's acquisition strategies",
- "byline": "Steven Musil",
- "dir": null,
- "excerpt": "Facebook CEO says be a friend and have a shared vision, but scare them when you have to and move fast.",
- "readerable": true
+ "Title": "Zuckerberg offers peek at Facebook's acquisition strategies",
+ "Author": "Steven Musil",
+ "Direction": null,
+ "Excerpt": "Facebook CEO says be a friend and have a shared vision, but scare them when you have to and move fast."
}
diff --git a/test/test-pages/cnn/expected-metadata.json b/test/test-pages/cnn/expected-metadata.json
index 723989b..d88d406 100644
--- a/test/test-pages/cnn/expected-metadata.json
+++ b/test/test-pages/cnn/expected-metadata.json
@@ -1,7 +1,6 @@
{
- "title": "The 'birth lottery' and economic mobility",
- "byline": "Ahiza Garcia",
- "dir": null,
- "excerpt": "A recently-released report on poverty and inequality found that the U.S. ranks the lowest among countries with welfare states.",
- "readerable": true
+ "Title": "The 'birth lottery' and economic mobility",
+ "Author": "Ahiza Garcia",
+ "Direction": null,
+ "Excerpt": "A recently-released report on poverty and inequality found that the U.S. ranks the lowest among countries with welfare states."
}
diff --git a/test/test-pages/comment-inside-script-parsing/expected-metadata.json b/test/test-pages/comment-inside-script-parsing/expected-metadata.json
index d3857ba..e5ad501 100644
--- a/test/test-pages/comment-inside-script-parsing/expected-metadata.json
+++ b/test/test-pages/comment-inside-script-parsing/expected-metadata.json
@@ -1,6 +1,5 @@
{
- "title": "Test script parsing",
- "byline": null,
- "excerpt": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n tempor incididunt ut labore et dolore magna aliqua.",
- "readerable": true
+ "Title": "Test script parsing",
+ "Author": null,
+ "Excerpt": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n tempor incididunt ut labore et dolore magna aliqua."
}
diff --git a/test/test-pages/daringfireball-1/expected-metadata.json b/test/test-pages/daringfireball-1/expected-metadata.json
index 18f4c6b..477261f 100644
--- a/test/test-pages/daringfireball-1/expected-metadata.json
+++ b/test/test-pages/daringfireball-1/expected-metadata.json
@@ -1,6 +1,5 @@
{
- "title": "Daring Fireball: Colophon",
- "byline": null,
- "excerpt": "Daring Fireball is written and produced by John Gruber.",
- "readerable": true
+ "Title": "Daring Fireball: Colophon",
+ "Author": null,
+ "Excerpt": "Daring Fireball is written and produced by John Gruber."
}
diff --git a/test/test-pages/ehow-1/expected-metadata.json b/test/test-pages/ehow-1/expected-metadata.json
index 0299347..6cfa7b0 100644
--- a/test/test-pages/ehow-1/expected-metadata.json
+++ b/test/test-pages/ehow-1/expected-metadata.json
@@ -1,6 +1,5 @@
{
- "title": "How to Build a Terrarium (with Pictures)",
- "byline": "Lucy Akins",
- "excerpt": "How to Build a Terrarium. Glass cloche terrariums are not only appealing to the eye, but they also preserve a bit of nature in your home and serve as a simple, yet beautiful, piece of art. Closed terrariums are easy to care for, as they retain much of their own moisture and provide a warm environment with a consistent level of humidity. You...",
- "readerable": true
+ "Title": "How to Build a Terrarium (with Pictures)",
+ "Author": "Lucy Akins",
+ "Excerpt": "How to Build a Terrarium. Glass cloche terrariums are not only appealing to the eye, but they also preserve a bit of nature in your home and serve as a simple, yet beautiful, piece of art. Closed terrariums are easy to care for, as they retain much of their own moisture and provide a warm environment with a consistent level of humidity. You..."
}
diff --git a/test/test-pages/ehow-2/expected-metadata.json b/test/test-pages/ehow-2/expected-metadata.json
index 68b0560..653912e 100644
--- a/test/test-pages/ehow-2/expected-metadata.json
+++ b/test/test-pages/ehow-2/expected-metadata.json
@@ -1,6 +1,5 @@
{
- "title": "How to Throw a Graduation Party on a Budget (with Pictures)",
- "byline": "Gina Roberts-Grey",
- "excerpt": "How to Throw a Graduation Party on a Budget. Graduation parties are a great way to commemorate the years of hard work teens and college co-eds devote to education. They’re also costly for mom and dad.The average cost of a graduation party in 2013 was a whopping $1,200, according to Graduationparty.com; $700 of that was allocated for food....",
- "readerable": true
+ "Title": "How to Throw a Graduation Party on a Budget (with Pictures)",
+ "Author": "Gina Roberts-Grey",
+ "Excerpt": "How to Throw a Graduation Party on a Budget. Graduation parties are a great way to commemorate the years of hard work teens and college co-eds devote to education. They’re also costly for mom and dad.The average cost of a graduation party in 2013 was a whopping $1,200, according to Graduationparty.com; $700 of that was allocated for food...."
}
diff --git a/test/test-pages/embedded-videos/expected-metadata.json b/test/test-pages/embedded-videos/expected-metadata.json
index 0d38424..46e3094 100644
--- a/test/test-pages/embedded-videos/expected-metadata.json
+++ b/test/test-pages/embedded-videos/expected-metadata.json
@@ -1,6 +1,5 @@
{
- "title": "Embedded videos test",
- "byline": null,
- "excerpt": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,\n quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo\n consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse\n cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non\n proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",
- "readerable": false
+ "Title": "Embedded videos test",
+ "Author": null,
+ "Excerpt": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,\n quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo\n consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse\n cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non\n proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
}
diff --git a/test/test-pages/gmw/expected-metadata.json b/test/test-pages/gmw/expected-metadata.json
index 77b24bf..2997886 100644
--- a/test/test-pages/gmw/expected-metadata.json
+++ b/test/test-pages/gmw/expected-metadata.json
@@ -1,7 +1,6 @@
{
- "title": "宇航员在太空中喝酒会怎么样?后果很严重 _探索者 _光明网",
- "byline": "肖春芳",
- "dir": null,
- "excerpt": "不幸的是,对于希望能喝上一杯的太空探险者,那些将他们送上太空的政府机构普遍禁止他们染指包括酒在内的含酒精饮料。",
- "readerable": true
+ "Title": "宇航员在太空中喝酒会怎么样?后果很严重 _探索者 _光明网",
+ "Author": "肖春芳",
+ "Direction": null,
+ "Excerpt": "不幸的是,对于希望能喝上一杯的太空探险者,那些将他们送上太空的政府机构普遍禁止他们染指包括酒在内的含酒精饮料。"
}
diff --git a/test/test-pages/heise/expected-metadata.json b/test/test-pages/heise/expected-metadata.json
index 48a5655..c723ccd 100644
--- a/test/test-pages/heise/expected-metadata.json
+++ b/test/test-pages/heise/expected-metadata.json
@@ -1,6 +1,5 @@
{
- "title": "1Password für Mac generiert Einmal-Passwörter",
- "byline": null,
- "excerpt": "Das in der iOS-Version bereits enthaltene TOTP-Feature ist nun auch für OS X 10.10 verfügbar. Zudem gibt es neue Zusatzfelder in der Datenbank und weitere Verbesserungen.",
- "readerable": true
+ "Title": "1Password für Mac generiert Einmal-Passwörter",
+ "Author": null,
+ "Excerpt": "Das in der iOS-Version bereits enthaltene TOTP-Feature ist nun auch für OS X 10.10 verfügbar. Zudem gibt es neue Zusatzfelder in der Datenbank und weitere Verbesserungen."
}
diff --git a/test/test-pages/herald-sun-1/expected-metadata.json b/test/test-pages/herald-sun-1/expected-metadata.json
index 6c8b59b..4219464 100644
--- a/test/test-pages/herald-sun-1/expected-metadata.json
+++ b/test/test-pages/herald-sun-1/expected-metadata.json
@@ -1,6 +1,5 @@
{
- "title": "Angry media won’t buckle over new surveillance laws\n\t\t\t\t\t\t| Herald Sun",
- "byline": "JOE HILDEBRAND",
- "excerpt": "A HIGH-powered federal government team has been doing the rounds of media organisations in the past few days in an attempt to allay concerns about the impact of new surveillance legislation on press freedom. It failed.",
- "readerable": true
+ "Title": "Angry media won’t buckle over new surveillance laws\n\t\t\t\t\t\t| Herald Sun",
+ "Author": "JOE HILDEBRAND",
+ "Excerpt": "A HIGH-powered federal government team has been doing the rounds of media organisations in the past few days in an attempt to allay concerns about the impact of new surveillance legislation on press freedom. It failed."
}
diff --git a/test/test-pages/iab-1/expected-metadata.json b/test/test-pages/iab-1/expected-metadata.json
index 8c95f5e..8f651b4 100644
--- a/test/test-pages/iab-1/expected-metadata.json
+++ b/test/test-pages/iab-1/expected-metadata.json
@@ -1,6 +1,5 @@
{
- "title": "Getting LEAN with Digital Ad UX",
- "byline": "By\n\t\t\tScott Cunningham",
- "excerpt": "We messed up. As technologists, tasked with delivering content and services to users, we lost track of the user experience. Twenty years ago we saw an explosion of websites, built by developers around the world, providing all forms of content. This was the beginning of an age of enlightenment, the intersection of content and technology. … Continued",
- "readerable": true
+ "Title": "Getting LEAN with Digital Ad UX",
+ "Author": "By\n\t\t\tScott Cunningham",
+ "Excerpt": "We messed up. As technologists, tasked with delivering content and services to users, we lost track of the user experience. Twenty years ago we saw an explosion of websites, built by developers around the world, providing all forms of content. This was the beginning of an age of enlightenment, the intersection of content and technology. … Continued"
}
diff --git a/test/test-pages/ietf-1/expected-metadata.json b/test/test-pages/ietf-1/expected-metadata.json
index b8349d8..1431f27 100644
--- a/test/test-pages/ietf-1/expected-metadata.json
+++ b/test/test-pages/ietf-1/expected-metadata.json
@@ -1,5 +1,4 @@
{
- "title": "draft-dejong-remotestorage-04 - remoteStorage",
- "byline": "AUTHORING",
- "readerable": true
+ "Title": "draft-dejong-remotestorage-04 - remoteStorage",
+ "Author": "AUTHORING"
}
diff --git a/test/test-pages/ietf-1/expected.html b/test/test-pages/ietf-1/expected.html
index 525dad5..15aae73 100644
--- a/test/test-pages/ietf-1/expected.html
+++ b/test/test-pages/ietf-1/expected.html
@@ -1076,7 +1076,7 @@ charset=UTF-8","Content-Length":106}}}
M. Jones, D. Hardt, "The OAuth 2.0 Authorization Framework:
Bearer Token Usage", <a href="http://fakehost/test/rfc6750">RFC6750</a>, October 2012.
- [<a id="ref-AUTHORING" name="ref-AUTHORING">AUTHORING</a>]
+ []
"Using remoteStorage for web authoring", reSite wiki, retrieved
September 2014. <a href="https://github.com/michielbdejong/resite/wiki">https://github.com/michielbdejong/resite/wiki</a>
/Using-remoteStorage-for-web-authoring
diff --git a/test/test-pages/keep-images/expected-metadata.json b/test/test-pages/keep-images/expected-metadata.json
index a62d0ab..3956602 100644
--- a/test/test-pages/keep-images/expected-metadata.json
+++ b/test/test-pages/keep-images/expected-metadata.json
@@ -1,6 +1,5 @@
{
- "title": "Inside the Deep Web Drug Lab — Backchannel — Medium",
- "byline": "Joseph Cox",
- "excerpt": "Welcome to DoctorX’s Barcelona lab, where the drugs you bought online are tested for safety and purity. No questions ask…",
- "readerable": true
+ "Title": "Inside the Deep Web Drug Lab — Backchannel — Medium",
+ "Author": "Joseph Cox",
+ "Excerpt": "Welcome to DoctorX’s Barcelona lab, where the drugs you bought online are tested for safety and purity. No questions ask…"
}
diff --git a/test/test-pages/lemonde-1/expected-metadata.json b/test/test-pages/lemonde-1/expected-metadata.json
index c32b2bb..3d8792a 100644
--- a/test/test-pages/lemonde-1/expected-metadata.json
+++ b/test/test-pages/lemonde-1/expected-metadata.json
@@ -1,6 +1,5 @@
{
- "title": "Le projet de loi sur le renseignement massivement approuvé à l'Assemblée",
- "byline": null,
- "excerpt": "Largement approuvé par les députés, le texte sera désormais examiné par le Sénat, puis le Conseil constitutionnel.",
- "readerable": true
+ "Title": "Le projet de loi sur le renseignement massivement approuvé à l'Assemblée",
+ "Author": null,
+ "Excerpt": "Largement approuvé par les députés, le texte sera désormais examiné par le Sénat, puis le Conseil constitutionnel."
}
diff --git a/test/test-pages/liberation-1/expected-metadata.json b/test/test-pages/liberation-1/expected-metadata.json
index 0f7e5c3..7040bd8 100644
--- a/test/test-pages/liberation-1/expected-metadata.json
+++ b/test/test-pages/liberation-1/expected-metadata.json
@@ -1,6 +1,5 @@
{
- "title": "Un troisième Français mort dans le séisme au Népal",
- "byline": "AFP",
- "excerpt": "Laurent Fabius a accueilli jeudi matin à Roissy un premier avion spécial ramenant des rescapés.",
- "readerable": true
+ "Title": "Un troisième Français mort dans le séisme au Népal",
+ "Author": "AFP",
+ "Excerpt": "Laurent Fabius a accueilli jeudi matin à Roissy un premier avion spécial ramenant des rescapés."
}
diff --git a/test/test-pages/lifehacker-post-comment-load/expected-metadata.json b/test/test-pages/lifehacker-post-comment-load/expected-metadata.json
index ead5dca..1c7f82b 100644
--- a/test/test-pages/lifehacker-post-comment-load/expected-metadata.json
+++ b/test/test-pages/lifehacker-post-comment-load/expected-metadata.json
@@ -1,6 +1,5 @@
{
- "title": "How to Program Your Mind to Stop Buying Crap You Don’t Need",
- "byline": "Patrick Allan",
- "excerpt": "We all buy things from time to time that we don't really need. It's okay to appeal to your wants every once in a while, as long as you're in control. If you struggle with clutter, impulse buys, and buyer's remorse, here's how to put your mind in the right place before you even set foot in a store.",
- "readerable": true
+ "Title": "How to Program Your Mind to Stop Buying Crap You Don’t Need",
+ "Author": "Patrick Allan",
+ "Excerpt": "We all buy things from time to time that we don't really need. It's okay to appeal to your wants every once in a while, as long as you're in control. If you struggle with clutter, impulse buys, and buyer's remorse, here's how to put your mind in the right place before you even set foot in a store."
}
diff --git a/test/test-pages/lifehacker-working/expected-metadata.json b/test/test-pages/lifehacker-working/expected-metadata.json
index ead5dca..1c7f82b 100644
--- a/test/test-pages/lifehacker-working/expected-metadata.json
+++ b/test/test-pages/lifehacker-working/expected-metadata.json
@@ -1,6 +1,5 @@
{
- "title": "How to Program Your Mind to Stop Buying Crap You Don’t Need",
- "byline": "Patrick Allan",
- "excerpt": "We all buy things from time to time that we don't really need. It's okay to appeal to your wants every once in a while, as long as you're in control. If you struggle with clutter, impulse buys, and buyer's remorse, here's how to put your mind in the right place before you even set foot in a store.",
- "readerable": true
+ "Title": "How to Program Your Mind to Stop Buying Crap You Don’t Need",
+ "Author": "Patrick Allan",
+ "Excerpt": "We all buy things from time to time that we don't really need. It's okay to appeal to your wants every once in a while, as long as you're in control. If you struggle with clutter, impulse buys, and buyer's remorse, here's how to put your mind in the right place before you even set foot in a store."
}
diff --git a/test/test-pages/links-in-tables/expected-metadata.json b/test/test-pages/links-in-tables/expected-metadata.json
index b1b58ff..6ff5704 100644
--- a/test/test-pages/links-in-tables/expected-metadata.json
+++ b/test/test-pages/links-in-tables/expected-metadata.json
@@ -1,7 +1,5 @@
{
- "title": "Saving Data: Reducing the size of App Updates by 65%",
- "byline": null,
- "dir": "ltr",
- "excerpt": "Posted by Andrew Hayden, Software Engineer on Google Play",
- "readerable": true
+ "Title": "Saving Data: Reducing the size of App Updates by 65%",
+ "Author": null,
+ "Excerpt": "Posted by Andrew Hayden, Software Engineer on Google Play Android users are downloading tens of billions of apps and games on Google Pla..."
}
diff --git a/test/test-pages/lwn-1/config.json b/test/test-pages/lwn-1/config.json
index 6441edf..0ac6816 100644
--- a/test/test-pages/lwn-1/config.json
+++ b/test/test-pages/lwn-1/config.json
@@ -1,3 +1,3 @@
{
- "articleByLine": true
+ "ArticleByLine": true
} \ No newline at end of file
diff --git a/test/test-pages/lwn-1/expected-metadata.json b/test/test-pages/lwn-1/expected-metadata.json
index 0309a57..7a7ca1c 100644
--- a/test/test-pages/lwn-1/expected-metadata.json
+++ b/test/test-pages/lwn-1/expected-metadata.json
@@ -1,6 +1,5 @@
{
- "title": "LWN.net Weekly Edition for March 26, 2015 [LWN.net]",
- "byline": "By Nathan Willis\n March 25, 2015",
- "excerpt": "The Arduino has been one of the biggest success stories of the open-hardware movement, but that success does not protect it from internal conflict. In recent months, two of the project's founders have come into conflict about the direction of future efforts—and that conflict has turned into a legal dispute about who owns the rights to the Arduino trademark.",
- "readerable": true
+ "Title": "LWN.net Weekly Edition for March 26, 2015 [LWN.net]",
+ "Author": "By Nathan Willis\n March 25, 2015",
+ "Excerpt": "The Arduino has been one of the biggest success stories of the open-hardware movement, but that success does not protect it from internal conflict. In recent months, two of the project's founders have come into conflict about the direction of future efforts—and that conflict has turned into a legal dispute about who owns the rights to the Arduino trademark."
}
diff --git a/test/test-pages/medium-1/expected-metadata.json b/test/test-pages/medium-1/expected-metadata.json
index 232a067..b27963a 100644
--- a/test/test-pages/medium-1/expected-metadata.json
+++ b/test/test-pages/medium-1/expected-metadata.json
@@ -1,6 +1,5 @@
{
- "title": "Better Student Journalism — Medium",
- "byline": "Pippin Lee",
- "excerpt": "We pushed out the first version of the Open Journalism site in January. Here’s what we’ve learned about student journali…",
- "readerable": true
+ "Title": "Better Student Journalism — Medium",
+ "Author": "Pippin Lee",
+ "Excerpt": "We pushed out the first version of the Open Journalism site in January. Here’s what we’ve learned about student journali…"
}
diff --git a/test/test-pages/medium-2/expected-metadata.json b/test/test-pages/medium-2/expected-metadata.json
index dade1f4..d451476 100644
--- a/test/test-pages/medium-2/expected-metadata.json
+++ b/test/test-pages/medium-2/expected-metadata.json
@@ -1,6 +1,5 @@
{
- "title": "On Behalf of “Literally” — Medium",
- "byline": "Courtney Kirchoff",
- "excerpt": "In defense of the word “literally” and why you or someone you know should stop misusing the word, lest they drive us fig…",
- "readerable": true
+ "Title": "On Behalf of “Literally” — Medium",
+ "Author": "Courtney Kirchoff",
+ "Excerpt": "In defense of the word “literally” and why you or someone you know should stop misusing the word, lest they drive us fig…"
}
diff --git a/test/test-pages/medium-3/expected-metadata.json b/test/test-pages/medium-3/expected-metadata.json
index ec8dc2b..c4eaa56 100644
--- a/test/test-pages/medium-3/expected-metadata.json
+++ b/test/test-pages/medium-3/expected-metadata.json
@@ -1,7 +1,6 @@
{
- "title": "Samantha and The Great Big Lie – John C. Welch – Medium",
- "byline": "John C. Welch",
- "dir": null,
- "excerpt": "(EDIT: removed the link to Samantha’s post, because the arments and the grubers and the rest of The Deck Clique got what they wanted: a non-proper person driven off the internet lightly capped with a…",
- "readerable": true
+ "Title": "Samantha and The Great Big Lie – John C. Welch – Medium",
+ "Author": "John C. Welch",
+ "Direction": null,
+ "Excerpt": "(EDIT: removed the link to Samantha’s post, because the arments and the grubers and the rest of The Deck Clique got what they wanted: a non-proper person driven off the internet lightly capped with a…"
}
diff --git a/test/test-pages/missing-paragraphs/expected-metadata.json b/test/test-pages/missing-paragraphs/expected-metadata.json
index 80c8500..ecd9fbc 100644
--- a/test/test-pages/missing-paragraphs/expected-metadata.json
+++ b/test/test-pages/missing-paragraphs/expected-metadata.json
@@ -1,6 +1,5 @@
{
- "title": "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy\n eirmod tempor invidunt",
- "byline": "Henri Sivonen",
- "excerpt": "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy\n eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam\n voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet\n clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit\n amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam\n nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,\n sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.\n Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor\n sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed\n diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,\n sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.\n Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor\n sit amet.",
- "readerable": true
+ "Title": "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy\n eirmod tempor invidunt",
+ "Author": "Henri Sivonen",
+ "Excerpt": "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy\n eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam\n voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet\n clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit\n amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam\n nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,\n sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.\n Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor\n sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed\n diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,\n sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.\n Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor\n sit amet."
}
diff --git a/test/test-pages/mozilla-1/expected-metadata.json b/test/test-pages/mozilla-1/expected-metadata.json
index 63a3699..b6bac46 100644
--- a/test/test-pages/mozilla-1/expected-metadata.json
+++ b/test/test-pages/mozilla-1/expected-metadata.json
@@ -1,7 +1,6 @@
{
- "title": "Firefox — Customize and make it your own — The most flexible browser on\n the Web — Mozilla",
- "byline": null,
- "dir": "ltr",
- "excerpt": "It’s easier than ever to personalize Firefox and make it work the way\n you do.\n No other browser gives you so much choice and flexibility.",
- "readerable": true
+ "Title": "Firefox — Customize and make it your own — The most flexible browser on\n the Web — Mozilla",
+ "Author": null,
+ "Direction": "ltr",
+ "Excerpt": "It’s easier than ever to personalize Firefox and make it work the way\n you do.\n No other browser gives you so much choice and flexibility."
}
diff --git a/test/test-pages/mozilla-2/expected-metadata.json b/test/test-pages/mozilla-2/expected-metadata.json
index d2126a6..de229d8 100644
--- a/test/test-pages/mozilla-2/expected-metadata.json
+++ b/test/test-pages/mozilla-2/expected-metadata.json
@@ -1,7 +1,6 @@
{
- "title": "Welcome to Firefox Developer Edition",
- "byline": null,
- "dir": "ltr",
- "excerpt": "Get to know the features that make it the most complete browser for building the Web.",
- "readerable": false
+ "Title": "Welcome to Firefox Developer Edition",
+ "Author": null,
+ "Direction": "ltr",
+ "Excerpt": "Built for those who build the Web. Introducing the only browser made for developers."
}
diff --git a/test/test-pages/msn/expected-metadata.json b/test/test-pages/msn/expected-metadata.json
index 3923309..e4fff27 100644
--- a/test/test-pages/msn/expected-metadata.json
+++ b/test/test-pages/msn/expected-metadata.json
@@ -1,6 +1,5 @@
{
- "title": "Nintendo's first iPhone game will launch in December for $10",
- "byline": "Alex Perry\n \n 1 day ago",
- "excerpt": "Nintendo and Apple shocked the world earlier this year by announcing \"Super Mario Run,\" the legendary gaming company's first foray into mobile gaming.&nbsp;",
- "readerable": true
+ "Title": "Nintendo's first iPhone game will launch in December for $10",
+ "Author": "Alex Perry",
+ "Excerpt": "Nintendo and Apple shocked the world earlier this year by announcing \"Super Mario Run,\" the legendary gaming company's first foray into mobile gaming.&nbsp;"
}
diff --git a/test/test-pages/needs-entity-normalization/expected-metadata.json b/test/test-pages/needs-entity-normalization/expected-metadata.json
index 3531939..aea0400 100644
--- a/test/test-pages/needs-entity-normalization/expected-metadata.json
+++ b/test/test-pages/needs-entity-normalization/expected-metadata.json
@@ -1,7 +1,5 @@
{
- "title": "",
- "byline": null,
- "dir": "ltr",
- "excerpt": "",
- "readerable": false
+ "Title": "Daniele, a Mestre: \"En unos meses se va a borrar la sonrisa\"",
+ "Author": "Cadena 3 Argentina",
+ "Excerpt": "El titular del Suoem le dijo al intendente que va a pagar caro, esta infamia y canallada–por la publiación de sueldos–. Los municipales realizaron una ruidosa protesta en el Palacio 6 de Julio"
}
diff --git a/test/test-pages/nytimes-1/expected-metadata.json b/test/test-pages/nytimes-1/expected-metadata.json
index d251218..c8b12aa 100644
--- a/test/test-pages/nytimes-1/expected-metadata.json
+++ b/test/test-pages/nytimes-1/expected-metadata.json
@@ -1,7 +1,6 @@
{
- "title": "United States to Lift Sudan Sanctions",
- "byline": "Jeffrey Gettleman",
- "dir": null,
- "excerpt": "For the first time since the 1990s, the country will be able to trade extensively with the United States.",
- "readerable": true
+ "Title": "United States to Lift Sudan Sanctions",
+ "Author": "Jeffrey Gettleman",
+ "Direction": null,
+ "Excerpt": "For the first time since the 1990s, the country will be able to trade extensively with the United States."
}
diff --git a/test/test-pages/nytimes-2/expected-metadata.json b/test/test-pages/nytimes-2/expected-metadata.json
index 3a0ca4e..d8c62b1 100644
--- a/test/test-pages/nytimes-2/expected-metadata.json
+++ b/test/test-pages/nytimes-2/expected-metadata.json
@@ -1,7 +1,6 @@
{
- "title": "Yahoo’s Sale to Verizon Leaves Shareholders With Little Say",
- "byline": "Steven Davidoff Solomon",
- "dir": null,
- "excerpt": "The internet giant’s decision to sell its business is plagued with challenges that reveal how unusual deal structures can affect shareholders.",
- "readerable": true
+ "Title": "Yahoo’s Sale to Verizon Leaves Shareholders With Little Say",
+ "Author": "Steven Davidoff Solomon",
+ "Direction": null,
+ "Excerpt": "The internet giant’s decision to sell its business is plagued with challenges that reveal how unusual deal structures can affect shareholders."
}
diff --git a/test/test-pages/pixnet/expected-metadata.json b/test/test-pages/pixnet/expected-metadata.json
index 64fc194..97554c7 100644
--- a/test/test-pages/pixnet/expected-metadata.json
+++ b/test/test-pages/pixnet/expected-metadata.json
@@ -1,7 +1,6 @@
{
- "title": "新竹尖石_美樹營地賞楓 (2) @ 史蒂文的家_藍天 :: 痞客邦 PIXNET ::",
- "byline": "史蒂文的家_藍天 (stevenhgm)",
- "dir": null,
- "excerpt": "一波波接續性低溫寒流報到 已將新竹尖石鄉後山一帶層層山巒披上嫣紅的彩衣 玉峰道路一路上雲氣山嵐滯留山頭 順路下切蜿蜒道路後不久即抵達來到&quot;玉峰國小&quot; &quot;美樹&quot;美",
- "readerable": true
+ "Title": "新竹尖石_美樹營地賞楓 (2) @ 史蒂文的家_藍天 :: 痞客邦 PIXNET ::",
+ "Author": "史蒂文的家_藍天 (stevenhgm)",
+ "Direction": null,
+ "Excerpt": "一波波接續性低溫寒流報到 已將新竹尖石鄉後山一帶層層山巒披上嫣紅的彩衣 玉峰道路一路上雲氣山嵐滯留山頭 順路下切蜿蜒道路後不久即抵達來到&quot;玉峰國小&quot; &quot;美樹&quot;美"
}
diff --git a/test/test-pages/remove-extra-brs/expected-metadata.json b/test/test-pages/remove-extra-brs/expected-metadata.json
index 25e04b4..152d972 100644
--- a/test/test-pages/remove-extra-brs/expected-metadata.json
+++ b/test/test-pages/remove-extra-brs/expected-metadata.json
@@ -1,6 +1,5 @@
{
- "title": "Remove trailing brs test",
- "byline": null,
- "excerpt": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n tempor incididunt ut labore et dolore magna aliqua.",
- "readerable": true
+ "Title": "Remove trailing brs test",
+ "Author": null,
+ "Excerpt": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n tempor incididunt ut labore et dolore magna aliqua."
}
diff --git a/test/test-pages/remove-extra-paragraphs/expected-metadata.json b/test/test-pages/remove-extra-paragraphs/expected-metadata.json
index 8e841af..4a21b9b 100644
--- a/test/test-pages/remove-extra-paragraphs/expected-metadata.json
+++ b/test/test-pages/remove-extra-paragraphs/expected-metadata.json
@@ -1,6 +1,5 @@
{
- "title": "Replace font tags test",
- "byline": null,
- "excerpt": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n tempor incididunt ut labore et dolore magna aliqua.",
- "readerable": true
+ "Title": "Replace font tags test",
+ "Author": null,
+ "Excerpt": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n tempor incididunt ut labore et dolore magna aliqua."
}
diff --git a/test/test-pages/remove-script-tags/expected-metadata.json b/test/test-pages/remove-script-tags/expected-metadata.json
index 2ef0848..96ec024 100644
--- a/test/test-pages/remove-script-tags/expected-metadata.json
+++ b/test/test-pages/remove-script-tags/expected-metadata.json
@@ -1,6 +1,5 @@
{
- "title": "Remove script tags test",
- "byline": null,
- "excerpt": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n tempor incididunt ut labore et dolore magna aliqua.",
- "readerable": true
+ "Title": "Remove script tags test",
+ "Author": null,
+ "Excerpt": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n tempor incididunt ut labore et dolore magna aliqua."
}
diff --git a/test/test-pages/reordering-paragraphs/expected-metadata.json b/test/test-pages/reordering-paragraphs/expected-metadata.json
index ca7653a..cae2da5 100644
--- a/test/test-pages/reordering-paragraphs/expected-metadata.json
+++ b/test/test-pages/reordering-paragraphs/expected-metadata.json
@@ -1,6 +1,5 @@
{
- "title": "",
- "byline": null,
- "excerpt": "Regarding item# 11111, under sufficiently extreme conditions, quarks may\n become deconfined and exist as free particles. In the course of asymptotic\n freedom, the strong interaction becomes weaker at higher temperatures.\n Eventually, color confinement would be lost and an extremely hot plasma\n of freely moving quarks and gluons would be formed. This theoretical phase\n of matter is called quark-gluon plasma.[81] The exact conditions needed\n to give rise to this state are unknown and have been the subject of a great\n deal of speculation and experimentation.",
- "readerable": true
+ "Title": "",
+ "Author": null,
+ "Excerpt": "Regarding item# 11111, under sufficiently extreme conditions, quarks may\n become deconfined and exist as free particles. In the course of asymptotic\n freedom, the strong interaction becomes weaker at higher temperatures.\n Eventually, color confinement would be lost and an extremely hot plasma\n of freely moving quarks and gluons would be formed. This theoretical phase\n of matter is called quark-gluon plasma.[81] The exact conditions needed\n to give rise to this state are unknown and have been the subject of a great\n deal of speculation and experimentation."
}
diff --git a/test/test-pages/replace-brs/expected-metadata.json b/test/test-pages/replace-brs/expected-metadata.json
index 9654255..ae183f1 100644
--- a/test/test-pages/replace-brs/expected-metadata.json
+++ b/test/test-pages/replace-brs/expected-metadata.json
@@ -1,6 +1,5 @@
{
- "title": "Replace brs test",
- "byline": null,
- "excerpt": "Lorem ipsum",
- "readerable": true
+ "Title": "Replace brs test",
+ "Author": null,
+ "Excerpt": "Lorem ipsum"
}
diff --git a/test/test-pages/replace-font-tags/expected-metadata.json b/test/test-pages/replace-font-tags/expected-metadata.json
index 517ceea..c669818 100644
--- a/test/test-pages/replace-font-tags/expected-metadata.json
+++ b/test/test-pages/replace-font-tags/expected-metadata.json
@@ -1,6 +1,5 @@
{
- "title": "Replace font tags test",
- "byline": null,
- "excerpt": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,\n quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo\n consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse\n cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non\n proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",
- "readerable": false
+ "Title": "Replace font tags test",
+ "Author": null,
+ "Excerpt": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,\n quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo\n consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse\n cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non\n proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
}
diff --git a/test/test-pages/rtl-1/expected-metadata.json b/test/test-pages/rtl-1/expected-metadata.json
index 4f3b2e6..3c14748 100644
--- a/test/test-pages/rtl-1/expected-metadata.json
+++ b/test/test-pages/rtl-1/expected-metadata.json
@@ -1,7 +1,6 @@
{
- "title": "RTL Test",
- "byline": null,
- "excerpt": "Lorem ipsum dolor sit amet.",
- "dir": "rtl",
- "readerable": true
+ "Title": "RTL Test",
+ "Author": null,
+ "Excerpt": "Lorem ipsum dolor sit amet.",
+ "Direction": "rtl"
}
diff --git a/test/test-pages/rtl-2/expected-metadata.json b/test/test-pages/rtl-2/expected-metadata.json
index 4f3b2e6..3c14748 100644
--- a/test/test-pages/rtl-2/expected-metadata.json
+++ b/test/test-pages/rtl-2/expected-metadata.json
@@ -1,7 +1,6 @@
{
- "title": "RTL Test",
- "byline": null,
- "excerpt": "Lorem ipsum dolor sit amet.",
- "dir": "rtl",
- "readerable": true
+ "Title": "RTL Test",
+ "Author": null,
+ "Excerpt": "Lorem ipsum dolor sit amet.",
+ "Direction": "rtl"
}
diff --git a/test/test-pages/rtl-3/expected-metadata.json b/test/test-pages/rtl-3/expected-metadata.json
index 4f3b2e6..3c14748 100644
--- a/test/test-pages/rtl-3/expected-metadata.json
+++ b/test/test-pages/rtl-3/expected-metadata.json
@@ -1,7 +1,6 @@
{
- "title": "RTL Test",
- "byline": null,
- "excerpt": "Lorem ipsum dolor sit amet.",
- "dir": "rtl",
- "readerable": true
+ "Title": "RTL Test",
+ "Author": null,
+ "Excerpt": "Lorem ipsum dolor sit amet.",
+ "Direction": "rtl"
}
diff --git a/test/test-pages/rtl-4/expected-metadata.json b/test/test-pages/rtl-4/expected-metadata.json
index 1d9581f..ee2b37a 100644
--- a/test/test-pages/rtl-4/expected-metadata.json
+++ b/test/test-pages/rtl-4/expected-metadata.json
@@ -1,7 +1,6 @@
{
- "title": "RTL Test",
- "byline": null,
- "excerpt": "Lorem ipsum dolor sit amet.",
- "dir": null,
- "readerable": true
+ "Title": "RTL Test",
+ "Author": null,
+ "Excerpt": "Lorem ipsum dolor sit amet.",
+ "Direction": null
}
diff --git a/test/test-pages/salon-1/expected-metadata.json b/test/test-pages/salon-1/expected-metadata.json
index 02cb664..9c39de6 100644
--- a/test/test-pages/salon-1/expected-metadata.json
+++ b/test/test-pages/salon-1/expected-metadata.json
@@ -1,6 +1,5 @@
{
- "title": "The sharing economy is a lie: Uber, Ayn Rand and the truth about tech\n and libertarians",
- "byline": "Joanna Rothkopf",
- "excerpt": "Disruptive companies talk a good game about sharing. Uber's really just an under-regulated company making riches",
- "readerable": true
+ "Title": "The sharing economy is a lie: Uber, Ayn Rand and the truth about tech\n and libertarians",
+ "Author": "Joanna Rothkopf",
+ "Excerpt": "Disruptive companies talk a good game about sharing. Uber's really just an under-regulated company making riches"
}
diff --git a/test/test-pages/simplyfound-1/expected-metadata.json b/test/test-pages/simplyfound-1/expected-metadata.json
index 1210bda..9d1a0ba 100644
--- a/test/test-pages/simplyfound-1/expected-metadata.json
+++ b/test/test-pages/simplyfound-1/expected-metadata.json
@@ -1,6 +1,5 @@
{
- "title": "Raspberry Pi 3 - The credit card sized PC that cost only $35 - All-time bestselling computer in UK",
- "byline": null,
- "excerpt": "The Raspberry Pi Foundation started by a handful of volunteers in 2012 when they released the original Raspberry Pi 256MB Model B without knowing what to expect. In a short four-year period they have grown to over sixty full-time employees and ha...",
- "readerable": true
+ "Title": "Raspberry Pi 3 - The credit card sized PC that cost only $35 - All-time bestselling computer in UK",
+ "Author": null,
+ "Excerpt": "The Raspberry Pi Foundation started by a handful of volunteers in 2012 when they released the original Raspberry Pi 256MB Model B without knowing what to expect. In a short four-year period they have grown to over sixty full-time employees and ha..."
}
diff --git a/test/test-pages/social-buttons/expected-metadata.json b/test/test-pages/social-buttons/expected-metadata.json
index 1a738af..50d7ac6 100644
--- a/test/test-pages/social-buttons/expected-metadata.json
+++ b/test/test-pages/social-buttons/expected-metadata.json
@@ -1,6 +1,5 @@
{
- "title": "Share buttons removal test",
- "byline": null,
- "excerpt": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,\n quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo\n consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse\n cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non\n proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",
- "readerable": true
+ "Title": "Share buttons removal test",
+ "Author": null,
+ "Excerpt": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,\n quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo\n consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse\n cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non\n proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
}
diff --git a/test/test-pages/style-tags-removal/expected-metadata.json b/test/test-pages/style-tags-removal/expected-metadata.json
index 8bd4dd2..e30a764 100644
--- a/test/test-pages/style-tags-removal/expected-metadata.json
+++ b/test/test-pages/style-tags-removal/expected-metadata.json
@@ -1,6 +1,5 @@
{
- "title": "Style tags removal",
- "byline": null,
- "excerpt": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,\n quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo\n consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse\n cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non\n proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",
- "readerable": false
+ "Title": "Style tags removal",
+ "Author": null,
+ "Excerpt": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,\n quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo\n consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse\n cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non\n proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
}
diff --git a/test/test-pages/svg-parsing/expected-metadata.json b/test/test-pages/svg-parsing/expected-metadata.json
index c8cbac6..2192d3b 100644
--- a/test/test-pages/svg-parsing/expected-metadata.json
+++ b/test/test-pages/svg-parsing/expected-metadata.json
@@ -1,6 +1,5 @@
{
- "title": "SVG parsing",
- "byline": null,
- "excerpt": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\ntempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,\nquis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo\nconsequat. Duis aute irure dolor in reprehenderit in voluptate velit esse\ncillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non\nproident, sunt in culpa qui officia deserunt mollit anim id est laborum.",
- "readerable": true
+ "Title": "SVG parsing",
+ "Author": null,
+ "Excerpt": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\ntempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,\nquis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo\nconsequat. Duis aute irure dolor in reprehenderit in voluptate velit esse\ncillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non\nproident, sunt in culpa qui officia deserunt mollit anim id est laborum."
}
diff --git a/test/test-pages/table-style-attributes/expected-metadata.json b/test/test-pages/table-style-attributes/expected-metadata.json
index b551087..3866f09 100644
--- a/test/test-pages/table-style-attributes/expected-metadata.json
+++ b/test/test-pages/table-style-attributes/expected-metadata.json
@@ -1,7 +1,6 @@
{
- "title": "linux video",
- "byline": null,
- "dir": null,
- "excerpt": "linux usability\n ...or, why do I bother. © 2002, 2003\n Jamie Zawinski",
- "readerable": true
+ "Title": "linux video",
+ "Author": null,
+ "Direction": null,
+ "Excerpt": "linux usability\n ...or, why do I bother. © 2002, 2003\n Jamie Zawinski"
}
diff --git a/test/test-pages/telegraph/expected-metadata.json b/test/test-pages/telegraph/expected-metadata.json
index d88303d..0664ae6 100644
--- a/test/test-pages/telegraph/expected-metadata.json
+++ b/test/test-pages/telegraph/expected-metadata.json
@@ -1,7 +1,6 @@
{
- "title": "Robert Mugabe and wife Grace 'insisting he finishes his term', as priest steps in to mediate",
- "byline": null,
- "dir": null,
- "excerpt": "Zimbabwe President Robert Mugabe, his wife Grace and two key figures from her G40 political faction are under house arrest at Mugabe's &quot;Blue House&quot; compound in Harare and are insisting the 93 year-old finishes his presidential term, a source said.",
- "readerable": true
+ "Title": "Zimbabwe coup: Robert Mugabe and wife Grace 'insisting he finishes his term', as priest steps in to mediate",
+ "Author": null,
+ "Direction": null,
+ "Excerpt": "Zimbabwe President Robert Mugabe, his wife Grace and two key figures from her G40 political faction are under house arrest at Mugabe's &quot;Blue House&quot; compound in Harare and are insisting the 93 year-old finishes his presidential term, a source said."
}
diff --git a/test/test-pages/tmz-1/expected-metadata.json b/test/test-pages/tmz-1/expected-metadata.json
index 39a351a..994d596 100644
--- a/test/test-pages/tmz-1/expected-metadata.json
+++ b/test/test-pages/tmz-1/expected-metadata.json
@@ -1,6 +1,5 @@
{
- "title": "Lupita Nyong'o's $150K Pearl Oscar Dress -- STOLEN!!!",
- "byline": null,
- "excerpt": "Lupita Nyong'o's now-famous Oscar dress -- adorned in pearls -- was stolen right out of her hotel room ... TMZ has learned. Law enforcement sources tell…",
- "readerable": true
+ "Title": "Lupita Nyong'o's $150K Pearl Oscar Dress -- STOLEN!!!",
+ "Author": null,
+ "Excerpt": "Lupita Nyong'o's now-famous Oscar dress -- adorned in pearls -- was stolen right out of her hotel room ... TMZ has learned. Law enforcement sources tell…"
}
diff --git a/test/test-pages/tumblr/expected-metadata.json b/test/test-pages/tumblr/expected-metadata.json
index 6801046..09c83ac 100644
--- a/test/test-pages/tumblr/expected-metadata.json
+++ b/test/test-pages/tumblr/expected-metadata.json
@@ -1,7 +1,6 @@
{
- "title": "Minecraft 1.8 - The Bountiful Update - Minecraft 1.8 - The Bountiful Update",
- "byline": null,
- "dir": null,
- "excerpt": "+ Added Granite, Andesite, and Diorite stone blocks, with smooth versions\n+ Added Slime Block\n+ Added Iron Trapdoor\n+ Added Prismarine and Sea Lantern blocks\n+ Added the Ocean Monument\n+ Added Red...",
- "readerable": true
+ "Title": "Minecraft 1.8 - The Bountiful Update - Minecraft 1.8 - The Bountiful Update",
+ "Author": null,
+ "Direction": null,
+ "Excerpt": "+ Added Granite, Andesite, and Diorite stone blocks, with smooth versions\n+ Added Slime Block\n+ Added Iron Trapdoor\n+ Added Prismarine and Sea Lantern blocks\n+ Added the Ocean Monument\n+ Added Red..."
}
diff --git a/test/test-pages/wapo-1/expected-metadata.json b/test/test-pages/wapo-1/expected-metadata.json
index 5195394..ac80bbb 100644
--- a/test/test-pages/wapo-1/expected-metadata.json
+++ b/test/test-pages/wapo-1/expected-metadata.json
@@ -1,6 +1,5 @@
{
- "title": "Attack stokes instability fears in North Africa",
- "byline": "By Erin Cunningham",
- "excerpt": "The assault on Tunisia’s most renowned museum, in which gunmen killed at least 19 people, could heighten tensions in a nation that has become deeply divided between pro- and anti-Islamist factions.",
- "readerable": true
+ "Title": "Attack stokes instability fears in North Africa",
+ "Author": "By Erin Cunningham",
+ "Excerpt": "The assault on Tunisia’s most renowned museum, in which gunmen killed at least 19 people, could heighten tensions in a nation that has become deeply divided between pro- and anti-Islamist factions."
}
diff --git a/test/test-pages/wapo-2/expected-metadata.json b/test/test-pages/wapo-2/expected-metadata.json
index bae11fb..bee9dd4 100644
--- a/test/test-pages/wapo-2/expected-metadata.json
+++ b/test/test-pages/wapo-2/expected-metadata.json
@@ -1,6 +1,5 @@
{
- "title": "Where do strained U.S.-Israeli relations go after Netanyahu’s victory?",
- "byline": "By Steven Mufson",
- "excerpt": "Few foreign leaders have so brazenly stood up to President Obama and the relationship could face its next test this month.",
- "readerable": true
+ "Title": "Where do strained U.S.-Israeli relations go after Netanyahu’s victory?",
+ "Author": "By Steven Mufson",
+ "Excerpt": "Few foreign leaders have so brazenly stood up to President Obama and the relationship could face its next test this month."
}
diff --git a/test/test-pages/webmd-1/expected-metadata.json b/test/test-pages/webmd-1/expected-metadata.json
index 4ceddcf..315ee82 100644
--- a/test/test-pages/webmd-1/expected-metadata.json
+++ b/test/test-pages/webmd-1/expected-metadata.json
@@ -1,6 +1,5 @@
{
- "title": "Babies Who Eat Peanuts Early May Avoid Allergy",
- "byline": "By Brenda Goodman, MA\n WebMD Health News",
- "excerpt": "Life-threatening peanut allergies have mysteriously been on the rise in the past decade, with little hope for a cure. But a groundbreaking new study may offer a way to stem that rise, while another may offer some hope for those who are already allergic.",
- "readerable": true
+ "Title": "Babies Who Eat Peanuts Early May Avoid Allergy",
+ "Author": "By Brenda Goodman, MA\n WebMD Health News",
+ "Excerpt": "Life-threatening peanut allergies have mysteriously been on the rise in the past decade, with little hope for a cure. But a groundbreaking new study may offer a way to stem that rise, while another may offer some hope for those who are already allergic."
}
diff --git a/test/test-pages/webmd-2/expected-metadata.json b/test/test-pages/webmd-2/expected-metadata.json
index a55dd94..3bbb5fd 100644
--- a/test/test-pages/webmd-2/expected-metadata.json
+++ b/test/test-pages/webmd-2/expected-metadata.json
@@ -1,6 +1,5 @@
{
- "title": "Superbugs: What They Are and How You Get Them",
- "byline": "By Kelli Miller\n WebMD Health News",
- "excerpt": "Drug-resistant bacteria, dubbed",
- "readerable": true
+ "Title": "Superbugs: What They Are and How You Get Them",
+ "Author": "By Kelli Miller\n WebMD Health News",
+ "Excerpt": "Drug-resistant bacteria, dubbed"
}
diff --git a/test/test-pages/wikia/expected-metadata.json b/test/test-pages/wikia/expected-metadata.json
index 4c0535d..3ad3235 100644
--- a/test/test-pages/wikia/expected-metadata.json
+++ b/test/test-pages/wikia/expected-metadata.json
@@ -1,7 +1,6 @@
{
- "title": "'Star Wars' Original Cuts Might Get Released for 40th Anniversary",
- "byline": "James Akinaka",
- "dir": null,
- "excerpt": "As a 40th birthday present to the Star Wars Saga and its fans, Lucasfilm could re-release the original versions of the original trilogy films.",
- "readerable": true
+ "Title": "'Star Wars' Original Cuts Might Get Released for 40th Anniversary",
+ "Author": "James Akinaka",
+ "Direction": null,
+ "Excerpt": "As a 40th birthday present to the Star Wars Saga and its fans, Lucasfilm could re-release the original versions of the original trilogy films."
}
diff --git a/test/test-pages/wikipedia/expected-metadata.json b/test/test-pages/wikipedia/expected-metadata.json
index ca08f7b..52b13ff 100644
--- a/test/test-pages/wikipedia/expected-metadata.json
+++ b/test/test-pages/wikipedia/expected-metadata.json
@@ -1,7 +1,6 @@
{
- "title": "Mozilla - Wikipedia",
- "byline": null,
- "dir": "ltr",
- "excerpt": "Mozilla is a free-software community, created in 1998 by members of Netscape. The Mozilla community uses, develops, spreads and supports Mozilla products, thereby promoting exclusively free software and open standards, with only minor exceptions.[1] The community is supported institutionally by the Mozilla Foundation and its tax-paying subsidiary, the Mozilla Corporation.[2]",
- "readerable": true
+ "Title": "Mozilla - Wikipedia",
+ "Author": null,
+ "Direction": "ltr",
+ "Excerpt": "Mozilla is a free-software community, created in 1998 by members of Netscape. The Mozilla community uses, develops, spreads and supports Mozilla products, thereby promoting exclusively free software and open standards, with only minor exceptions.[1] The community is supported institutionally by the Mozilla Foundation and its tax-paying subsidiary, the Mozilla Corporation.[2]"
}
diff --git a/test/test-pages/wordpress/expected-metadata.json b/test/test-pages/wordpress/expected-metadata.json
index 2ff3a4f..3d860dc 100644
--- a/test/test-pages/wordpress/expected-metadata.json
+++ b/test/test-pages/wordpress/expected-metadata.json
@@ -1,7 +1,6 @@
{
- "title": "Stack Overflow Jobs Data Shows ReactJS Skills in High Demand, WordPress Market Oversaturated with Developers – WordPress Tavern",
- "byline": null,
- "dir": 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…",
- "readerable": true
+ "Title": "Stack Overflow Jobs Data Shows ReactJS Skills in High Demand, WordPress Market Oversaturated with Developers – WordPress Tavern",
+ "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…"
}
diff --git a/test/test-pages/yahoo-1/expected-metadata.json b/test/test-pages/yahoo-1/expected-metadata.json
index 9776065..e4bcca1 100644
--- a/test/test-pages/yahoo-1/expected-metadata.json
+++ b/test/test-pages/yahoo-1/expected-metadata.json
@@ -1,7 +1,6 @@
{
- "title": "These are the 8 coolest PlayStation VR games",
- "byline": "Ben Silverman",
- "dir": null,
- "excerpt": "To help you decide what’s what, I’ve put together this list of the 8 PSVR games worth considering. Beloved cult hit “Rez” gets the VR treatment to help launch the PSVR, and the results are terrific. Chaos, for sure, and also “Thumper.” Called a “violent rhythm game” by its creators, “Thumper” is, well",
- "readerable": true
+ "Title": "These are the 8 coolest PlayStation VR games",
+ "Author": "Ben Silverman",
+ "Direction": null,
+ "Excerpt": "To help you decide what’s what, I’ve put together this list of the 8 PSVR games worth considering. Beloved cult hit “Rez” gets the VR treatment to help launch the PSVR, and the results are terrific. Chaos, for sure, and also “Thumper.” Called a “violent rhythm game” by its creators, “Thumper” is, well"
}
diff --git a/test/test-pages/yahoo-2/expected-metadata.json b/test/test-pages/yahoo-2/expected-metadata.json
index 03810e5..562a72b 100644
--- a/test/test-pages/yahoo-2/expected-metadata.json
+++ b/test/test-pages/yahoo-2/expected-metadata.json
@@ -1,6 +1,5 @@
{
- "title": "Russia: Space ship malfunctions, breaks up over Siberia",
- "byline": "NATALIYA VASILYEVA",
- "excerpt": "The latest news and headlines from Yahoo! News. Get breaking news stories and in-depth coverage with videos and photos.",
- "readerable": true
+ "Title": "Russia: Space ship malfunctions, breaks up over Siberia",
+ "Author": "NATALIYA VASILYEVA",
+ "Excerpt": "The latest news and headlines from Yahoo! News. Get breaking news stories and in-depth coverage with videos and photos."
}
diff --git a/test/test-pages/yahoo-3/expected-metadata.json b/test/test-pages/yahoo-3/expected-metadata.json
index b81ae3e..75d461d 100644
--- a/test/test-pages/yahoo-3/expected-metadata.json
+++ b/test/test-pages/yahoo-3/expected-metadata.json
@@ -1,7 +1,4 @@
{
- "title": "Veteran Wraps Baby in American Flag, Photo Sparks Controversy",
- "byline": "By GILLIAN MOHNEY\n March 11, 2015 3:46 PM",
- "dir": "ltr",
- "excerpt": "From Yahoo: A photographer and Navy veteran is fighting back after a photo she posted to Facebook started an online backlash. Vanessa Hicks said she had no idea her photo would be considered controversial. The photo, from a military family’s newborn photo shoot, showed a newborn infant wrapped in an American flag held by his father, who was in his military uniform. Hicks, a Navy veteran herself and the wife of an active-duty Navy member, said her intention was to honor the flag as well as her clients, who wanted to incorporate their military service in the photo shoot.",
- "readerable": true
+ "Title": "Veteran Wraps Baby in American Flag, Photo Sparks Controversy",
+ "Excerpt": "From Yahoo: A photographer and Navy veteran is fighting back after a photo she posted to Facebook started an online backlash. Vanessa Hicks said she had no idea her photo would be considered controversial. The photo, from a military family’s newborn photo shoot, showed a newborn infant wrapped in an American flag held by his father, who was in his military uniform. Hicks, a Navy veteran herself and the wife of an active-duty Navy member, said her intention was to honor the flag as well as her clients, who wanted to incorporate their military service in the photo shoot."
}
diff --git a/test/test-pages/yahoo-4/expected-metadata.json b/test/test-pages/yahoo-4/expected-metadata.json
index fbd8664..0dac267 100644
--- a/test/test-pages/yahoo-4/expected-metadata.json
+++ b/test/test-pages/yahoo-4/expected-metadata.json
@@ -1,7 +1,6 @@
{
- "title": "トレンドマイクロ、公衆無線LANを安全に使うためのアプリ「フリーWi-Fiプロテクション」 (CNET Japan) - Yahoo!ニュース",
- "byline": null,
- "dir": null,
- "excerpt": "トレンドマイクロは3月9日、Wi-Fi利用時の通信を暗号化し保護するスマホ・タブレッ",
- "readerable": true
+ "Title": "トレンドマイクロ、公衆無線LANを安全に使うためのアプリ「フリーWi-Fiプロテクション」 (CNET Japan) - Yahoo!ニュース",
+ "Author": null,
+ "Direction": null,
+ "Excerpt": " トレンドマイクロは3月9日、Wi-Fi利用時の通信を暗号化し保護するスマホ・タブレッ"
}
diff --git a/test/test-pages/youth/expected-metadata.json b/test/test-pages/youth/expected-metadata.json
index 8fc0b30..cf1afac 100644
--- a/test/test-pages/youth/expected-metadata.json
+++ b/test/test-pages/youth/expected-metadata.json
@@ -1,7 +1,6 @@
{
- "title": "海外留学生看两会:出国前后关注点大不同_教育频道_中国青年网",
- "byline": "青网校园崔宁宁",
- "dir": null,
- "excerpt": "图为马素湘在澳大利亚悉尼游玩时的近影。出国前后关注点大不同出国前:政治科目会出啥考题?出国后:国家未来将如何发展?在采访中,我们了解到不少学子在出国前就每年守在电脑前观看两会直播。但是,随着年龄和阅历的增长,学子对两会的关注点在出国前后发生了很大的变化。在法国里昂国立应用科学院留学的卢宇表示,他还是个中学生时,就开始关注两会了。“我高中毕业后就出国留学了。",
- "readerable": true
+ "Title": "海外留学生看两会:出国前后关注点大不同_教育频道_中国青年网",
+ "Author": "青网校园崔宁宁",
+ "Direction": null,
+ "Excerpt": "图为马素湘在澳大利亚悉尼游玩时的近影。出国前后关注点大不同出国前:政治科目会出啥考题?出国后:国家未来将如何发展?在采访中,我们了解到不少学子在出国前就每年守在电脑前观看两会直播。但是,随着年龄和阅历的增长,学子对两会的关注点在出国前后发生了很大的变化。在法国里昂国立应用科学院留学的卢宇表示,他还是个中学生时,就开始关注两会了。“我高中毕业后就出国留学了。"
}