Skip to content

SimplePie 1.2.1 parse google new rss problem. #162

Open
tsecheng opened this Issue Nov 17, 2011 · 0 comments

1 participant

@tsecheng

I parse below url, i can work 1.2 correctly, but problem with 1.2.1

http://news.google.com/news?hl=zh-TW&gl=tw&q=%E7%B7%AC%E7%94%B8&um=1&ie=UTF-8&output=rss

my code:
include_once('lib/simplepie/simplepie.inc');
$feed = simple_pie();
$feed->set_feed_url($url);

$feed->init();
$feed->handle_content_type();
if ($feed->error()){
echo $feed->error();
}
$title = $feed->get_title();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.