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:
- Five facts to commit to memory before tonight’s foreign policy debate
- The second presidential debate’s Libya moment
- Debate moderating: A thankless job
- Madeleine Albright: Mitt Romney not ready for “primetime”
[php]
$url =“https://www.nwprogressive.org/debates/feed/atom/”;
//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;
}else
echo “Sorry, there’s something wrong here! Please refresh the page or try again later.”;
[/php]