diff options
author | Andres Rey <[email protected]> | 2016-12-07 09:59:02 +0000 |
---|---|---|
committer | Andres Rey <[email protected]> | 2016-12-07 09:59:02 +0000 |
commit | 3ec5546359239f66714ae6eb5257810877202a52 (patch) | |
tree | f800888686b7fb0232a1c323600cfa11ba885c13 /test/test-pages/daringfireball-1/expected.html | |
parent | 0a8077f9e2a3f531a087b3ec5c07cf16ba5497ae (diff) |
Added some basic Unit Testing. HTML samples taken from readability.js
Diffstat (limited to 'test/test-pages/daringfireball-1/expected.html')
-rw-r--r-- | test/test-pages/daringfireball-1/expected.html | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/test/test-pages/daringfireball-1/expected.html b/test/test-pages/daringfireball-1/expected.html new file mode 100644 index 0000000..5e8d29c --- /dev/null +++ b/test/test-pages/daringfireball-1/expected.html @@ -0,0 +1,31 @@ +<div id="readability-page-1" class="page"> + <div class="article"> + <p>Daring Fireball is written and produced by John Gruber.</p> + <p> + <a href="http://fakehost/graphics/author/addison-bw.jpg"> <img src="http://fakehost/graphics/author/addison-bw-425.jpg" alt="Photograph of the author."/></a> + <br/><em>Portrait by <a href="http://superbiate.com/inquiries/">George Del Barrio</a></em> </p> + <h2>Mac Apps</h2> + <ul> + <li><a href="http://www.barebones.com/products/bbedit/">BBEdit</a></li> + <li><a href="http://www.flyingmeat.com/acorn/">Acorn</a></li> + <li><a href="http://www.red-sweater.com/marsedit/">MarsEdit</a></li> + <li><a href="http://aged-and-distilled.com/napkin/">Napkin</a></li> + <li><a href="http://www.barebones.com/products/Yojimbo/">Yojimbo</a></li> + <li><a href="http://www.panic.com/transmit/">Transmit</a></li> + <li><a href="http://latenightsw.com/sd4/index.html">Script Debugger</a></li> + <li><a href="http://www.ambrosiasw.com/utilities/snapzprox/">Snapz Pro X</a></li> + <li><a href="http://nightly.webkit.org/">WebKit</a></li> + </ul> + <h2>iPhone Apps</h2> + <ul> + <li><a href="http://vesperapp.co/">Vesper</a></li> + </ul> + <h2>Server Software</h2> + <p>The Daring Fireball website is hosted by <a href="http://joyent.com/">Joyent</a>.</p> + <p>Articles and links are published through <a href="http://movabletype.org/">Movable Type</a>. In addition to my own SmartyPants and Markdown plug-ins, Daring Fireball uses several excellent Movable Type plug-ins, including Brad Choate’s <a href="http://bradchoate.com/weblog/2003/06/24/regular-expressions">MT-Regex</a> and <a href="http://bradchoate.com/weblog/2004/10/20/mtifempty">MT-IfEmpty</a>, and <a href="http://bumppo.net/projects/amputator/">Nat Irons’s Amputator</a>.</p> + <p>Stats are tracked using <a href="http://haveamint.com/">Mint</a>. Additional web nerdery, including the membership system, is fueled by <a href="http://perl.org/">Perl</a>, <a href="http://www.php.net/">PHP</a>, and <a href="http://www.mysql.com/">MySQL</a>.</p> + <h2>Web Standards</h2> + <p>Web standards are important, and Daring Fireball adheres to them. Specifically, Daring Fireball’s HTML markup should validate as either <a href="http://www.whatwg.org/specs/web-apps/current-work/">HTML 5</a> or XHTML 4.01 Transitional, its layout is constructed using <a href="http://jigsaw.w3.org/css-validator/validator?uri=http://daringfireball.net/css/fireball_screen.css">valid CSS</a>, and its syndicated feed is <a href="http://feedvalidator.org/check?url=http%3A%2F%2Fdaringfireball.net%2Findex.xml">valid Atom</a>.</p> + <p>If Daring Fireball looks goofy in your browser, you’re likely using a shitty browser that doesn’t support web standards. Internet Explorer, I’m looking in your direction. If you complain about this, I will laugh at you, because I do not care. If, however, you are using a modern, standards-compliant browser and have trouble viewing or reading Daring Fireball, please do let me know.</p> + </div> +</div>
\ No newline at end of file |