NPI's Cascadia Advocate

Offering commentary and analysis from Washington, Oregon, and Idaho, The Cascadia Advocate is the Northwest Progressive Institute's unconventional perspective on world, national, and local politics.

Monday, October 22nd, 2012

Liveblogging the final presidential debate of 2012 from the great Pacific Northwest

Good after­noon, every­one. Tonight is debate night once again. In a few hours, Barack Oba­ma and Mitt Rom­ney will sit down with Bob Schi­ef­fer of CBS’ Face the Nation for a debate cen­tered on for­eign pol­i­cy at Lynn Uni­ver­si­ty in Boca Raton, Flori­da. If the last debate is any indi­ca­tion, the dis­cus­sion should be lively.

We’ll be shar­ing our obser­va­tions and impres­sions here on The Advo­cate as the debate gets under­way; updates will be also simul­cast on our Twit­ter feed. We invite you to weigh in with your thoughts as well in the com­ments. Before the debate begins, here’s some analy­sis we think is worth reading:

[php]
$url =“https://www.nwprogressive.org/debates/feed/atom/”;

//unique text to deter­mine start goes here
$start = “We will begin”;

//insert end text here
$end = “More obser­va­tions on the way!”;

$ch = curl_init();
curl_setopt ($ch, CURLOPT_URL, $url );
curl_setopt ($ch, CURLOPT_HEADER, 0);
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
$result = curl_exec ($ch) or die (“Sor­ry, could­n’t load live debate cov­er­age. Please refresh the page.”);

curl_close ($ch);

$start­po­si­tion = strpos($result,$start);

if($startposition > 0){

$end­po­si­tion = strpos($result,$end, $start­po­si­tion);

//add enough chars to include the tag

$end­po­si­tion += strlen($end);
$length = $endposition-$startposition;
$result = substr($result,$startposition,$length);
echo $result;

}else

echo “Sor­ry, there’s some­thing wrong here! Please refresh the page or try again later.”;
[/php]

Adjacent posts

  • Enjoyed what you just read? Make a donation


    Thank you for read­ing The Cas­ca­dia Advo­cate, the North­west Pro­gres­sive Insti­tute’s jour­nal of world, nation­al, and local politics.

    Found­ed in March of 2004, The Cas­ca­dia Advo­cate has been help­ing peo­ple through­out the Pacif­ic North­west and beyond make sense of cur­rent events with rig­or­ous analy­sis and thought-pro­vok­ing com­men­tary for more than fif­teen years. The Cas­ca­dia Advo­cate is fund­ed by read­ers like you and trust­ed spon­sors. We don’t run ads or pub­lish con­tent in exchange for money.

    Help us keep The Cas­ca­dia Advo­cate edi­to­ri­al­ly inde­pen­dent and freely avail­able to all by becom­ing a mem­ber of the North­west Pro­gres­sive Insti­tute today. Or make a dona­tion to sus­tain our essen­tial research and advo­ca­cy journalism.

    Your con­tri­bu­tion will allow us to con­tin­ue bring­ing you fea­tures like Last Week In Con­gress, live cov­er­age of events like Net­roots Nation or the Demo­c­ra­t­ic Nation­al Con­ven­tion, and reviews of books and doc­u­men­tary films.

    Become an NPI mem­ber Make a one-time donation