Add a sample articler tester and a nyt sample to process

0.3.0.dev
Richard Harding 12 years ago
parent 2ee2fe9536
commit dc86283d83

@ -0,0 +1,944 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://www.facebook.com/2008/fbml">
<head>
<title>Watches Are Rediscovered by the Cellphone Generation - NYTimes.com</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="description" content="Watches of a certain pedigree — even those that are just plain big — are especially valued.">
<meta name="keywords" content="Watches and Clocks,Fashion and Apparel,Shopping and Retail,Blogs and Blogging (Internet),Luxury Goods,Men and Boys,Williams Michael,Clymer Benjamin,Gilt">
<meta name="ROBOTS" content="NOARCHIVE">
<meta name="DISPLAYDATE" content="July 6, 2011">
<meta name="hdl" content="Watches Are Rediscovered by the Cellphone Generation">
<meta name="hdl_p" content="Tick, Tick, Tick, Chic">
<meta name="byl" content="By ALEX WILLIAMS">
<meta name="lp" content="Watches of a certain pedigree — even those that are just plain big — are especially valued.">
<meta name="cre" content="The New York Times">
<meta name="edt" content="NewYork">
<meta name="pdate" content="20110706">
<meta name="ttl" content="">
<meta name="virtloc" content="">
<meta name="des" content="Watches and Clocks;Fashion and Apparel;Shopping and Retail;Blogs and Blogging (Internet);Luxury Goods;Men and Boys">
<meta name="per" content="">
<meta name="org" content="">
<meta name="geo" content="">
<meta name="ticker" content="Casio Computer Co|CSIOF|other-OTC;Movado Group Incorporated|MOV|NYSE;Fossil Incorporated|FOSL|NASDAQ">
<meta name="misspelling" content="">
<meta name="dat" content="July 6, 2011">
<meta name="tom" content="News">
<meta name="cat" content="">
<meta name="col" content="">
<meta name="dsk" content="Fashion &amp; Style">
<meta name="articleid" content="1248069796572">
<meta name="ARTICLE_TEMPLATE_VERSION" CONTENT="700">
<meta name="hdr_img" content="/images/article/header/sect_fashion.gif">
<meta name="thumbnail" content="images/2011/07/07/fashion/Z-JP-WATCHES-span/Z-JP-WATCHES-4-thumbStandard.jpg">
<meta name="thumbnail_height" content="75">
<meta name="thumbnail_width" content="75">
<meta name="xlarge" content="images/2011/07/07/fashion/Z-JP-WATCHES-span/Z-JP-WATCHES-4-articleLarge.jpg">
<meta name="xlarge_height" content="350">
<meta name="xlarge_width" content="600">
<meta name="sectionfront_jsonp" content="http://json8.nytimes.com/pages/fashion/index.jsonp">
<meta name="CG" content="fashion">
<meta name="SCG" content="">
<meta name="PT" content="Article">
<meta name="PST" content="News">
<meta name="msapplication-starturl" content="http://www.nytimes.com/">
<link rel="canonical" href="http://www.nytimes.com/2011/07/07/fashion/watches-are-rediscovered-by-the-cellphone-generation.html?pagewanted=all">
<meta property="og:url" content="http://www.nytimes.com/2011/07/07/fashion/watches-are-rediscovered-by-the-cellphone-generation.html?pagewanted=all"/>
<meta property="og:type" content="article"/>
<meta property="og:title" content="Watches Are Rediscovered by the Cellphone Generation"/>
<meta property="og:image" content="http://graphics8.nytimes.com/images/2011/07/07/fashion/Z-JP-WATCHES-span/Z-JP-WATCHES-4-thumbStandard.jpg"/>
<link rel="stylesheet" type="text/css" href="http://graphics8.nytimes.com/css/0.1/screen/build/article/2.0/styles.css"><!--[if IE]>
<style type="text/css">
@import url(http://graphics8.nytimes.com/css/0.1/screen/common/ie.css);
</style>
<![endif]-->
<!--[if IE 6]>
<style type="text/css">
@import url(http://graphics8.nytimes.com/css/0.1/screen/common/ie6.css);
</style>
<![endif]-->
<script type="text/javascript" src="http://graphics8.nytimes.com/js/common.js"></script>
<script type="text/javascript" src="http://graphics8.nytimes.com/js/common/screen/DropDown.js"></script>
<script type="text/javascript" src="http://graphics8.nytimes.com/js/util/tooltip.js"></script>
<script type="text/javascript" src="http://graphics8.nytimes.com/js/common/screen/altClickToSearch.js"></script>
<script type="text/javascript" src="http://graphics8.nytimes.com/js/app/article/upNext.js"></script>
<script type="text/javascript" src="http://graphics8.nytimes.com/js/article/articleShare.js"></script>
</head>
<body >
<a name="top"></a>
<div id="shell">
<ul id="memberTools">
<!-- ADXINFO classification="box_184x90" campaign="nyt2012-circ-nonhp_bar1_dbl_ears_test_38W99_38W98"--><!-- start text link -->
<li class="cColumn-TextAdsHeader">Subscribe:
<a href="http://www.nytimes.com/adx/bin/adx_click.html?type=goto&opzn&page=www.nytimes.com/yr/mo/day/fashion&pos=Bar1&sn2=5db803bf/f0787326&sn1=d69e9bd7/fa88c51f&camp=nyt2012-circ-nonhp_bar1_dbl_ears_test_38W99_38W98&ad=101711-bar1_38W99_38W98&goto=http%3A%2F%2Fwww%2Enytimes%2Ecom%2Fsubscriptions%2FMultiproduct%2Flp5558%2Ehtml%3FcampaignId%3D38W99" target="_blank">
Digital</a> / <a href="http://www.nytimes.com/adx/bin/adx_click.html?type=goto&opzn&page=www.nytimes.com/yr/mo/day/fashion&pos=Bar1&sn2=5db803bf/f0787326&sn1=5e5de8fa/7bdaeedf&camp=nyt2012-circ-nonhp_bar1_dbl_ears_test_38W99_38W98&ad=101711-bar1_38W99_38W98&goto=http%3A%2F%2Fnytimesathome%2Ecom%2Fhd%2F142%3FMediaCode%3DW39AA%26CMP%3D38W98" target="_blank">Home Delivery</a>
</li>
<!-- end text link -->
<li><a id="memberToolsLogin" href="https://myaccount.nytimes.com/auth/login">Log In</a></li>
<li><a href="https://myaccount.nytimes.com/gst/regi.html">Register Now</a></li>
<li><a href="http://www.nytimes.com/membercenter/sitehelp.html">Help</a></li>
</ul>
<div class="tabsContainer">
<ul id="mainTabs" class="tabs">
<li class="first mainTabHome"><a href="http://www.nytimes.com">Home Page</a></li>
<li class="mainTabTodaysPaper"><a href="http://www.nytimes.com/pages/todayspaper/index.html">Today's Paper</a></li>
<li class="mainTabVideo"><a href="http://www.nytimes.com/video">Video</a></li>
<li class="mainTabMostPopular"><a href="http://www.nytimes.com/mostpopular">Most Popular</a></li>
<li class="mainTabTimesTopics"><a href="http://topics.nytimes.com/top/reference/timestopics">Times Topics</a></li>
</ul>
</div>
<script type="text/javascript">
window.setTimeout(function() {
var login = document.getElementById('memberToolsLogin');
if (login) {
login.href += "?URI=" + window.location.href;
}
}, 0)
</script> <div id="page" class="tabContent active">
<div class="clearfix" id="masthead">
<div class="singleAd" id="Middle1C">
<!-- ADXINFO classification="Button88x31" campaign="ING_DirectSiteSearch12-1786280-nyt1"--><A HREF="http://www.nytimes.com/adx/bin/adx_click.html?type=goto&opzn&page=www.nytimes.com/yr/mo/day/fashion&pos=Middle1C&sn2=2709d35/c8df37e4&sn1=facc780b/b59f6e47&camp=ING_DirectSiteSearch12-1786280-nyt1&ad=DirectSiteSearch12.ROS.dart88x31&goto=http://ad.doubleclick.net/jump/N3282.nytimes.comSD6440/B6188947;sz=88x31;pc=nyt176128A288112;ord=2012.04.18.18.22.00?" TARGET="_blank">
<IMG SRC="http://ad.doubleclick.net/ad/N3282.nytimes.comSD6440/B6188947;sz=88x31;pc=nyt176128A288112;ord=2012.04.18.18.22.00?"
BORDER=0 WIDTH=88 HEIGHT=31
ALT="Click Here"></A>
</div>
<div id="searchWidget">
<div class="inlineSearchControl">
<form enctype="application/x-www-form-urlencoded" action="http://query.nytimes.com/search/sitesearch" method="get" name="searchForm" id="searchForm">
<input type="hidden" value="full" name="date_select"/>
<label for="searchQuery">Search All NYTimes.com</label>
<input type="text" class="text" value="" size="" name="query" id="searchQuery"/>
<input type="hidden" id="searchAll" name="type" value="nyt"/>
<input id="searchSubmit" title="Search" width="22" height="19" alt="Search" type="image" src="http://graphics8.nytimes.com/images/global/buttons/go.gif">
</form>
</div>
</div>
<div id="branding" >
<a href="http://www.nytimes.com"><span id="nytIhtMastheadLogo">
<a href="http://www.nytimes.com"><img src="http://graphics8.nytimes.com/images/misc/nytlogo152x23.gif" alt="New York Times" id="NYTLogo"/></a>
</span></a>
</div>
<h2>
<a href="http://www.nytimes.com/pages/fashion/index.html">Fashion & Style</a>
</h2>
</div>
<div class="navigation tabsContainer">
<ul class="tabs">
<li id="navWorld" class="first ">
<a href="http://www.nytimes.com/pages/world/index.html">World</a>
</li> <li id="navUs" >
<a href="http://www.nytimes.com/pages/national/index.html">U.S.</a>
</li> <li id="navNyregion" >
<a href="http://www.nytimes.com/pages/nyregion/index.html">N.Y. / Region</a>
</li> <li id="navBusiness" >
<a href="http://www.nytimes.com/pages/business/index.html">Business</a>
</li> <li id="navTechnology" >
<a href="http://www.nytimes.com/pages/technology/index.html">Technology</a>
</li> <li id="navScience" >
<a href="http://www.nytimes.com/pages/science/index.html">Science</a>
</li> <li id="navHealth" >
<a href="http://www.nytimes.com/pages/health/index.html">Health</a>
</li> <li id="navSports" >
<a href="http://www.nytimes.com/pages/sports/index.html">Sports</a>
</li> <li id="navOpinion" >
<a href="http://www.nytimes.com/pages/opinion/index.html">Opinion</a>
</li> <li id="navArts" >
<a href="http://www.nytimes.com/pages/arts/index.html">Arts</a>
</li> <li id="navStyle" class="selected">
<a href="http://www.nytimes.com/pages/style/index.html">Style</a>
<ul class="subNavigation"><li id="subNav_fashion" class="selected nochildren" ><a href="http://www.nytimes.com/pages/fashion/index.html">Fashion & Style</a></li><li id="subNav_dining"><a href="http://www.nytimes.com/pages/dining/index.html">Dining & Wine</a></li><li id="subNav_garden"><a href="http://www.nytimes.com/pages/garden/index.html">Home & Garden</a></li><li id="subNav_weddings"><a href="http://www.nytimes.com/pages/fashion/weddings/index.html">Weddings/Celebrations</a></li><li id="subNav_t-magazine"><a href="http://www.nytimes.com/pages/style/t/index.html">T Magazine</a></li></ul></li> <li id="navTravel" >
<a href="http://www.nytimes.com/pages/travel/index.html">Travel</a>
</li> <li id="navJobs" >
<a href="http://www.nytimes.com/pages/jobs/index.html">Jobs</a>
</li> <li id="navRealestate" >
<a href="http://www.nytimes.com/pages/realestate/index.html">Real Estate</a>
</li> <li id="navAutomobiles" >
<a href="http://www.nytimes.com/pages/automobiles/index.html">Autos</a>
</li></ul>
</div>
<div class="singleAd" id="TopAd">
<!-- ADXINFO classification="leaderboard_728" campaign="eBay_DigitalBridge2012_1809883-nyt2"--> <script language="JavaScript1.1" src="http://rover.ebay.com/ar/1/83124/4?mpt=2012.04.18.18.22.00&siteid=0&icep_siteid=0&ipn=admain&adtype=3&size=728x90&adid=453512&mpvc="></script>
<noscript>
<a href="http://rover.ebay.com/rover/1/83124/4?mpt=2012.04.18.18.22.00&siteid=0">
<img src="http://rover.ebay.com/ar/1/83124/4?mpt=2012.04.18.18.22.00&siteid=0&icep_siteid=0&ipn=admain&adtype=1&size=728x90&adid=453512" alt="Click Here" border="0">
</a>
</noscript>
</div>
<div id="main">
<div class="spanAB wrap closing">
<div id="abColumn" class="abColumn"><!--open abColumn -->
<div id="article">
<!--cur: prev:-->
<div class="columnGroup first">
<h1 class="articleHeadline"><NYT_HEADLINE version="1.0" type=" ">Watches Are Rediscovered by the Cellphone Generation</NYT_HEADLINE></h1>
<div class="articleSpanImage"><img src="http://graphics8.nytimes.com/images/2011/07/07/fashion/Z-JP-WATCHES-span/Z-JP-WATCHES-4-articleLarge.jpg" width="600" height="350" alt="" border="0">
<div class="credit">Elizabeth Lippman for The New York Times</div>
</div> <!--[if lt IE 8]>
<script type="text/javascript">
if($$('div.articleSpanImage') != null) {
var articleSpanImage = $$('div.articleSpanImage')[0].getElementsByTagName("img")[0];
var articleSpanImageSrc = articleSpanImage.getAttribute('src');
articleSpanImage.setAttribute('src',"http://graphics8.nytimes.com/images/global/backgrounds/transparentBG.gif");
var filter = "progId:DXImageTransform.Microsoft.AlphaImageLoader(src='"+articleSpanImageSrc+"', sizingMethod='scale' )";
articleSpanImage.style.filter = filter;
}
</script>
<![endif]-->
<NYT_BYLINE > <h6 class="byline">By ALEX WILLIAMS</h6>
</NYT_BYLINE>
<h6 class="dateline">Published: July 6, 2011 </h6>
<script type="text/javascript">
var articleToolsShareData = {"url":"http:\/\/www.nytimes.com\/2011\/07\/07\/fashion\/watches-are-rediscovered-by-the-cellphone-generation.html","headline":"Watches Are Rediscovered by the Cellphone Generation","description":"Watches of a certain pedigree \u2014 even those that are just plain big \u2014 are especially valued.","keywords":"Watches and Clocks,Fashion and Apparel,Shopping and Retail,Blogs and Blogging (Internet),Luxury Goods,Men and Boys","section":"fashion","sub_section":null,"section_display":"Fashion & Style","sub_section_display":null,"byline":"By ALEX WILLIAMS","pubdate":"July 6, 2011","passkey":null};
function getShareURL() {
return encodeURIComponent(articleToolsShareData.url);
}
function getShareHeadline() {
return encodeURIComponent(articleToolsShareData.headline);
}
function getShareDescription() {
return encodeURIComponent(articleToolsShareData.description);
}
function getShareKeywords() {
return encodeURIComponent(articleToolsShareData.keywords);
}
function getShareSection() {
return encodeURIComponent(articleToolsShareData.section);
}
function getShareSubSection() {
return encodeURIComponent(articleToolsShareData.sub_section);
}
function getShareSectionDisplay() {
return encodeURIComponent(articleToolsShareData.section_display);
}
function getShareSubSectionDisplay() {
return encodeURIComponent(articleToolsShareData.sub_section_display);
}
function getShareByline() {
return encodeURIComponent(articleToolsShareData.byline);
}
function getSharePubdate() {
return encodeURIComponent(articleToolsShareData.pubdate);
}
function getSharePasskey() {
return encodeURIComponent(articleToolsShareData.passkey);
}
</script>
<div id="articleToolsTop" class="articleTools">
<div class="box">
<div class="inset">
<ul id="toolsList" class="toolsList wrap">
<li class="email">
<a id="emailThis" onClick="s_code_linktrack('Article-Tool-EmailSignIn');"
href="http://www.nytimes.com/auth/login?URI=http://www.nytimes.com/2011/07/07/fashion/watches-are-rediscovered-by-the-cellphone-generation.html">Sign In to E-Mail</a>
</li>
<li class="print">
<A HREF="/2011/07/07/fashion/watches-are-rediscovered-by-the-cellphone-generation.html?_r=2&pagewanted=print">Print</a>
</li>
<li class="singlePage">
<A HREF="/2011/07/07/fashion/watches-are-rediscovered-by-the-cellphone-generation.html?_r=2&pagewanted=all"> Single Page</a>
</li>
<NYT_REPRINTS_FORM>
<script name="javascript">
function submitCCCForm(){
var PopUp = window.open('', '_Icon','location=no,toolbar=no,status=no,width=650,height=550,scrollbars=yes,resizable=yes');
var form = document.forms["cccform"];
// ensure that we are operating on the Form, not a NodeList
if (form.nodeName == "FORM") {
form.submit();
} else if (form[0] && form[0].nodeName == "FORM") {
form[0].submit();
}
}
</script>
<li class="reprints"> <form name="cccform" action="https://s100.copyright.com/CommonApp/LoadingApplication.jsp" target="_Icon">
<input type="hidden" name="Title" value="Watches Are Rediscovered by the Cellphone Generation">
<input type="hidden" name="Author" value="By ALEX WILLIAMS ">
<input type="hidden" name="ContentID" value="http://www.nytimes.com/2011/07/07/fashion/watches-are-rediscovered-by-the-cellphone-generation.html">
<input type="hidden" name="FormatType" value="default">
<input type="hidden" name="PublicationDate" value="July 7, 2011">
<input type="hidden" name="PublisherName" value="The New York Times">
<input type="hidden" name="Publication" value="nytimes.com">
<input type="hidden" name="wordCount" value="12">
</form>
<a href="#" onClick="submitCCCForm()">Reprints</a>
</li>
</NYT_REPRINTS_FORM>
</ul>
<div class="articleToolsSponsor" id="Frame4A"><!-- ADXINFO classification="feature_position" campaign="FSL2012_ArticleTools_120x60_1787505b_nyt5"--><a href="http://www.nytimes.com/adx/bin/adx_click.html?type=goto&opzn&page=www.nytimes.com/yr/mo/day/fashion&pos=Frame4A&sn2=c740a924/e0616715&sn1=4611649d/da721dea&camp=FSL2012_ArticleTools_120x60_1787505b_nyt5&ad=SoundOfMyVoice_April12&goto=http%3A%2F%2Fwww%2Efoxsearchlight%2Ecom%2Fsoundofmyvoice" target="_blank">
<img src="http://graphics8.nytimes.com/adx/images/ADS/29/83/ad.298301/SOMV_NewNYT120x60.gif" width="120" height="60" border="0"></a>
</div> </div>
</div>
</div>
<div class="articleBody">
<NYT_TEXT >
<NYT_CORRECTION_TOP>
</NYT_CORRECTION_TOP>
<p>
MICHAEL WILLIAMS, who runs <a title="The Web site." href="http://www.acontinuouslean.com/">A Continuous Lean</a>, a men&rsquo;s style blog, ditched his Timex when he got his first cellphone in 2001. </p>
</div>
<div class="articleInline runaroundLeft">
<!--forceinline-->
<div class="doubleRule"><div class="story">
<h4><a href="http://nytimes.com/thecollection">The Collection: A New Fashion App for the iPad</a></h4>
<div class="runaroundRight"><a href="http://nytimes.com/thecollection"><img src="http://graphics8.nytimes.com/packages/images/style/promos/thecollection_75.png" height="75" width="75" alt="The Collection" /></a></div>
<p class="summary">A one-stop destination for Times fashion coverage and the latest from the runways.</p>
<ul class="refer"><li><a href="http://nytimes.com/thecollection">Download It From the App Store</a></li></ul>
</div>
<div class="singleRuleDivider"></div>
<div class="story">
<h4><a href="http://twitter.com/#!/nytimesfashion/">Follow Us on Twitter</a></h4>
<div class="runaroundRight"><a href="http://twitter.com/#!/nytimesfashion/"><img src="http://graphics8.nytimes.com/images/2011/09/04/fashion/fashion-twitter-pog/fashion-twitter-pog-popup.jpg" height="75" width="75" alt="NYTimesFashion on Twitter" /></a></div>
<p class="summary">Follow <a href="http://twitter.com/#!/nytimesfashion/">@NYTimesfashion</a> for fashion, beauty and lifestyle news and headlines.</p>
</div>
</div>
<div class="inlineImage module">
<div class="image">
<div class="icon enlargeThis"><a href="javascript:pop_me_up2('http://www.nytimes.com/imagepages/2011/07/07/fashion/Z-P1-WATCHES-3.html','Z_P1_WATCHES_3_html','width=459,height=630,scrollbars=yes,toolbars=no,resizable=yes')">Enlarge This Image</a></div>
<a href="javascript:pop_me_up2('http://www.nytimes.com/imagepages/2011/07/07/fashion/Z-P1-WATCHES-3.html','Z_P1_WATCHES_3_html','width=459,height=630,scrollbars=yes,toolbars=no,resizable=yes')">
<img src="http://graphics8.nytimes.com/images/2011/07/07/fashion/Z-P1-WATCHES-3/Z-P1-WATCHES-3-articleInline.jpg" width="190" height="244" alt="">
</a>
</div>
<h6 class="credit">Peter DaSilva for The New York Times</h6>
<p class="caption"><strong>ANALOG LOVE</strong> Andy Greenblatt of Watchismo, an online retailer that has seen more interest from a generation of men who rely on their  cellphones for the time. </p>
</div>
</div>
<div class="articleBody">
<p>
Tyler Thoreson, the head of men&rsquo;s editorial for Gilt Man, the flash sale Web site, often kept his forgettable watches stashed in a drawer. </p><p>
And Eddy Chai, an owner of Odin New York, a downtown men&rsquo;s boutique, gave up wearing watches regularly in his mid-20s, when he outgrew his Casio. </p><p>
But after going watch-free for much of the last decade, the three men &mdash; all in their 30s and considered style influencers &mdash; are turning back time. Mr. Thoreson, 38, is shopping for a vintage gold IWC with a white dial or a Rolex GMT-Master. Mr. Chai, 38, has been wearing a vintage Rolex, loosely dangling around his wrist, &ldquo;not as a timepiece, but as a piece of jewelry,&rdquo; he said. </p><p>
And Mr. Williams, 32, splurged on three watches: an IWC Portuguese, a Rolex GMT-Master II and an Omega Speedmaster, also known as the &ldquo;moon watch,&rdquo; since that is what Apollo astronauts wore. </p><p>
&ldquo;The men&rsquo;s-wear set has recently rediscovered the joy of proper mechanical timepieces,&rdquo; Mr. Williams said. &ldquo;Right now there is no clearer indication of cool than wearing a watch. If it was your grandfather&rsquo;s bubbleback Rolex, even better.&rdquo; </p><p>
As recently as a half-decade ago, time seemed to be running out for the wristwatch. With cellphones, iPods and other clock-equipped devices becoming ubiquitous, armchair sociologists were writing off the wristwatch as an antique, joining VHS tapes, Walkman players and pocket calculators on the slag heap of outmoded gadgets. </p><p>
The wristwatch &ldquo;may be going the way of the abacus,&rdquo; declared a news article in The Sacramento Bee in 2006. The Times of London had it &ldquo;going the same way as the sundial.&rdquo; The Boston Globe, in a 2005 lifestyle feature, was more definitive: &ldquo;Anyone who needs to know the time these days would be wise to ask someone over the age of 30. To most young people, the wristwatch is an obsolete artifact.&rdquo; </p><p>
Or, not. </p><p>
The &ldquo;sundial&rdquo; of the wrist is experiencing an uptick among members of the supposed lost generation, particularly by heritage-macho types in their 20s and 30s who are drawn to the wristwatch&rsquo;s retro appeal, just as they have seized on straight razors, selvedge denim and vintage vinyl. </p><p>
"It&rsquo;s an understated statement about your station in life, your taste level,&rdquo; Mr. Thoreson said. </p><p>
He got a taste of the pent-up demand last fall, when Gilt organized a high-end vintage watch sale with Benjamin Clymer, 28, who runs an online magazine for watch enthusiasts called<a href="http://www.hodinkee.com/"> Hodinkee.com</a>. (Mr. Clymer, a former UBS manager, said his site attracts 250,000 unique visitors a month, more than half of them under 40.) </p><p>
Fourteen of the 17 watches, with an average price of $4,800, sold in the first six hours. Gilt now holds a watch sale every month. &ldquo;In certain circles,&rdquo; Mr. Thoreson said, &ldquo;if you don&rsquo;t have a substantial timepiece with some pedigree, you feel like you&rsquo;re missing out on something.&rdquo; </p><p>
To be fair, the doomsayers were not entirely wrong. Few people actually need a watch to tell time anymore. Melanie Shreffler, editor in chief of<a href="http://www.ypulse.com/"> Ypulse</a>, a Web site and market research company that tracks youth trends, observed, &ldquo;even the high school and college students who wear watches usually pull out their cellphones to check the time.&rdquo; </p><p>
But that&rsquo;s the point. A watch these days may strike some people as an impractical, frivolous and often costly way to express individual style. But that is just another way of saying that it&rsquo;s fashion. </p><p>
&ldquo;Considering how casual most people dress on a day-to-day basis, a glamorous watch is one of the few accessories that can be at once sporty, luxurious and utilitarian,&rdquo; the designer Michael Kors wrote in an e-mail. Mr. Kors has a line of oversize chronographs, manufactured by Fossil, that is popular among women (they are a current must-have accessory among under-30 fashion assistant types in Manhattan). </p><p>
For a generation raised on Game Boys, however, the appeal seems to go a little deeper than just a desire for another fashion accessory. In a world surrounded by ever-glowing LCD screens, there&rsquo;s an analog chic to wearing a mechanical instrument. </p><p>
&ldquo;A cool machine that is all moving parts has got to be intrinsically interesting to someone born into this generation, because there&rsquo;s just nothing like that in their life,&rdquo; said Mitch Greenblatt, a founder, with his brother, Andy, of <a href="http://www.watchismo.com/">Watchismo</a>, a California online retailer of design-forward watches. </p><div id="pageLinks"><ul id="pageNumbers"><li> 1 </li><li> <a onClick="s_code_linktrack('Article-MultiPagePageNum2');" title="Page 2" href="/2011/07/07/fashion/watches-are-rediscovered-by-the-cellphone-generation.html?pagewanted=2&_r=2">2</a> </li></ul><a class="next" onClick="s_code_linktrack('Article-MultiPage-Next');"
title="Next Page"
href="/2011/07/07/fashion/watches-are-rediscovered-by-the-cellphone-generation.html?pagewanted=2&_r=2">Next Page &#x00bb;</a></div><NYT_CORRECTION_BOTTOM> <div class="articleCorrection">
</div>
</NYT_CORRECTION_BOTTOM><NYT_UPDATE_BOTTOM>
</NYT_UPDATE_BOTTOM>
</NYT_TEXT>
</div> </div>
<!--cur: prev:-->
<div class="columnGroup ">
<div class="articleFooter">
<div class="articleMeta">
<div class="opposingFloatControl wrap">
<div class="element1">
<h6 class="metaFootnote">A version of this article appeared in print on July 7, 2011, on page E1 of the New York edition with the headline: Tick, Tick, Tick, Chic.</h6>
</div>
</div>
</div>
</div> </div>
<!--cur: prev:-->
<div class="columnGroup ">
<div id="articleExtras">
<div class="expandedToolsRight">
<div class="articleTools">
<div class="box">
<div class="inset">
<ul id="toolsList" class="toolsList wrap">
<li class="email">
<a id="emailThis" onClick="s_code_linktrack('Article-Tool-EmailSignIn');"
href="http://www.nytimes.com/auth/login?URI=http://www.nytimes.com/2011/07/07/fashion/watches-are-rediscovered-by-the-cellphone-generation.html">Sign In to E-Mail</a>
</li>
<li class="print">
<A HREF="/2011/07/07/fashion/watches-are-rediscovered-by-the-cellphone-generation.html?_r=2&pagewanted=print">Print</a>
</li>
<li class="singlePage">
<A HREF="/2011/07/07/fashion/watches-are-rediscovered-by-the-cellphone-generation.html?_r=2&pagewanted=all"> Single Page</a>
</li>
<NYT_REPRINTS_FORM>
<script name="javascript">
function submitCCCForm(){
var PopUp = window.open('', '_Icon','location=no,toolbar=no,status=no,width=650,height=550,scrollbars=yes,resizable=yes');
var form = document.forms["cccform"];
// ensure that we are operating on the Form, not a NodeList
if (form.nodeName == "FORM") {
form.submit();
} else if (form[0] && form[0].nodeName == "FORM") {
form[0].submit();
}
}
</script>
<li class="reprints"> <form name="cccform" action="https://s100.copyright.com/CommonApp/LoadingApplication.jsp" target="_Icon">
<input type="hidden" name="Title" value="Watches Are Rediscovered by the Cellphone Generation">
<input type="hidden" name="Author" value="By ALEX WILLIAMS ">
<input type="hidden" name="ContentID" value="http://www.nytimes.com/2011/07/07/fashion/watches-are-rediscovered-by-the-cellphone-generation.html">
<input type="hidden" name="FormatType" value="default">
<input type="hidden" name="PublicationDate" value="July 7, 2011">
<input type="hidden" name="PublisherName" value="The New York Times">
<input type="hidden" name="Publication" value="nytimes.com">
<input type="hidden" name="wordCount" value="12">
</form>
<a href="#" onClick="submitCCCForm()">Reprints</a>
</li>
</NYT_REPRINTS_FORM>
</ul>
</div>
</div>
</div>
<script type="text/javascript">
writePost();
</script>
</div>
</div>
<div class="singleAd" id="Bottom1">
<table width="100%" border="0">
<tr>
<td><a href="http://www.nytimes.com/adx/bin/adx_click.html?type=goto&opzn&page=www.nytimes.com/yr/mo/day/fashion&pos=Bottom1&sn2=edde3667/a6847b09&sn1=bf8e7366/71c21872&camp=nyt2012-circ-footer_clickhere-36H9U&ad=051110-footer_clickhere-36H9U&goto=https%3A%2F%2Fwww%2Enytimesathome%2Ecom%2Fhd%2F101%3FSPTR%5FID%3DhdNYT%26MediaCode%3DW16AK%26CMP%3D36H9U"><img src="http://graphics8.nytimes.com/ads/circulation/icon-newspaper.jpg" height="27" width="40" alt="Get Home
Delivery" align="middle" border="0"/><font size="-1" class="nav" color="#000066" align="left">&nbsp;Get 50% Off The New York Times & Free All Digital Access.</font></a>
</td>
</tr>
</table>
</div>
</div>
<!--cur: prev:-->
<div class="columnGroup ">
<div class="singleRuleDivider"></div>
<div class="articleBottomExtra subColumns">
<div class="column">
<script type="text/javascript" src="http://graphics8.nytimes.com/js/app/article/outbrain.js"></script> </div>
<div class="column lastColumn">
<div class="emailAlertModule module">
<h5 class="sectionHeaderSm">Get Free E-mail Alerts on These Topics</h5>
<form action="https://myaccount.nytimes.com/mem/tnt.html" method="GET" enctype="application/x-www-form-urlencoded">
<input type="hidden" name="retA" value="http://www.nytimes.com//2011/07/07/fashion/watches-are-rediscovered-by-the-cellphone-generation.html" >
<input type="hidden" name="retT" value="Watches Are Rediscovered by the Cellphone Generation">
<input type="hidden" name="module" value="call">
<input type="hidden" name="alert_context" value="1">
<ul class="flush">
<li>
<input type="hidden" name="topic1" value="Watches+and+Clocks">
<input type="hidden" name="topic_field1" value="des">
<a class="inTextReferEmail" href="https://myaccount.nytimes.com/mem/tnt.html?module=call&alert_context=1&topic1=Watches+and+Clocks&topic_field1=des&topic1_check=y&retA=&retT=&cskey=" onClick="javascript:s_code_linktrack('Article-RelatedTopics'); dcsMultiTrack('DCS.dcssip','www.nytimes.com','DCS.dcsuri','/newstracker/add.html','WT.ti','Newstracker Add','WT.z_nta','Add','WT.pers','Per','WT.z_dcsm','1');" onmousedown="NYTD.relatedSearches.clickHandler(event);" >Watches and Clocks</a>
</li>
<li>
<input type="hidden" name="topic1" value="Fashion+and+Apparel">
<input type="hidden" name="topic_field1" value="des">
<a class="inTextReferEmail" href="https://myaccount.nytimes.com/mem/tnt.html?module=call&alert_context=1&topic1=Fashion+and+Apparel&topic_field1=des&topic1_check=y&retA=&retT=&cskey=" onClick="javascript:s_code_linktrack('Article-RelatedTopics'); dcsMultiTrack('DCS.dcssip','www.nytimes.com','DCS.dcsuri','/newstracker/add.html','WT.ti','Newstracker Add','WT.z_nta','Add','WT.pers','Per','WT.z_dcsm','1');" onmousedown="NYTD.relatedSearches.clickHandler(event);" >Fashion and Apparel</a>
</li>
<li>
<input type="hidden" name="topic1" value="Shopping+and+Retail">
<input type="hidden" name="topic_field1" value="des">
<a class="inTextReferEmail" href="https://myaccount.nytimes.com/mem/tnt.html?module=call&alert_context=1&topic1=Shopping+and+Retail&topic_field1=des&topic1_check=y&retA=&retT=&cskey=" onClick="javascript:s_code_linktrack('Article-RelatedTopics'); dcsMultiTrack('DCS.dcssip','www.nytimes.com','DCS.dcsuri','/newstracker/add.html','WT.ti','Newstracker Add','WT.z_nta','Add','WT.pers','Per','WT.z_dcsm','1');" onmousedown="NYTD.relatedSearches.clickHandler(event);" >Shopping and Retail</a>
</li>
<li>
<input type="hidden" name="topic1" value="Blogs+and+Blogging+%28Internet%29">
<input type="hidden" name="topic_field1" value="des">
<a class="inTextReferEmail" href="https://myaccount.nytimes.com/mem/tnt.html?module=call&alert_context=1&topic1=Blogs+and+Blogging+%28Internet%29&topic_field1=des&topic1_check=y&retA=&retT=&cskey=" onClick="javascript:s_code_linktrack('Article-RelatedTopics'); dcsMultiTrack('DCS.dcssip','www.nytimes.com','DCS.dcsuri','/newstracker/add.html','WT.ti','Newstracker Add','WT.z_nta','Add','WT.pers','Per','WT.z_dcsm','1');" onmousedown="NYTD.relatedSearches.clickHandler(event);" >Blogs and Blogging (Internet)</a>
</li>
</ul>
</form>
</div>
</div>
</div> </div>
<!--cur: prev:-->
<div class="columnGroup last">
<div class="columnGroup" id="adxSponLink"></div>
<script language="JavaScript">
google_hints="Watches Are Rediscovered by the Cellphone Generation";google_ad_channel="archive, archive_fashion, archive_Fashion & Style";
</script>
<!-- ADXINFO classification="feature_squares" campaign="ARTICLE_GOOGLE_SPONLINK"--><script language="JavaScript" type="text/javascript">
// Sponlink_short
NYTD.GoogleAds.getGoogleAds("AFC", {
google_ad_client:'nytimes_article_var',
google_ad_channel:'left',
ad_target_list:'sponLink'
});
</script>
</div>
</div>
</div><!--close abColumn -->
<div class="cColumn">
<div class="columnGroup">
</div>
<!----> <div class="columnGroup first">
</div>
<!----> <div class="columnGroup ">
<div class="singleAd" id="MiddleRight">
<!-- ADXINFO classification="BigAd" campaign="eBay_DigitalBridge2012_1809883-nyt2"--> <script language="JavaScript1.1" src="http://rover.ebay.com/ar/1/83123/4?mpt=2012.04.18.18.22.00&siteid=0&icep_siteid=0&ipn=admain&adtype=3&size=300x250&adid=453532&mpvc="></script>
<noscript>
<a href="http://rover.ebay.com/rover/1/83123/4?mpt=2012.04.18.18.22.00&siteid=0">
<img src="http://rover.ebay.com/ar/1/83123/4?mpt=2012.04.18.18.22.00&siteid=0&icep_siteid=0&ipn=admain&adtype=1&size=300x250&adid=453532" alt="Click Here" border="0">
</a>
</noscript>
</div>
</div>
<!----> <div class="columnGroup ">
<div class="singleAd" id="Box3">
<!-- ADXINFO classification="feature_squares" campaign="nyt2011-regilite-P2-ticketwatch"--><IFRAME title="regilite" src="https://myaccount.nytimes.com/regilite?product=TR" width="336" height="90" marginheight="0" marginwidth="0" frameborder="0" vspace="0" hspace="0" scrolling="no"></IFRAME>
</div>
</div>
<!----> <div class="columnGroup ">
</div>
<!----> <div class="columnGroup ">
</div>
<!----> <div class="columnGroup ">
<div id="mostPopWidget" class="doubleRule"></div>
<script src="http://graphics8.nytimes.com/js/app/recommendations/recommendationsModule.js" type="text/javascript" charset="utf-8"></script>
</div>
<!----> <div class="columnGroup ">
</div>
<!----> <div class="columnGroup ">
<div class="bigAd" id="Box1">
<!-- ADXINFO classification="Module" campaign="nyt2012_module_new_yorkify_hp_ros_db"--><!-- MARKETING MODULE -->
<div style="border:solid #999;border-width:1px;font-family:Arial,sans-serif;text-align:left; width:334px;background:#fff;" class="clearfix wrap">
<a href="http://www.nytimes.com/adx/bin/adx_click.html?type=goto&opzn&page=www.nytimes.com/yr/mo/day/fashion&pos=Box1&sn2=e6e11e78/1f76ef28&sn1=1cd59c8e/b5a756e9&camp=nyt2012_module_new_yorkify_hp_ros_db&ad=OP-D-I-NYT-MOD-MOD-M249-ROS-0412&goto=http://www.nytimes.com/roomfordebate/2012/04/05/should-los-angeles-new-yorkify%3FWT.mc_id=OP-D-I-NYT-MOD-MOD-M249-ROS-0412-PH%26WT.mc_ev=click%26WT.mc_c=185073" target="_blank"><img src="http://graphics8.nytimes.com/ads/marketing/mm12/opinion_041812.jpg" width="334" height="154" border="0" alt=""></a>
<div style="padding:7px 9px 0;background:#fff">
<h2 style="font-size:22px;line-height:24px; margin:0;padding:0 0 4px;"><a style="color:#004276;" target="_blank" href="http://www.nytimes.com/adx/bin/adx_click.html?type=goto&opzn&page=www.nytimes.com/yr/mo/day/fashion&pos=Box1&sn2=e6e11e78/1f76ef28&sn1=1cd59c8e/b5a756e9&camp=nyt2012_module_new_yorkify_hp_ros_db&ad=OP-D-I-NYT-MOD-MOD-M249-ROS-0412&goto=http://www.nytimes.com/roomfordebate/2012/04/05/should-los-angeles-new-yorkify%3FWT.mc_id=OP-D-I-NYT-MOD-MOD-M249-ROS-0412-HDR%26WT.mc_ev=click%26WT.mc_c=185073">Should Los Angeles New Yorkify? </a></h2>
<p style="margin:0 0 3px; padding:0;font-size: 11px;"><a href="http://www.nytimes.com/adx/bin/adx_click.html?type=goto&opzn&page=www.nytimes.com/yr/mo/day/fashion&pos=Box1&sn2=e6e11e78/1f76ef28&sn1=1cd59c8e/b5a756e9&camp=nyt2012_module_new_yorkify_hp_ros_db&ad=OP-D-I-NYT-MOD-MOD-M249-ROS-0412&goto=http://www.nytimes.com/pages/opinion/index.html%3FWT.mc_id=OP-D-I-NYT-MOD-MOD-M249-ROS-0412-URL%26WT.mc_ev=click%26WT.mc_c=185073" target="_blank" style="font-size:11px;margin:3px 0;padding:0;font-family:Arial,sans-serif; color:#000; text-transform:uppercase;">Also in Opinion &raquo;</a></p>
<ul style="font-size:12px;margin:0; padding-bottom: 10px; border-bottom:1px solid #ccc;" class="refer">
<li style="font-size:12px"><a target="_blank" href="http://www.nytimes.com/adx/bin/adx_click.html?type=goto&opzn&page=www.nytimes.com/yr/mo/day/fashion&pos=Box1&sn2=e6e11e78/1f76ef28&sn1=1cd59c8e/b5a756e9&camp=nyt2012_module_new_yorkify_hp_ros_db&ad=OP-D-I-NYT-MOD-MOD-M249-ROS-0412&goto=http://www.nytimes.com/2012/04/12/opinion/kristof-is-an-egg-for-breakfast-worth-this.html%3FWT.mc_id=OP-D-I-NYT-MOD-MOD-M249-ROS-0412-L1%26WT.mc_ev=click%26WT.mc_c=185073" style="color: #004276">Is an egg for breakfast worth this? </a></li>
<li style="font-size:12px"><a target="_blank" href="http://www.nytimes.com/adx/bin/adx_click.html?type=goto&opzn&page=www.nytimes.com/yr/mo/day/fashion&pos=Box1&sn2=e6e11e78/1f76ef28&sn1=85093890/278ca1ba&camp=nyt2012_module_new_yorkify_hp_ros_db&ad=OP-D-I-NYT-MOD-MOD-M249-ROS-0412&goto=http://loyalopposition.blogs.nytimes.com/2012/04/11/how-about-the-bush-recession%3FWT.mc_id=OP-D-I-NYT-MOD-MOD-M249-ROS-0412-L2%26WT.mc_ev=click%26WT.mc_c=185073" style="color: #004276">How about the Bush recession? </a></li>
</ul>
</div>
<div style="padding:5px 9px; float:left; width:316px; background:#fff"> <a style="float:left" href="http://www.nytimes.com/adx/bin/adx_click.html?type=goto&opzn&page=www.nytimes.com/yr/mo/day/fashion&pos=Box1&sn2=e6e11e78/1f76ef28&sn1=1cd59c8e/b5a756e9&camp=nyt2012_module_new_yorkify_hp_ros_db&ad=OP-D-I-NYT-MOD-MOD-M249-ROS-0412&goto=http://www.nytimes.com%3FWT.mc_id=OP-D-I-NYT-MOD-MOD-M249-ROS-0412-LOGO%26WT.mc_ev=click%26WT.mc_c=185073" target="_blank"><img src="http://graphics8.nytimes.com/ads/marketing/mm09/verticalst/nytimes.gif" alt="nytimes.com" width="116" height="18" border="0"></a><a style="float:right" href="http://www.nytimes.com/adx/bin/adx_click.html?type=goto&opzn&page=www.nytimes.com/yr/mo/day/fashion&pos=Box1&sn2=e6e11e78/1f76ef28&sn1=1cd59c8e/b5a756e9&camp=nyt2012_module_new_yorkify_hp_ros_db&ad=OP-D-I-NYT-MOD-MOD-M249-ROS-0412&goto=http://www.nytimes.com/pages/opinion/index.html%3FWT.mc_id=OP-D-I-NYT-MOD-MOD-M249-ROS-0412-VRT%26WT.mc_ev=click%26WT.mc_c=185073" target="_blank"><img src="http://graphics8.nytimes.com/ads/marketing/mm09/verticalst/verticals_opinion.gif" alt="Opinion" width="120" height="18" border="0"></a></div><br clear="all">
</div>
<!-- /MARKETING MODULE -->
</div>
</div>
<!----> <div class="columnGroup ">
<!--[TwoColumnAdLeft - Begin] -->
<div class="adHeader">
<h4>
Advertisements </h4>
</div>
<div class="cColumn-TextAdsBox">
<div class="cColumn-TextAdsLeft">
<div class="cColumn-TextAd">
<!-- ADXINFO classification="SiteForADay" campaign="nyt2012_mktg_audiencedev_queen_s4d_ros"--><div style="width:320px; height:60px;">
<a href="http://www.nytimes.com/adx/bin/adx_click.html?type=goto&opzn&page=www.nytimes.com/yr/mo/day/fashion&pos=Right5A&sn2=f78a9cb0/796ddd8f&sn1=c553ad7c/ef5b42cb&camp=nyt2012_mktg_audiencedev_queen_s4d_ros&ad=AD-D-I-NYT-AD-S4D-QN-ROS-0312-NA&goto=http%3A%2F%2Fwww%2Enytimes%2Ecom%2F2012%2F01%2F29%2Fbooks%2Freview%2Felizabeth%2Dthe%2Dqueen%2Dthe%2Dlife%2Dof%2Da%2Dmodern%2Dmonarch%2Dby%2Dsally%2Dbedell%2Dsmith%2Dbook%2Dreview%2Ehtml%3FWT%2Emc%5Fid%3DAD%2DD%2DI%2DNYT%2DAD%2DS4D%2DQN%2DROS%2D0312%2DNA%26WT%2Emc%5Fev%3Dclick%26WT%2Emc%5Fc%3D183720" target="_blank">
<img style="float:left; margin-right:10px;" src="http://graphics8.nytimes.com/adx/images/ADS/29/66/ad.296696/AudienceDev_86x60_queen.jpg" width="86" height="60" border="0" style="vertical-align:text-top;"></a>
<a href="http://www.nytimes.com/adx/bin/adx_click.html?type=goto&opzn&page=www.nytimes.com/yr/mo/day/fashion&pos=Right5A&sn2=f78a9cb0/796ddd8f&sn1=c553ad7c/ef5b42cb&camp=nyt2012_mktg_audiencedev_queen_s4d_ros&ad=AD-D-I-NYT-AD-S4D-QN-ROS-0312-NA&goto=http%3A%2F%2Fwww%2Enytimes%2Ecom%2F2012%2F01%2F29%2Fbooks%2Freview%2Felizabeth%2Dthe%2Dqueen%2Dthe%2Dlife%2Dof%2Da%2Dmodern%2Dmonarch%2Dby%2Dsally%2Dbedell%2Dsmith%2Dbook%2Dreview%2Ehtml%3FWT%2Emc%5Fid%3DAD%2DD%2DI%2DNYT%2DAD%2DS4D%2DQN%2DROS%2D0312%2DNA%26WT%2Emc%5Fev%3Dclick%26WT%2Emc%5Fc%3D183720" target="_blank"> <br />Queen Elizabeth II in Public and Private</a>
</div>
</div>
<div class="cColumn-TextAd">
</div>
<div class="cColumn-TextAd">
</div>
<div class="cColumn-TextAd">
</div>
</div>
</div>
<!--[TwoColumnAdLeft - End] -->
</div>
<!----> <div class="columnGroup ">
<div class="singleAd" id="Middle5">
<!-- ADXINFO classification="FeaturedProduct" campaign="nyt2012_mktg_audiencedev_places_336x79_ros"--><a href="http://www.nytimes.com/adx/bin/adx_click.html?type=goto&opzn&page=www.nytimes.com/yr/mo/day/fashion&pos=Middle5&sn2=7991be30/602709e7&sn1=86e86321/62ab3402&camp=nyt2012_mktg_audiencedev_places_336x79_ros&ad=AD-D-I-NYT-AD-FP-PLCS-ROS-0312-NA&goto=http%3A%2F%2Ftravel%2Enytimes%2Ecom%2F2012%2F01%2F08%2Ftravel%2F45%2Dplaces%2Dto%2Dgo%2Din%2D2012%2Ehtml%3FWT%2Emc%5Fid%3DAD%2DD%2DI%2DNYT%2DAD%2DFP%2DPLCS%2DROS%2D0312%2DNA%26WT%2Emc%5Fev%3Dclick%26WT%2Emc%5Fc%3D183715" target="_blank">
<img src="http://graphics8.nytimes.com/adx/images/ADS/29/66/ad.296688/AudienceDev_336x79_places.jpg" width="336" height="79" border="0"></a>
</div>
</div>
<!----> <div class="columnGroup last">
<div class="singleAd" id="BigAd2">
<!-- ADXINFO classification="bigad" campaign="Google_2012_ROS_BA"--><div class="clearfix">
<script language="JavaScript">
<!--
if (!window.nyt_google_count) { var nyt_google_count = 0; }
if ((!window.nyt_google_ad_channel) && (window.google_ad_channel)) { var nyt_google_ad_channel = google_ad_channel; }
if ((!window.nyt_google_hints) && (window.google_hints)) { var nyt_google_hints = google_hints; }
if ((!window.nyt_google_contents) && (window.google_contents)) { var nyt_google_contents = google_contents; }
function ss(w,id) {window.status = w;return true;}function cs(){window.status='';}function ha(a){ pha=document.getElementById(a); nhi=pha.href.indexOf("&nh=");if(nhi < 1) {phb=pha.href+"&nh=1";} pha.href=phb;}function ca(a) { pha=document.getElementById(a); nci=pha.href.indexOf("&nc=");if(nci < 1) {phb=pha.href+"&nc=1";} pha.href=phb;window.open(document.getElementById(a).href);}function ga(o,e) {if (document.getElementById) {a=o.id.substring(1);p = "";r = "";g = e.target;if (g) {t = g.id;f = g.parentNode;if (f) {p = f.id;h = f.parentNode;if (h)r = h.id;}} else {h = e.srcElement;f = h.parentNode;if (f)p = f.id;t = h.id;}if (t==a || p==a || r==a)return true;pha=document.getElementById(a); nbi=pha.href.indexOf("&nb=");if(nbi < 1) {phb=pha.href+"&nb=1";} pha.href=phb;window.open(document.getElementById(a).href);}}
function google_ad_request_done(ads) {
var s = '';
var i;
if (ads.length == 0) {
return;
}
if (ads[0].type == "image") {
s += '<a href="' + ads[0].url +
'" target="_blank" title="go to ' + ads[0].visible_url +
'"><img border="0" src="' + ads[0].image_url +
'"width="' + ads[0].image_width +
'"height="' + ads[0].image_height + '"></a>';
} else if (ads[0].type == "flash") {
s += '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"' +
' codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"' +
' WIDTH="' + google_ad.image_width +
'" HEIGHT="' + google_ad.image_height + '">' +
'<PARAM NAME="movie" VALUE="' + google_ad.image_url + '">' +
'<PARAM NAME="quality" VALUE="high">' +
'<PARAM NAME="AllowScriptAccess" VALUE="never">' +
'<EMBED src="' + google_ad.image_url +
'" WIDTH="' + google_ad.image_width +
'" HEIGHT="' + google_ad.image_height +
'" TYPE="application/x-shockwave-flash"' +
' AllowScriptAccess="never" ' +
' PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT>';
} else if (ads[0].type == "text") {
nyt_google_count += ads.length;
google_ad_section_line_height = "14px";
google_ad_section_padding_left = "7px";
google_title_link_font_size = "12px";
google_ad_text_font_size = "11px";
google_visible_url_font_size = "10px";
s += '<table width="100%" height="" border="0" cellspacing="0" cellpadding="0" style="text-align:left; width:100%; border-style: solid; border-width: 1px; border-color: #9da3ad" >\n<tr>\n<td style="font-family:Arial,Helvetica,sans-serif; font-size:12px; color:#333333;" valign="top"><table width="100%" height="100%" cellspacing="0" cellpadding="0" border="0" style="width:100%; height:100%;">\n<tr>\n <td style="background-color:#9da3ad; width:70%; height:20px; padding-top:2px; padding-left:11px; padding-bottom:2px; font-family:Arial,Helvetica,sans-serif; font-size:12px; color:#333333;" width="70%" height="20" bgcolor="#9da3ad" ><span style="font-size: 12px; font-weight: normal; color:#ffffff;" >Ads by Google</span></td>\n<td style="padding-top:2px; padding-bottom:2px; width:30%; height:20px; align:right; background-color:#9da3ad; font-family:Arial,Helvetica,sans-serif; font-size:12px; color:#333333;" width="30%" height="20" align="right" bgcolor="#9da3ad" ><span><a style="font-family:Arial,Helvetica,sans-serif; color: white; font-size:12px; padding-right:7px;" href="http://www.nytimes.com/ref/membercenter/faq/linkingqa16.html" onclick="window.open(\'\',\'popupad\',\'left=100,top=100,width=390,height=390,resizable,scrollbars=no\')" target="popupad">what\'s this?</a></span></td>\n</tr>\n</table>\n</td>\n</tr>\n<tr>\n<td style="height:110px; font-family:Arial,Helvetica,sans-serif; font-size:12px; color:#333333;" valign="top" height="110"><table height="100%" width="100%" cellpadding="4" cellspacing="0" border="0" bgcolor="#f8f8f9" style="height:100%; width:100%; padding:4px; background-color:#f8f8f9;">\n';
for (i = 0; i < ads.length; ++i) {
s += '<tr>\n<td style="cursor:pointer; cursor:hand; font-family:Arial,Helvetica,sans-serif; font-size:12px; color:#333333; background-color:#f8f8f9;" id="taw' + i + '" valign="middle" onFocus="ss(\'go to ' + ads[i].visible_url + '\',\'aw' + i + '\')" onMouseOver="ss(\'go to ' + ads[i].visible_url + '\',\'aw' + i + '\')" onMouseOut="cs()" onClick="ga(this,event)"><div style="line-height:' + google_ad_section_line_height + '; padding-left:' + google_ad_section_padding_left + '; padding-bottom:5px;" ><a id="aw' + i + '" href="' + ads[i].url + '" target="_blank" style="font-size:' + google_title_link_font_size + '; color:#000066; font-weight:bold; text-decoration:underline;" onFocus="ss(\'go to ' + ads[i].visible_url + '\',\'aw' + i + '\')" onClick="ha(\'aw' + i + '\')" onMouseOver="return ss(\'go to ' + ads[i].visible_url + '\',\'aw' + i + '\')" onMouseOut="cs()">' + ads[i].line1 + '</a><br>\n<a href="' + ads[i].url + '" target="_blank" style="font-family:Arial,Helvetica,sans-serif; font-size:' + google_ad_text_font_size + ';color:#333333;text-decoration:none;">' + ads[i].line2 + ' ' + ads[i].line3 + '</a><br>\n<a href="' + ads[i].url + '" target="_blank" style="font-size:' + google_visible_url_font_size + '; color:#000066; font-weight:normal; text-decoration:none;">' + ads[i].visible_url + '</a></div>\n</td>\n</tr>\n';
}
s += '</table>\n</td>\n</tr>\n</table>';
}
document.write(s);
return;
}
google_ad_client = 'ca-nytimes_display_html';
google_ad_format = '336x280_pas_abgc';
google_ad_output = 'js';
google_max_num_ads = '6';
google_ad_type = 'text,image,flash';
google_image_size = '336x280';
google_safe = 'high';
google_targeting = 'site_content';
if (window.nyt_google_contents) { google_contents = nyt_google_contents; }
else if (window.nyt_google_hints) { google_hints = nyt_google_hints; }
// -->
</script>
<script language="JavaScript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
<div style="font-family: Arial; font-size: 10px; color:#004276; float: right; margin-right: 9px;"><a href="http://www.nytimes.whsites.net/mediakit/">Advertise on NYTimes.com</a></div></div>
</div>
</div>
<div class="columnGroup">
</div>
</div>
</div><!--close spanAB -->
<!-- start MOTH -->
<div id="insideNYTimes" class="doubleRule">
<script type="text/javascript" src="http://js.nyt.com/js/app/moth/moth.js"></script>
<div id="insideNYTimesHeader">
<div class="navigation"><span id="leftArrow"><img id="mothReverse" src="http://i1.nyt.com/images/global/buttons/moth_reverse.gif" /></span>&nbsp;<span id="rightArrow"><img id="mothForward" src="http://i1.nyt.com/images/global/buttons/moth_forward.gif" /></span></div>
<h4>
Inside NYTimes.com </h4>
</div>
<div id="insideNYTimesScrollWrapper">
<table id="insideNYTimesBrowser" cellspacing="0">
<tbody>
<tr>
<td class="first">
<div class="story">
<h6 class="kicker">
<a href="http://www.nytimes.com/pages/business/index.html">Business &raquo;</a>
</h6>
<div class="mothImage">
<a href="http://www.nytimes.com/2012/04/18/technology/mobile-carriers-warn-of-spectrum-crisis-others-see-hyperbole.html"><img src="http://i1.nyt.com/images/2012/04/18/business/18moth_spectrum/18moth_spectrum-moth.jpg" alt="Carriers Warn of Crisis in Mobile Spectrum" width="151" height="151" /></a>
</div>
<h6 class="headline"><a href="http://www.nytimes.com/2012/04/18/technology/mobile-carriers-warn-of-spectrum-crisis-others-see-hyperbole.html">Carriers Warn of Crisis in Mobile Spectrum</a></h6>
</div>
</td>
<td>
<div class="story">
<h6 class="kicker">
<a href="http://www.nytimes.com/pages/dining/index.html">Dining & Wine &raquo;</a>
</h6>
<div class="mothImage">
<a href="http://www.nytimes.com/interactive/2012/04/18/dining/the-pizza-issue.html"><img src="http://i1.nyt.com/images/2012/04/18/dining/18MOTH_BITTMAN/18MOTH_BITTMAN-moth-v2.jpg" alt="The Pizza Issue" width="151" height="151" /></a>
</div>
<h6 class="headline"><a href="http://www.nytimes.com/interactive/2012/04/18/dining/the-pizza-issue.html">The Pizza Issue</a></h6>
</div>
</td>
<td>
<div class="story">
<h6 class="kicker"><a href="http://www.nytimes.com/pages/opinion/index.html">Opinion &raquo;</a></h6>
<h3><a href="http://www.nytimes.com/roomfordebate/2012/04/17/is-veganism-good-for-everyone/">Is Veganism For Everyone?</a></h3>
<p class="summary">It&rsquo;s a commitment, so Room for Debate asks, does the regimen really have enough benefits to benefit all body types and mindsets?</p>
</div>
</td>
<td>
<div class="story">
<h6 class="kicker">
<a href="http://www.nytimes.com/pages/world/index.html">World &raquo;</a>
</h6>
<div class="mothImage">
<a href="http://www.nytimes.com/2012/04/18/world/europe/costa-concordia-wreck-cuts-two-ways-for-giglios-tourism.html"><img src="http://i1.nyt.com/images/2012/04/18/world/18moth_giglio/18moth_giglio-moth.jpg" alt="Shipwreck Cuts Two Ways for Island&rsquo;s Tourism" width="151" height="151" /></a>
</div>
<h6 class="headline"><a href="http://www.nytimes.com/2012/04/18/world/europe/costa-concordia-wreck-cuts-two-ways-for-giglios-tourism.html">Shipwreck Cuts Two Ways for Island&rsquo;s Tourism</a></h6>
</div>
</td>
<td>
<div class="story">
<h6 class="kicker">
<a href="http://www.nytimes.com/pages/opinion/index.html">Opinion &raquo;</a> </h6>
<div class="mothImage">
<a href="http://www.nytimes.com/2012/04/18/opinion/and-the-winner-of-the-pulitzer-isnt.html"><img src="http://i1.nyt.com/images/2012/04/18/opinion/18moth_opart/18moth_opart-moth.jpg" alt="Ann Patchett: And the Winner Isn&rsquo;t ..." width="151" height="151" /></a>
</div>
<h6 class="headline"><a href="http://www.nytimes.com/2012/04/18/opinion/and-the-winner-of-the-pulitzer-isnt.html">Ann Patchett: And the Winner Isn&rsquo;t ...</a></h6>
</div>
</td>
<td>
<div class="story">
<h6 class="kicker">
<a href="http://www.nytimes.com/pages/dining/index.html">Dining & Wine &raquo;</a>
</h6>
<div class="mothImage">
<a href="http://www.nytimes.com/2012/04/18/dining/reviews/alison-eighteen-in-manhattan.html"><img src="http://i1.nyt.com/images/2012/04/18/dining/18MOTH_REST/18MOTH_REST-moth.jpg" alt="Restaurant Review: Alison Eighteen" width="151" height="151" /></a>
</div>
<h6 class="headline"><a href="http://www.nytimes.com/2012/04/18/dining/reviews/alison-eighteen-in-manhattan.html">Restaurant Review: Alison Eighteen</a></h6>
</div>
</td>
<td class="hidden">
<div class="story">
<h6 class="kicker">
<a href="http://www.nytimes.com/pages/health/index.html">Health &raquo;</a> </h6>
<div class="mothImage">
<a href="http://well.blogs.nytimes.com/2012/04/16/does-exercise-make-you-overeat/"><span class="img" src="http://i1.nyt.com/images/2012/04/17/blogs/17physed_MOTH/17physed_MOTH-moth.jpg" alt="Does Exercise Make You Overeat?" width="151" height="151" /></a>
</div>
<h6 class="headline"><a href="http://well.blogs.nytimes.com/2012/04/16/does-exercise-make-you-overeat/">Does Exercise Make You Overeat?</a></h6>
</div>
</td>
<td class="hidden">
<div class="story">
<h6 class="kicker">
<a href="http://www.nytimes.com/pages/arts/design/index.html">Art & Design &raquo;</a>
</h6>
<div class="mothImage">
<a href="http://www.nytimes.com/2012/04/18/arts/design/renzo-pianos-demure-additions-to-le-corbusiers-chapel.html"><span class="img" src="http://i1.nyt.com/images/2012/04/18/arts/design/18moth_chapel/18moth_chapel-moth.jpg" alt="Quiet Additions to a Modernist Masterpiece" width="151" height="151" /></a>
</div>
<h6 class="headline"><a href="http://www.nytimes.com/2012/04/18/arts/design/renzo-pianos-demure-additions-to-le-corbusiers-chapel.html">Quiet Additions to a Modernist Masterpiece</a></h6>
</div>
</td>
<td class="hidden">
<div class="story">
<h6 class="kicker">
<a href="http://www.nytimes.com/pages/sports/index.html">Sports &raquo;</a>
</h6>
<div class="mothImage">
<a href="http://www.nytimes.com/2012/04/18/sports/patrick-steele-carroll-academys-security-director.html"><span class="img" src="http://i1.nyt.com/images/2012/04/18/sports/18moth_carroll/18moth_carroll-moth.jpg" alt="&lsquo;I Know What It Feels Like&rsquo;" width="151" height="151" /></a>
</div>
<h6 class="headline"><a href="http://www.nytimes.com/2012/04/18/sports/patrick-steele-carroll-academys-security-director.html">&lsquo;I Know What It Feels Like&rsquo;</a></h6>
</div>
</td>
<td class="hidden">
<div class="story">
<h6 class="kicker"><a href="http://www.nytimes.com/pages/opinion/index.html">Opinion &raquo;</a></h6>
<h3><a href="http://www.nytimes.com/2012/04/18/opinion/a-deft-health-care-move.html">Editorial: A Deft Move</a></h3>
<p class="summary">Gov. Andrew Cuomo wisely issued an executive order to establish a health insurance exchange after state lawmakers failed to do so.</p>
</div>
</td>
<td class="hidden">
<div class="story">
<h6 class="kicker">
<a href="http://www.nytimes.com/pages/arts/television/index.html">Television &raquo;</a>
</h6>
<div class="mothImage">
<a href="http://www.nytimes.com/2012/04/18/arts/television/julian-assange-starts-talk-show-on-russian-tv.html"><span class="img" src="http://i1.nyt.com/images/2012/04/18/arts/television/18moth_watch/18moth_watch-moth.jpg" alt="The Prisoner as Talk Show Host" width="151" height="151" /></a>
</div>
<h6 class="headline"><a href="http://www.nytimes.com/2012/04/18/arts/television/julian-assange-starts-talk-show-on-russian-tv.html">The Prisoner as Talk Show Host</a></h6>
</div>
</td>
<td class="hidden">
<div class="story">
<h6 class="kicker">
<a href="http://www.nytimes.com/pages/opinion/index.html">Opinion &raquo;</a> </h6>
<div class="mothImage">
<a href="http://opinionator.blogs.nytimes.com/2012/04/17/whos-afraid-of-greater-luxembourg/"><span class="img" src="http://i1.nyt.com/images/2012/04/18/opinion/18moth_borderlines/18moth_borderlines-moth.jpg" alt="Borderlines: Who&rsquo;s Afraid of Greater Luxembourg?" width="151" height="151" /></a>
</div>
<h6 class="headline"><a href="http://opinionator.blogs.nytimes.com/2012/04/17/whos-afraid-of-greater-luxembourg/">Borderlines: Who&rsquo;s Afraid of Greater Luxembourg?</a></h6>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</div><!-- end #insideNYTimes -->
</div><!--close main -->
<div id="footer">
<ul class="first">
<li class="first"><a href="http://www.nytimes.com">Home</a></li>
<li >
<a href="http://www.nytimes.com/pages/world/index.html">World</a>
</li>
<li >
<a href="http://www.nytimes.com/pages/national/index.html">U.S.</a>
</li>
<li >
<a href="http://www.nytimes.com/pages/nyregion/index.html">N.Y. / Region</a>
</li>
<li >
<a href="http://www.nytimes.com/pages/business/index.html">Business</a>
</li>
<li >
<a href="http://www.nytimes.com/pages/technology/index.html">Technology</a>
</li>
<li >
<a href="http://www.nytimes.com/pages/science/index.html">Science</a>
</li>
<li >
<a href="http://www.nytimes.com/pages/health/index.html">Health</a>
</li>
<li >
<a href="http://www.nytimes.com/pages/sports/index.html">Sports</a>
</li>
<li >
<a href="http://www.nytimes.com/pages/opinion/index.html">Opinion</a>
</li>
<li >
<a href="http://www.nytimes.com/pages/arts/index.html">Arts</a>
</li>
<li >
<a href="http://www.nytimes.com/pages/style/index.html">Style</a>
</li>
<li >
<a href="http://www.nytimes.com/pages/travel/index.html">Travel</a>
</li>
<li >
<a href="http://www.nytimes.com/pages/jobs/index.html">Jobs</a>
</li>
<li >
<a href="http://www.nytimes.com/pages/realestate/index.html">Real Estate</a>
</li>
<li >
<a href="http://www.nytimes.com/pages/automobiles/index.html">Autos</a>
</li>
<li><a href="http://spiderbites.nytimes.com/">Site Map</a></li>
</ul> <ul>
<li class="first"><a href="http://www.nytimes.com/ref/membercenter/help/copyright.html">&copy; 2011</a> <a href="http://www.nytco.com/">The New York Times Company</a></li>
<li><a href="http://www.nytimes.com/privacy">Privacy</a></li>
<li><a href="http://www.nytimes.com/ref/membercenter/help/privacy.html#pp">Your Ad Choices</a></li>
<li><a href="http://www.nytimes.com/ref/membercenter/help/agree.html">Terms of Service</a></li>
<li class="termsOfSale"><a href="http://www.nytimes.com/content/help/rights/sale/terms-of-sale.html">Terms of Sale</a></li>
<li><a href="http://www.nytimes.com/pages/corrections/index.html">Corrections</a></li>
<li><a class="rssButton" href="http://www.nytimes.com/rss">RSS</a></li>
<li><a href="http://www.nytimes.com/membercenter/sitehelp.html">Help</a></li>
<li><a href="http://www.nytimes.com/ref/membercenter/help/infoservdirectory.html">Contact Us</a></li>
<li><a href="http://www.nytco.com/careers">Work for Us</a></li>
<li><a href="http://www.nytimes.whsites.net/mediakit/">Advertise</a></li>
</ul>
</div>
</div><!--close page -->
</div><!--close shell -->
<IMG SRC="/adx/bin/clientside/5984d816Q2Fhn1Q27Q2BDhu)Q27Dz2)fJnuDUQ7DJQ25Q2AXmnK9m4p4nn91Q25Ko" height="1" width="3">
</body>
<!-- Start UPT call -->
<img height="1" width="3" border=0 src="http://up.nytimes.com/?d=0/14/&t=2&s=0&ui=0&r=&u=www%2enytimes%2ecom%2f2011%2f07%2f07%2ffashion%2fwatches%2dare%2drediscovered%2dby%2dthe%2dcellphone%2dgeneration%2ehtml%3f%5fr%3d2">
<!-- End UPT call -->
<script language="JavaScript"><!--
var dcsvid="0";
var regstatus="non-registered";
//--></script>
<script src="http://graphics8.nytimes.com/js/app/analytics/trackingTags_v1.1.js" type="text/javascript"></script>
<noscript>
<div><img alt="DCSIMG" id="DCSIMG" width="1" height="1" src="http://wt.o.nytimes.com/dcsym57yw10000s1s8g0boozt_9t1x/njs.gif?dcsuri=/nojavascript&amp;WT.js=No&amp;WT.tv=1.0.7"/></div>
</noscript>
</html>

@ -0,0 +1,31 @@
"""Process all of the samples and make sure that process without error."""
import os
import unittest
from readability_lxml.readability import Document
SAMPLES = os.path.join(os.path.dirname(__file__), 'samples')
sample_list = [
'nyt.sample.html',
'si-game.sample.html',
]
def load_sample(filename):
"""Helper to get the content out of the sample files"""
return open(os.path.join(SAMPLES, filename)).read()
def test_processes():
for article in sample_list:
yield process_article, article
def process_article(article):
sample = load_sample(article)
doc = Document(sample)
res = doc.summary()
failed_msg = "Failed to process the article: " + article
assert '<html><body><div><div class' == res[0:27], failed_msg
Loading…
Cancel
Save