oh, you’re the ny times guy
DESCRIPTION
MyTRANSCRIPT
![Page 1: Oh, you’re the NY times guy](https://reader035.vdocuments.net/reader035/viewer/2022062513/5550d3ceb4c905f2318b4fb3/html5/thumbnails/1.jpg)
Oh, you’re the NY Times guy
The dumbest thing I’m famous for
![Page 2: Oh, you’re the NY times guy](https://reader035.vdocuments.net/reader035/viewer/2022062513/5550d3ceb4c905f2318b4fb3/html5/thumbnails/2.jpg)
![Page 3: Oh, you’re the NY times guy](https://reader035.vdocuments.net/reader035/viewer/2022062513/5550d3ceb4c905f2318b4fb3/html5/thumbnails/3.jpg)
HTTP Request
JavaScript
>20 items?
Pop-over
NYTimes Pay Wall
![Page 4: Oh, you’re the NY times guy](https://reader035.vdocuments.net/reader035/viewer/2022062513/5550d3ceb4c905f2318b4fb3/html5/thumbnails/4.jpg)
HTTP Request
JavaScript
>20 items?
Pop-over
Click Me
JavaScript
NYTClean, er NYClean
![Page 5: Oh, you’re the NY times guy](https://reader035.vdocuments.net/reader035/viewer/2022062513/5550d3ceb4c905f2318b4fb3/html5/thumbnails/5.jpg)
Bookmarklet:
javascript:(function(){
var s=document.createElement('script');s.setAttribute('src','http://toys.euri.ca/nyt.js');document.getElementsByTagName('head')[0].appendChild(s);
})();
![Page 6: Oh, you’re the NY times guy](https://reader035.vdocuments.net/reader035/viewer/2022062513/5550d3ceb4c905f2318b4fb3/html5/thumbnails/6.jpg)
Original Code:
$('overlay').hide();$('gatewayCreative').hide();$(document.body).setStyle( { overflow:'scroll' } );
![Page 7: Oh, you’re the NY times guy](https://reader035.vdocuments.net/reader035/viewer/2022062513/5550d3ceb4c905f2318b4fb3/html5/thumbnails/7.jpg)
![Page 8: Oh, you’re the NY times guy](https://reader035.vdocuments.net/reader035/viewer/2022062513/5550d3ceb4c905f2318b4fb3/html5/thumbnails/8.jpg)
Second Code:
$('overlay').hide();$('gatewayCreative').hide();$(document.body).setStyle( { overflow:'scroll' } );
//April 28th update:document.getElementsByTagName("html")[0]
.style.overflow='';
![Page 9: Oh, you’re the NY times guy](https://reader035.vdocuments.net/reader035/viewer/2022062513/5550d3ceb4c905f2318b4fb3/html5/thumbnails/9.jpg)
2 or 3 visitors a day
2 to 10 000 visitors a day
![Page 10: Oh, you’re the NY times guy](https://reader035.vdocuments.net/reader035/viewer/2022062513/5550d3ceb4c905f2318b4fb3/html5/thumbnails/10.jpg)
![Page 11: Oh, you’re the NY times guy](https://reader035.vdocuments.net/reader035/viewer/2022062513/5550d3ceb4c905f2318b4fb3/html5/thumbnails/11.jpg)
try {//Get the first graph:var url = window.location.href;new Ajax.Request(url, { method: 'get', onSuccess: function(transport) { var notice = $('notice'); fulltext = transport.responseText;
//And here's my dirty secret, I don't know how to manipulate the DOM with prototype.jsvar pattern=/\/NYT_CORRECTION_TOP>\n <p>\n(.*)<\/p>/gi;text = pattern.exec(fulltext)firstgraph = text[1];
}});
} catch (e) {firstgraph= "[NYTClean note, I'm looking into getting this paragraph back.]";
}
text2 = $('article').getElementsByClassName('articleBody')[0];if(text2.innerHTML.indexOf("20 free articles")>0) {
text2.innerHTML = firstgraph;}
Grumble:
![Page 12: Oh, you’re the NY times guy](https://reader035.vdocuments.net/reader035/viewer/2022062513/5550d3ceb4c905f2318b4fb3/html5/thumbnails/12.jpg)
![Page 13: Oh, you’re the NY times guy](https://reader035.vdocuments.net/reader035/viewer/2022062513/5550d3ceb4c905f2318b4fb3/html5/thumbnails/13.jpg)
![Page 14: Oh, you’re the NY times guy](https://reader035.vdocuments.net/reader035/viewer/2022062513/5550d3ceb4c905f2318b4fb3/html5/thumbnails/14.jpg)
![Page 15: Oh, you’re the NY times guy](https://reader035.vdocuments.net/reader035/viewer/2022062513/5550d3ceb4c905f2318b4fb3/html5/thumbnails/15.jpg)
![Page 16: Oh, you’re the NY times guy](https://reader035.vdocuments.net/reader035/viewer/2022062513/5550d3ceb4c905f2318b4fb3/html5/thumbnails/16.jpg)
Tools
Awesome• Real time analytics– Clicky or Chartbeat
• .htaccess redirect to static pages
• Disqus comments• The Atlantic• Social media• Google Alerts
Boo• Shared hosting on
GoDaddy• Default Wordpress
settings• Apache KeepAlive• Old media (CNN claims)• Social media
![Page 17: Oh, you’re the NY times guy](https://reader035.vdocuments.net/reader035/viewer/2022062513/5550d3ceb4c905f2318b4fb3/html5/thumbnails/17.jpg)
![Page 18: Oh, you’re the NY times guy](https://reader035.vdocuments.net/reader035/viewer/2022062513/5550d3ceb4c905f2318b4fb3/html5/thumbnails/18.jpg)
Fun stuff you get to do
• TV and Radio interviews
• Run experiments on visitors– adBlock, statistics, A/B tests
• Make over $5 in advertising revenue!
![Page 19: Oh, you’re the NY times guy](https://reader035.vdocuments.net/reader035/viewer/2022062513/5550d3ceb4c905f2318b4fb3/html5/thumbnails/19.jpg)
Always be releasingLesson Learned: