NPI's Cascadia Advocate

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

Tuesday, February 12th, 2013

Liveblogging the 2013 State of the Union Address from the great Pacific Northwest

Hel­lo and wel­come to our live cov­er­age of the 2013 State of the Union Address! Patrick and I invite you to join us as we watch the Pres­i­den­t’s speech and react to it in real time with our com­men­tary and obser­va­tions. The White House has sent along the full text of Pres­i­dent Oba­ma’s remarks as pre­pared for deliv­ery, and it looks to us like a real­ly strong speech. We are tuned into C‑SPAN and await­ing the arrival of the Pres­i­dent, his Cab­i­net, and the jus­tices of the Supreme Court.

[php]
$url =“https://www.nwprogressive.org/debates/liveblogging-the-2013-state-of-the-union-address-from-the-great-pacific-northwest/”;

//unique text to deter­mine start goes here
$start = “Let us begin.”;

//insert end text here
$end = “More updates forthcoming…”;

$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 SOTU 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

  • NPI’s essential research and advocacy is sponsored by: