forked from prettydiff/prettydiff
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsamples.xhtml
1 lines (1 loc) · 8.39 KB
/
samples.xhtml
1
<?xml version='1.0' encoding='UTF-8' ?><!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.1//EN' 'http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd'><html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en'><head> <title>Pretty Diff - The difference tool</title> <meta name="robots" content="index, follow"/> <meta name="DC.title" content="Pretty Diff - The difference tool"/> <link rel='canonical' href='http://prettydiff.com/samples.php' type='application/xhtml+xml' /> <link rel="icon" type="image/x-icon" href="http://prettydiff.com/images/favicon.ico"/> <link rel="meta" href="http://prettydiff.com/labels.rdf" type="application/rdf+xml" title="ICRA labels"/> <meta http-equiv="pics-Label" content='(pics-1.1 "http://www.icra.org/pics/vocabularyv03/" l gen true for "http://prettydiff.com" r (n 0 s 0 v 0 l 0 oa 0 ob 0 oc 0 od 0 oe 0 of 0 og 0 oh 0 c 1) gen true for "http://www.prettydiff.com" r (n 0 s 0 v 0 l 0 oa 0 ob 0 oc 0 od 0 oe 0 of 0 og 0 oh 0 c 1))'/> <meta name="author" content="Austin Cheney"/> <meta name="description" content="Pretty Diff tool can minify, beautify (pretty-print), or diff between minified and beautified code. This tool can even beautify and minify HTML."/> <meta name="distribution" content="Global"/> <meta http-equiv="Content-Language" content="en"/> <meta http-equiv="Content-Type" content="application/xhtml+xml;charset=UTF-8"/> <meta http-equiv="Page-Enter" content="blendTrans(Duration=0)"/> <meta http-equiv="Page-Exit" content="blendTrans(Duration=0)"/> <meta http-equiv="content-style-type" content="text/css"/> <meta http-equiv="content-script-type" content="application/javascript"/> <meta name="google-site-verification" content="qL8AV9yjL2-ZFGV9ey6wU3t7pTZdpD4lIetUSiNen7E" /> <link rel="stylesheet" type="text/css" href="diffview.css" media="all"/> </head><body id="samples" class="shadow"><div id="top"><h1><a href="http://prettydiff.com/" style="color:#000;"><svg version="1.0" xmlns="http://www.w3.org/2000/svg" width="2000.000000pt" height="2000.000000pt" viewBox="0 0 2000.000000 2000.000000" preserveAspectRatio="xMidYMid meet"><g transform="translate(0.000000,2000.000000) scale(0.100000,-0.100000)" fill="#999" stroke="none"><path d="M14871 18523 c-16 -64 -611 -2317 -946 -3588 -175 -660 -319 -1202 -320 -1204 -2 -2 -50 39 -107 91 -961 876 -2202 1358 -3498 1358 -1255 0 -2456 -451 -3409 -1279 -161 -140 -424 -408 -560 -571 -507 -607 -870 -1320 -1062 -2090 -58 -232 -386 -1479 -2309 -8759 -148 -563 -270 -1028 -270 -1033 0 -4 614 -8 1365 -8 l1364 0 10 38 c16 63 611 2316 946 3587 175 660 319 1202 320 1204 2 2 50 -39 107 -91 543 -495 1169 -862 1863 -1093 1707 -568 3581 -211 4965 946 252 210 554 524 767 796 111 143 312 445 408 613 229 406 408 854 525 1320 57 225 380 1451 2310 8759 148 563 270 1028 270 1033 0 4 -614 8 -1365 8 l-1364 0 -10 -37z m-4498 -5957 c477 -77 889 -256 1245 -542 523 -419 850 -998 954 -1689 18 -121 18 -549 0 -670 -80 -529 -279 -972 -612 -1359 -412 -480 -967 -779 -1625 -878 -121 -18 -549 -18 -670 0 -494 74 -918 255 -1283 548 -523 419 -850 998 -954 1689 -18 121 -18 549 0 670 104 691 431 1270 954 1689 365 293 828 490 1283 545 50 6 104 13 120 15 72 10 495 -3 588 -18z"/></g></svg> <span id="title_text">Pretty Diff - The difference tool</span></a></h1><div id="introduction"><p id="dcolorScheme"><label for="colorScheme" class="label">Color Scheme</label><select onchange="pd.colorScheme(this)" id="colorScheme"><option>Default</option><option>Coffee</option><option>Dark</option><option>Canvas</option><option selected="selected">Shadow</option><option>White</option></select></p><p>Examine these samples to see some of the capabilities and potential of the Pretty Diff tool.</p><p id="update">Updated: 17 Apr 2012</p><span class="clear"></span></div></div><ol id="pdsamples"><li><p><a href="http://prettydiff.com/?m=diff&s=http://prettydiff.com/prettydiff.js&d=http://prettydiff.com/prettydiff-min.js">Diff a minified JavaScript source from Pretty Diff to a duplicate but unminified code source.</a></p> <div><p>Raw code used for this example:</p> <ul><li><a href="http://prettydiff.com/prettydiff.js">http://prettydiff.com/prettydiff.js</a></li> <li><a href="http://prettydiff.com/prettydiff-min.js">http://prettydiff.com/prettydiff-min.js</a></li> </ul></div></li><li><p><a href="http://prettydiff.com/?m=diff&l=html&s=http://nodejs.org/docs/v0.6.15/api/all.html&d=http://nodejs.org/docs/v0.6.13/api/all.html">Diff complete Node.js v0.6.15 documentation to v0.6.13 documentation. Warning, big execution!!</a></p> <div><p>Raw code used for this example:</p> <ul><li><a href="http://nodejs.org/docs/v0.6.15/api/all.html">http://nodejs.org/docs/v0.6.15/api/all.html</a></li> <li><a href="http://nodejs.org/docs/v0.6.13/api/all.html">http://nodejs.org/docs/v0.6.13/api/all.html</a></li> </ul></div></li><li><p><a href="http://prettydiff.com/?m=diff&s=http://code.jquery.com/jquery-1.7.2.js&d=http://code.jquery.com/jquery-1.7.2.min.js">Diff a JavaScript source from jQuery to obfuscated code. Demonstrates why I dislike obfuscation. Warning, big execution!!</a></p> <div><p>Raw code used for this example:</p> <ul><li><a href="http://code.jquery.com/jquery-1.7.2.js">http://code.jquery.com/jquery-1.7.2.js</a></li> <li><a href="http://code.jquery.com/jquery-1.7.2.min.js">http://code.jquery.com/jquery-1.7.2.min.js</a></li> </ul></div></li><li><p><a href="http://prettydiff.com/?m=diff&s=http://prettydiff.com/&d=http://prettydiff.com/prettydiff.com.xhtml">Diff a minified HTML sample to a similar different minified HTML source.</a></p> <div><p>Raw code used for this example:</p> <ul><li><a href="http://prettydiff.com/">http://prettydiff.com/</a></li> <li><a href="http://prettydiff.com/prettydiff.com.xhtml">http://prettydiff.com/prettydiff.com.xhtml</a></li> </ul></div></li><li><p><a href="http://prettydiff.com/?m=beautify&s=http://stackoverflow.com/">Beautify (pretty-print) the HTML of the Stackoverflow.com homepage as XML.</a></p> <div><p>Raw code used for this example:</p> <ul><li><a href="http://stackoverflow.com/">http://stackoverflow.com/</a></li> </ul></div></li><li><p><a href="http://prettydiff.com/?m=beautify&s=http://w3schools.com/jsref/jsref_obj_regexp.asp&l=html">Beautify (pretty-print) the HTML of the W3Schools JavaScript RegExp reference as HTML.</a></p> <div><p>Raw code used for this example:</p> <ul><li><a href="http://w3schools.com/jsref/jsref_obj_regexp.asp">http://w3schools.com/jsref/jsref_obj_regexp.asp</a></li> </ul></div></li><li><p><a href="http://prettydiff.com/?m=beautify&s=http://nodejs.org/docs/v0.6.15/api/all.html&l=html">Beautify (pretty-print) the HTML of the full Node.js documentation.</a></p> <div><p>Raw code used for this example:</p> <ul><li><a href="http://nodejs.org/docs/v0.6.15/api/all.html">http://nodejs.org/docs/v0.6.15/api/all.html</a></li> </ul></div></li><li><p><a href="http://prettydiff.com/?m=minify&s=http://w3schools.com/jsref/jsref_obj_regexp.asp&l=html">Minify the HTML of the W3Schools JavaScript RegExp reference as HTML.</a></p> <div><p>Raw code used for this example:</p> <ul><li><a href="http://w3schools.com/jsref/jsref_obj_regexp.asp">http://w3schools.com/jsref/jsref_obj_regexp.asp</a></li> </ul></div></li><li><p><a href="http://prettydiff.com/?m=minify&s=http://mailmarkup.org/hcl/hcl1_0-documentation.xsd">Minify a large XML Schema with verbose annotations.</a></p> <div><p>Raw code used for this example:</p> <ul><li><a href="http://mailmarkup.org/hcl/hcl1_0-documentation.xsd">http://mailmarkup.org/hcl/hcl1_0-documentation.xsd</a></li> </ul></div></li><li><p><a href="http://prettydiff.com/?m=minify&s=http://nodejs.org/docs/v0.6.15/api/all.html&l=html">Minify the HTML of the full Node.js documentation.</a></p> <div><p>Raw code used for this example:</p> <ul><li><a href="http://nodejs.org/docs/v0.6.15/api/all.html">http://nodejs.org/docs/v0.6.15/api/all.html</a></li> </ul></div></li></ol> <div id="diffoutput"><p id="emailme">Please send comments, feedback, and requests to <a href="mailto:austin.cheney@us.army.mil">austin.cheney@us.army.mil</a>.</p><p>Created by <a href="http://mailmarkup.org/">Austin Cheney</a> on 3 Mar 2009. This is a heavy modification of JavaScript tools: <a href="https://github.com/cemerick/jsdifflib/">jsdifflib</a>, <a href="http://www.crockford.com/javascript/jsmin.html">jsmin</a> in <a href="http://fmarcia.info/jsmin/">JavaScript</a>, <a href="http://tools.arantius.com/tabifier">cleanCSS</a> and other custom written libraries.</p> </div><script type="application/javascript" src="api/dom.js"></script></body></html>