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]

About the author

Andrew Villeneuve is the founder and executive director of the Northwest Progressive Institute, as well as the founder of NPI's sibling, the Northwest Progressive Foundation. He has worked to advance progressive causes for over two decades as a strategist, speaker, author, and organizer. Andrew is also a cybersecurity expert, a veteran facilitator, a delegate to the Washington State Democratic Central Committee, and a member of the Climate Reality Leadership Corps.

Adjacent posts