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 afternoon, everyone. Tonight is debate night once again. In a few hours, Barack Obama and Mitt Romney will sit down with Bob Schieffer of CBS’ Face the Nation for a debate centered on foreign policy at Lynn University in Boca Raton, Florida. If the last debate is any indication, the discussion should be lively.

We’ll be sharing our observations and impressions here on The Advocate as the debate gets underway; updates will be also simulcast on our Twitter feed. We invite you to weigh in with your thoughts as well in the comments. Before the debate begins, here’s some analysis we think is worth reading:

$url =””;

//unique text to determine start goes here
$start = “We will begin”;

//insert end text here
$end = “More observations 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 (“Sorry, couldn’t load live debate coverage. Please refresh the page.”);

curl_close ($ch);

$startposition = strpos($result,$start);

if($startposition > 0){

$endposition = strpos($result,$end, $startposition);

//add enough chars to include the tag

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


echo “Sorry, there’s something wrong here! Please refresh the page or try again later.”;

Adjacent posts