protected function get_widget_content()
 {
     try {
         $rss = $this->get_rss();
     } catch (Exception $e) {
         return '<p class="error">RSS feed not found</p>';
     }
     return RSS_RSSHelper::get_widget_content($rss);
 }
 public static function get_google_code_rss_div()
 {
     $div = new HTMLTags_Div();
     $div->set_attribute_str('class', 'rss');
     $div->append('<h3>Project Code Changes</h3>');
     try {
         $rss = new RSS_RSS('http://code.google.com/feeds/p/oedipus-decision-maker/updates/basic', 'atom');
     } catch (Exception $e) {
         $rss = NULL;
         //throw new Exception ('Google Code RSS_RSS object creation failed');
     }
     if ($rss) {
         $div->append(RSS_RSSHelper::get_rss_titles_ul($rss));
     } else {
         $div->append('<p class="error">RSS feed not found</p>');
     }
     return $div;
 }