View Single Post
Old 02-28-2012, 09:12 AM   #1
cornfieldcraig
Member
cornfieldcraig began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Sep 2011
Location: Chicago, Illinois, USA
Device: Nook Simple Touch
More Chicago Tribune antics - recipe broken again



Well, it looks like the Chicago Tribune is trying harder to prevent folks from downloading their RSS content in batch mode. They've implemented a new countdown timer which pops up a black box with counts down from 18 seconds to zero, then displays the article. There's no text in the box, just the numbers, but if you close the box by clicking the pseudo-X in the upper right-hand corner, it goes to the article immediately. The result is no articles actually download -- just the article titles.

Here's a sample URL: http://feedproxy.google.com/~r/chica...Bg/story01.htm

Here's the bit of code that seems to be causing the problem:


<script type="text/javascript">

$(document).ready(function(){

doCountdown(18000/1000);



setTimeout( 'location.href = \'http://www.chicagotribune.com/sports/hockey/blackhawks/ct-spt-0228-blackhawks-trade-chicago--20120228,0,3141821.story?track=rss\'',18000);



});



function doCountdown(countdownTime) {

countdownRemaining = countdownTime - 1;

if(countdownRemaining > 0) {

$("#timeCountdown").text(countdownRemaining);

setTimeout("doCountdown(countdownRemaining);", 1000);

}

};
cornfieldcraig is offline   Reply With Quote