Purple Public - The Political Voice For Moderate Americans

Political News Headlines


President Obama Headlines


feed = $feed; } function parse() { $rss = simplexml_load_file($this->feed); $rss_split = array(); foreach ($rss->channel->item as $item) { $title = (string) $item->title; $link = (string) $item->link; $description = (string) $item->description; $rss_split[] = '

'; } return $rss_split; } function display($numrows,$head) { $rss_split = $this->parse(); $i = 0; $rss_data = '
'.$head.'
'; return $rss_data; } } $feedlist = new rss("https://news.google.com/news?pz=1&cf=all&ned=us&hl=en&q=Obama&output=rss"); echo $feedlist->display(10,""); ?>


Congressional Headlines



Supreme Court Headlines



Hillary Clinton Headlines


feed = $feed; } function parse() { $rss = simplexml_load_file($this->feed); $rss_split = array(); foreach ($rss->channel->item as $item) { $title = (string) $item->title; $link = (string) $item->link; $description = (string) $item->description; $rss_split[] = '

'; } return $rss_split; } function display($numrows,$head) { $rss_split = $this->parse(); $i = 0; $rss_data = '
'.$head.'
'; return $rss_data; } } $feedlist = new rss("https://news.google.com/news?pz=1&cf=all&ned=us&hl=en&q=Hillary+Clinton&output=rss"); echo $feedlist->display(10,""); ?>


Donald Trump Headlines