• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Oh, you’re the NY times guy
 

Oh, you’re the NY times guy

on

  • 1,421 views

My

My

Statistics

Views

Total Views
1,421
Views on SlideShare
1,144
Embed Views
277

Actions

Likes
0
Downloads
2
Comments
0

4 Embeds 277

http://euri.ca 273
http://wordpress.euri.ca 2
http://eurica-test.com 1
http://www.google.com.my 1

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Oh, you’re the NY times guy Oh, you’re the NY times guy Presentation Transcript

    • Oh, you’re the NY Times guy
      The dumbest thing I’m famous for
    • NYTimes Pay Wall
    • NYTClean, erNYClean
    • Bookmarklet:
      javascript:(
      function(){
      var s=document.createElement('script');
      s.setAttribute('src','http://toys.euri.ca/nyt.js');
      document.getElementsByTagName('head')[0].appendChild(s);
      })();
    • Original Code:
      $('overlay').hide();
      $('gatewayCreative').hide();
      $(document.body).setStyle( { overflow:'scroll' } );
    • Second Code:
      $('overlay').hide();
      $('gatewayCreative').hide();
      $(document.body).setStyle( { overflow:'scroll' } );
      //April 28th update:
      document.getElementsByTagName("html")[0]
      .style.overflow='';
    • 2 or 3 visitors a day
      2 to 10 000 visitors a day
    • Grumble:
      try {
      //Get the first graph:
      varurl = 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.js
      var 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;
      }
    • Tools
      Awesome
      Real time analytics
      Clicky or Chartbeat
      .htaccess redirect to static pages
      Disquscomments
      The Atlantic
      Social media
      Google Alerts
      Boo
      Shared hosting on GoDaddy
      Default Wordpress settings
      Apache KeepAlive
      Old media (CNN claims)
      Social media
    • 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!
    • Always be releasing
      Lesson Learned: