Assert on siteName in all test cases

pull/505/head
Maria Luiza Soares 6 years ago committed by Gijs
parent 1bac47c70d
commit 8c41d92560

@ -2,5 +2,6 @@
"title": "Get your Frontend JavaScript Code Covered | Code",
"byline": "Nicolas Perriault —",
"excerpt": "Nicolas Perriault's homepage.",
"readerable": true
"readerable": true,
"siteName": null
}

@ -2,5 +2,6 @@
"title": "This API is so Fetching!",
"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
"readerable": true,
"siteName": "Mozilla Hacks the Web developer blog"
}

@ -3,5 +3,6 @@
"byline": "Dublin Core property author",
"dir": null,
"excerpt": "Dublin Core property description",
"readerable": true
"readerable": true,
"siteName": null
}

@ -3,5 +3,6 @@
"byline": "Creator Name",
"dir": null,
"excerpt": "Preferred description",
"readerable": true
"readerable": true,
"siteName": null
}

@ -3,5 +3,6 @@
"byline": "By Daniel Kahn Gillmor, Senior Staff Technologist, ACLU Speech, Privacy, and Technology Project",
"dir": "ltr",
"excerpt": "I don't use Facebook. I'm not technophobic — I'm a geek. I've been using email since the early 1990s, I have accounts on hundreds of services around the net, and I do software development and internet protocol design both for work and for fun. I believe that a globe-spanning communications network like the internet can be a positive social force, and I publish much of my own work on the open web.",
"readerable": true
"readerable": true,
"siteName": "American Civil Liberties Union"
}

@ -2,5 +2,6 @@
"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
"readerable": true,
"siteName": "Ars Technica"
}

@ -3,5 +3,6 @@
"byline": null,
"dir": 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
"readerable": false,
"siteName": null
}

@ -3,5 +3,6 @@
"byline": null,
"dir": 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
"readerable": false,
"siteName": null
}

@ -2,5 +2,6 @@
"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
"readerable": false,
"siteName": null
}

@ -2,5 +2,6 @@
"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
"readerable": true,
"siteName": null
}

@ -2,5 +2,6 @@
"title": "Obama admits US gun laws are his 'biggest frustration' - BBC News",
"byline": null,
"excerpt": "President Barack Obama tells the BBC his failure to pass \"common sense gun safety laws\" is the greatest frustration of his presidency.",
"readerable": true
"readerable": true,
"siteName": "BBC News"
}

@ -3,5 +3,6 @@
"byline": null,
"dir": "ltr",
"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...",
"readerable": true
"readerable": true,
"siteName": null
}

@ -3,5 +3,6 @@
"byline": "by Lucas Nolan22 Dec 2016651",
"dir": "ltr",
"excerpt": "Snopes fact checker and staff writer David Emery posted to Twitter asking if there were “any un-angry Trump supporters?”",
"readerable": true
"readerable": true,
"siteName": "Breitbart"
}

@ -3,5 +3,6 @@
"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 dont want you to know.",
"readerable": true
"readerable": true,
"siteName": "The Independent"
}

@ -2,5 +2,6 @@
"title": "Student Dies After Diet Pills She Bought Online \"Burned Her Up From Within\"",
"byline": null,
"excerpt": "An inquest into Eloise Parry's death has been adjourned until July.",
"readerable": true
"readerable": true,
"siteName": "BuzzFeed"
}

@ -2,5 +2,6 @@
"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
"readerable": true,
"siteName": null
}

@ -3,5 +3,6 @@
"byline": null,
"dir": null,
"excerpt": "Twitter Lite llega a 11 países de América Latina, para ayudar a los usuarios con mala señal de sus redes móviles.",
"readerable": true
"readerable": true,
"siteName": "CNET en Español"
}

@ -3,5 +3,6 @@
"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
"readerable": true,
"siteName": "CNET"
}

@ -3,5 +3,6 @@
"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
"readerable": true,
"siteName": "CNNMoney"
}

@ -2,5 +2,6 @@
"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
"readerable": true,
"siteName": null
}

@ -2,5 +2,6 @@
"title": "Daring Fireball: Colophon",
"byline": null,
"excerpt": "Daring Fireball is written and produced by John Gruber.",
"readerable": true
"readerable": true,
"siteName": null
}

@ -3,5 +3,6 @@
"byline": "Lucy Akins",
"dir": null,
"excerpt": "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 wont have to water the...",
"readerable": true
"readerable": true,
"siteName": "eHow"
}

@ -3,5 +3,6 @@
"byline": "Gina Roberts-Grey",
"dir": null,
"excerpt": "Graduation parties are a great way to commemorate the years of hard work teens and college co-eds devote to education. Theyre 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. However that budget was based on Midwestern...",
"readerable": true
"readerable": true,
"siteName": "eHow"
}

@ -2,5 +2,6 @@
"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
"readerable": false,
"siteName": null
}

@ -3,5 +3,6 @@
"byline": null,
"dir": null,
"excerpt": "The Xbox One X is the most powerful gaming console ever, but it's not for everyone yet.",
"readerable": true
"readerable": true,
"siteName": "Engadget"
}

@ -3,5 +3,6 @@
"byline": "肖春芳",
"dir": null,
"excerpt": "不幸的是,对于希望能喝上一杯的太空探险者,那些将他们送上太空的政府机构普遍禁止他们染指包括酒在内的含酒精饮料。",
"readerable": true
"readerable": true,
"siteName": null
}

@ -2,5 +2,6 @@
"title": "1Password für Mac generiert Einmal-Passwörter",
"byline": "Mac & i",
"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
"readerable": true,
"siteName": "Mac & i"
}

@ -3,5 +3,6 @@
"byline": "JOE HILDEBRAND",
"dir": null,
"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
"readerable": true,
"siteName": "HeraldSun"
}

@ -3,5 +3,6 @@
"byline": null,
"dir": null,
"excerpt": "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.",
"readerable": true
"readerable": true,
"siteName": null
}

@ -3,5 +3,6 @@
"byline": null,
"dir": null,
"excerpt": "福娘童話集 > きょうのイソップ童話 > 1月のイソップ童話 > 欲張りなイヌ",
"readerable": true
"readerable": true,
"siteName": null
}

@ -2,5 +2,6 @@
"title": "Getting LEAN with Digital Ad UX | IAB",
"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
"readerable": true,
"siteName": "IAB"
}

@ -1,5 +1,6 @@
{
"title": "remoteStorage",
"byline": "Jong, Michiel de",
"readerable": true
"readerable": true,
"siteName": null
}

@ -2,5 +2,6 @@
"title": "Inside the Deep Web Drug Lab",
"byline": "Joseph Cox",
"excerpt": "Welcome to DoctorXs Barcelona lab, where the drugs you bought online are tested for safety and purity. No questions ask…",
"readerable": true
"readerable": true,
"siteName": "Medium"
}

@ -2,5 +2,6 @@
"title": "Una solución no violenta para la cuestión mapuche",
"byline": null,
"excerpt": "Los pueblos indígenas reclaman por derechos que permanecen incumplidos, por eso es más eficiente canalizar la protesta que reprimirla",
"readerable": true
"readerable": true,
"siteName": null
}

@ -2,5 +2,6 @@
"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
"readerable": true,
"siteName": "Le Monde.fr"
}

@ -2,5 +2,6 @@
"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
"readerable": true,
"siteName": "Libération.fr"
}

@ -2,5 +2,6 @@
"title": "How to Program Your Mind to Stop Buying Crap You Dont 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
"readerable": true,
"siteName": "Lifehacker"
}

@ -2,5 +2,6 @@
"title": "How to Program Your Mind to Stop Buying Crap You Dont 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
"readerable": true,
"siteName": "Lifehacker"
}

@ -3,5 +3,6 @@
"byline": null,
"dir": "ltr",
"excerpt": "Posted by Andrew Hayden, Software Engineer on Google Play Android users are downloading tens of billions of apps and games on Google Pla...",
"readerable": true
"readerable": true,
"siteName": null
}

@ -2,5 +2,6 @@
"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
"readerable": true,
"siteName": null
}

@ -2,5 +2,6 @@
"title": "The Open Journalism Project: Better Student Journalism",
"byline": "Pippin Lee",
"excerpt": "We pushed out the first version of the Open Journalism site in January. Heres what weve learned about student journali…",
"readerable": true
"readerable": true,
"siteName": "Medium"
}

@ -2,5 +2,6 @@
"title": "On Behalf of “Literally”",
"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
"readerable": true,
"siteName": "Medium"
}

@ -3,5 +3,6 @@
"byline": "John C. Welch",
"dir": null,
"excerpt": "How to get shanked doing what people say they want",
"readerable": true
"readerable": true,
"siteName": "Medium"
}

@ -2,5 +2,6 @@
"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
"readerable": true,
"siteName": null
}

@ -3,5 +3,6 @@
"byline": null,
"dir": "ltr",
"excerpt": "Its 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
"readerable": true,
"siteName": "Mozilla"
}

@ -3,5 +3,6 @@
"byline": null,
"dir": "ltr",
"excerpt": "Built for those who build the Web. Introducing the only browser made for developers.",
"readerable": false
"readerable": false,
"siteName": "Mozilla"
}

@ -2,5 +2,6 @@
"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. ",
"readerable": true
"readerable": true,
"siteName": "MSN"
}

@ -2,5 +2,6 @@
"title": "Normalize space test",
"byline": null,
"excerpt": "Lorem\n ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n\ttab here\n 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
"readerable": false,
"siteName": null
}

@ -3,5 +3,6 @@
"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
"readerable": true,
"siteName": null
}

@ -3,5 +3,6 @@
"byline": "Steven Davidoff Solomon",
"dir": null,
"excerpt": "The internet giants decision to sell its business is plagued with challenges that reveal how unusual deal structures can affect shareholders.",
"readerable": true
"readerable": true,
"siteName": null
}

@ -3,5 +3,6 @@
"byline": "史蒂文的家_藍天 (stevenhgm)",
"dir": null,
"excerpt": "一波波接續性低溫寒流報到 已將新竹尖石鄉後山一帶層層山巒披上嫣紅的彩衣 玉峰道路一路上雲氣山嵐滯留山頭 順路下切蜿蜒道路後不久即抵達來到"玉峰國小" "美樹"美",
"readerable": true
"readerable": true,
"siteName": "史蒂文的家_藍天"
}

@ -2,5 +2,6 @@
"title": "DeepMind新电脑已可利用记忆自学 人工智能迈上新台阶_科技_腾讯网",
"byline": null,
"excerpt": "DeepMind新电脑已可利用记忆自学 人工智能迈上新台阶",
"readerable": true
"readerable": true,
"siteName": null
}

@ -2,5 +2,6 @@
"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
"readerable": true,
"siteName": null
}

@ -2,5 +2,6 @@
"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
"readerable": true,
"siteName": null
}

@ -2,5 +2,6 @@
"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
"readerable": true,
"siteName": null
}

@ -2,5 +2,6 @@
"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
"readerable": true,
"siteName": null
}

@ -3,5 +3,6 @@
"byline": null,
"dir": null,
"excerpt": "Lorem ipsumdolor sit",
"readerable": true
"readerable": true,
"siteName": null
}

@ -2,5 +2,6 @@
"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
"readerable": false,
"siteName": null
}

@ -3,5 +3,6 @@
"byline": null,
"excerpt": "Lorem ipsum dolor sit amet.",
"dir": "rtl",
"readerable": true
"readerable": true,
"siteName": null
}

@ -3,5 +3,6 @@
"byline": null,
"excerpt": "Lorem ipsum dolor sit amet.",
"dir": "rtl",
"readerable": true
"readerable": true,
"siteName": null
}

@ -3,5 +3,6 @@
"byline": null,
"excerpt": "Lorem ipsum dolor sit amet.",
"dir": "rtl",
"readerable": true
"readerable": true,
"siteName": null
}

@ -3,5 +3,6 @@
"byline": null,
"excerpt": "Lorem ipsum dolor sit amet.",
"dir": null,
"readerable": true
"readerable": true,
"siteName": null
}

@ -2,5 +2,6 @@
"title": "The sharing economy is a lie: Uber, Ayn Rand and the truth about tech 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
"readerable": true,
"siteName": null
}

@ -2,5 +2,6 @@
"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
"readerable": true,
"siteName": "SIMPLYFOUND.COM | BY: JOE WEE"
}

@ -2,5 +2,6 @@
"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
"readerable": true,
"siteName": null
}

@ -2,5 +2,6 @@
"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
"readerable": false,
"siteName": null
}

@ -2,5 +2,6 @@
"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
"readerable": true,
"siteName": null
}

@ -3,5 +3,6 @@
"byline": null,
"dir": null,
"excerpt": "linux usability\n ...or, why do I bother. © 2002, 2003\n Jamie Zawinski",
"readerable": true
"readerable": true,
"siteName": null
}

@ -3,5 +3,6 @@
"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 "Blue House" compound in Harare and are insisting the 93 year-old finishes his presidential term, a source said.",
"readerable": true
"readerable": true,
"siteName": "The Telegraph"
}

@ -2,5 +2,6 @@
"title": "This is a long title with a colon: Hello there",
"byline": null,
"excerpt": "Lorem\n ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod\n 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
"readerable": false,
"siteName": null
}

@ -2,5 +2,6 @@
"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
"readerable": true,
"siteName": "http://www.tmz.com"
}

@ -3,5 +3,6 @@
"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
"readerable": true,
"siteName": "Minecraft Update News"
}

@ -2,5 +2,6 @@
"title": "Attack stokes instability fears in North Africa",
"byline": "By Erin Cunningham",
"excerpt": "The assault on Tunisias 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
"readerable": true,
"siteName": "Washington Post"
}

@ -2,5 +2,6 @@
"title": "Where do strained U.S.-Israeli relations go after Netanyahus 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
"readerable": true,
"siteName": "Washington Post"
}

@ -2,5 +2,6 @@
"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
"readerable": true,
"siteName": null
}

@ -2,5 +2,6 @@
"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
"readerable": true,
"siteName": null
}

@ -3,5 +3,6 @@
"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
"readerable": true,
"siteName": "Fandom powered by Wikia"
}

@ -3,5 +3,6 @@
"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
"readerable": true,
"siteName": null
}

@ -3,5 +3,6 @@
"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
"readerable": true,
"siteName": "WordPress Tavern"
}

@ -3,5 +3,6 @@
"byline": "Ben Silverman",
"dir": null,
"excerpt": "To help you decide whats what, Ive 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
"readerable": true,
"siteName": null
}

@ -2,5 +2,6 @@
"title": "Yahoo News - Latest News & Headlines",
"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
"readerable": true,
"siteName": null
}

@ -3,5 +3,6 @@
"byline": "By GILLIAN MOHNEY\n March 11, 2015 3:46 PM",
"dir": "ltr",
"excerpt": "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 familys 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
"readerable": true,
"siteName": "Yahoo"
}

@ -3,5 +3,6 @@
"byline": null,
"dir": null,
"excerpt": "トレンドマイクロは3月9日、Wi-Fi利用時の通信を暗号化し保護するスマホ・タブレット - Yahoo!ニュース(CNET Japan)",
"readerable": true
"readerable": true,
"siteName": "Yahoo!ニュース"
}

@ -3,5 +3,6 @@
"byline": "青网校园崔宁宁",
"dir": null,
"excerpt": "图为马素湘在澳大利亚悉尼游玩时的近影。出国前后关注点大不同出国前:政治科目会出啥考题?出国后:国家未来将如何发展?在采访中,我们了解到不少学子在出国前就每年守在电脑前观看两会直播。但是,随着年龄和阅历的增长,学子对两会的关注点在出国前后发生了很大的变化。在法国里昂国立应用科学院留学的卢宇表示,他还是个中学生时,就开始关注两会了。“我高中毕业后就出国留学了。",
"readerable": true
"readerable": true,
"siteName": null
}

@ -167,6 +167,10 @@ function runTestsWithItems(label, domGenerationFn, source, expectedContent, expe
expect(expectedMetadata.excerpt).eql(result.excerpt);
});
it("should extract expected site name", function() {
expect(expectedMetadata.siteName).eql(result.siteName);
});
expectedMetadata.dir && it("should extract expected direction", function() {
expect(expectedMetadata.dir).eql(result.dir);
});

Loading…
Cancel
Save