zend-feed

Zend framework outputting the letter 'f' onto my page

偶尔善良 提交于 2019-12-07 15:55:24
问题 I've downloaded the Zend framework stable build (1.11, I believe), uploaded to my servers, and added it to my php include path. My goal is to use the Feed and Feed_Writer modules to handle some RSS and Atom heavy lifting. The problem is that whenever I include the Feed_Writer file, I get a random f that shows up at the beginning of my document. require('Zend/Feed.php'); require('Zend/Feed/Writer/Feed.php'); will result in the f , but doesn't throw a fatal when I instantiate a Zend_Feed_Writer

Zend framework outputting the letter 'f' onto my page

坚强是说给别人听的谎言 提交于 2019-12-06 05:19:13
I've downloaded the Zend framework stable build (1.11, I believe), uploaded to my servers, and added it to my php include path. My goal is to use the Feed and Feed_Writer modules to handle some RSS and Atom heavy lifting. The problem is that whenever I include the Feed_Writer file, I get a random f that shows up at the beginning of my document. require('Zend/Feed.php'); require('Zend/Feed/Writer/Feed.php'); will result in the f , but doesn't throw a fatal when I instantiate a Zend_Feed_Writer_Feed require('Zend/Feed.php'); will not result in the f , but does throw a fatal when I instatiate a

RSS Namespaces using Zend_Feed_Reader

依然范特西╮ 提交于 2019-12-05 05:59:00
问题 I'm having some problems with parsing RSS feeds with Zend_Feed_Reader, specifically when a RSS namespace is being used. The feed I'm trying to parse is the BBC News feed (http://feeds.bbci.co.uk/news/rss.xml) which includes the following: <item> <media:thumbnail width="66" height="49" url="http://news.bbcimg.co.uk/media/images/55800000/jpg/_55800088_013076641-1.jpg"/> <media:thumbnail width="144" height="81" url="http://news.bbcimg.co.uk/media/images/55807000/jpg/_55807247_013074606-1.jpg"/>

RSS Namespaces using Zend_Feed_Reader

心已入冬 提交于 2019-12-03 21:11:25
I'm having some problems with parsing RSS feeds with Zend_Feed_Reader, specifically when a RSS namespace is being used. The feed I'm trying to parse is the BBC News feed (http://feeds.bbci.co.uk/news/rss.xml) which includes the following: <item> <media:thumbnail width="66" height="49" url="http://news.bbcimg.co.uk/media/images/55800000/jpg/_55800088_013076641-1.jpg"/> <media:thumbnail width="144" height="81" url="http://news.bbcimg.co.uk/media/images/55807000/jpg/_55807247_013074606-1.jpg"/> </item> The code I'm using to parse the other items in <item> is as such: $feed = Zend_Feed_Reader: