Your SlideShare is downloading. ×
0
Oh, you’re the NY Times guy<br />The dumbest thing I’m famous for<br />
NYTimes Pay Wall<br />
NYTClean, erNYClean<br />
Bookmarklet:<br />javascript:(<br />function(){<br />var s=document.createElement('script');<br />s.setAttribute('src','ht...
Original Code:<br />$('overlay').hide();<br />$('gatewayCreative').hide();<br />$(document.body).setStyle( { overflow:'scr...
Second Code:<br />$('overlay').hide();<br />$('gatewayCreative').hide();<br />$(document.body).setStyle( { overflow:'scrol...
2 or 3 visitors a day<br />2 to 10 000 visitors a day<br />
Grumble:<br />try {<br />//Get the first graph:<br />varurl = window.location.href;<br />new Ajax.Request(url, {<br />  me...
Tools<br />Awesome<br />Real time analytics<br />Clicky or Chartbeat<br />.htaccess redirect to static pages<br />Disqusco...
Fun stuff you get to do<br />TV and Radio interviews<br />Run experiments on visitors<br />adBlock, statistics, A/B tests<...
Always be releasing<br />Lesson Learned:<br />
Upcoming SlideShare
Loading in...5
×

Oh, you’re the NY times guy

1,251

Published on

My

Published in: Business, Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,251
On Slideshare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
3
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "Oh, you’re the NY times guy"

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

    Clipping is a handy way to collect important slides you want to go back to later.

×