Questions tagged [zend-feed]

Zend-feed is the feed component from Zend Framework. It provides functionality for consuming and modifying RSS and Atom feeds and turning the result back into XML. Use this tag for questions related to the feed component.

Zend-feed is the feed component from Zend Framework. It provides functionality for consuming and modifying RSS and Atom feeds and turning the result back into XML.

Documentation: https://docs.zendframework.com/zend-feed

Homepage: https://github.com/zendframework/zend-feed

25 questions
4
votes
1 answer

Zend_Feed_Reader exception: Read timed out after 10 seconds

I am using Zend_Feed_Reader to read feeds but I have a problem. At some feeds, I get this exception: Read timed out after 10 seconds and I want to reduce that time. So in the case Zend_Feed_Reader can't read that feed in 4 seconds threw this…
3
votes
1 answer

Zend framework outputting the letter 'f' onto my page

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…
wmarbut
  • 4,595
  • 7
  • 42
  • 72
2
votes
1 answer

RSS Namespaces using Zend_Feed_Reader

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…
catkin
  • 118
  • 11
2
votes
0 answers

Zend Feed with Custom namespace?

I am having a hard time creating a custom atom feed for my website using zend_feed class. Here is my FeedController class. Initially I tried to create a custom namespace in $feedArray but that doesn't seem to work. Later, I tried using…
JABD
  • 640
  • 2
  • 10
  • 23
2
votes
3 answers

Zend Framework : Incuding other controllers in index view

I am new to Zend FW. I am looking to write a simple feedparser in a controller named Feedparsercontroller's indexAction. but i want to display the parsed feed output as a widget on my index page. how can i drive the output/ variable data to my…
Eswar Rajesh Pinapala
  • 4,841
  • 4
  • 32
  • 40
2
votes
3 answers

Zend_Feed entires and colon separated keys

I've created a function that consumes an RSS feed from Flickr using Zend_Feed. Unfortunately I am struggling to extract some keys! I can get the < title > and such by echoing $entry->title(); But how can I echo out something like < media:thumbnail…
user138095
2
votes
1 answer

Get Rss version by url in Php with Zend_Feed

I use Zend Framework to read an RSS feed is as simple as instantiating a Zend_Feed_Rss object with the URL of the feed : $feed = new Zend_Feed_Rss('http://rss.exemple.com/feed'); echo $feed->title(); This method doesn't exists echo…
Kevin Campion
  • 2,223
  • 2
  • 23
  • 29
2
votes
2 answers

Zend_Feed access item - ATOM

Iam trying to read the "itunes RSS Feed". As far as i know it is ATOM based. Works fine: $feed = $this->getFeed(self::TOP300_PAYED); foreach ($feed as $item) { echo $item->name; } But i need the following node:
opHASnoNAME
  • 20,224
  • 26
  • 98
  • 143
1
vote
0 answers

Consuming atom namespaces with Zend_Feed_Atom

I'm have I hope a very simple question about Zend_Feed, but for some reason I can't work out how to use Zend_Feed_Atom. I'm trying to consume google shopping atom feed, which looks like the following:
Grant Collins
  • 1,781
  • 5
  • 31
  • 47
1
vote
2 answers

Zend_Feed: getting the Image URL from a Feed

What is the correct way to go after items more than one level deep with the Zend_Feed library? How should the second to last line of code read? require_once 'Zend/Feed/Rss.php'; $url = 'http://leo.am/podcasts/twit'; $c = new…
BuddyJoe
  • 69,735
  • 114
  • 291
  • 466
1
vote
2 answers

Zend_Feed_Rss - I can echo but I can't do anything else?

I would like to retrieve some feed news from a given feed source, only if a specific tag is the case. I'm not getting it, because $category is not a string, hence strschr will not returned. (so I believe). function ultimasNoticiasBlog() { …
MEM
  • 30,529
  • 42
  • 121
  • 191
1
vote
1 answer

Creating a secured rss feed with Zend_Feed

I was wondering if it was at all possible to create a rss(or atom) feed with Zend_Feed that would be on a secured website (With Zend_Auth). How would users be able to subscribe to my feed? How would feedreaders handle authentification? Is there…
Iznogood
  • 12,447
  • 3
  • 26
  • 44
1
vote
0 answers

How to get the actual LINK url property from Zend_Feed_Rss channel object

I'm trying to wrap my head around how to use Zend_Feed_Rss. According to the documentation, to get the link of the channel, you access it with the method $channel->link(). But when I do so, I get an array, and the link to the actual thing I want is…
blainarmstrong
  • 1,040
  • 1
  • 13
  • 33
1
vote
1 answer

Zend_Feed_Reader behind a Proxy

am new to Zend and want to use the Zend_Feed_Reader class behind a Proxy. I've been told that I need "replace the default instance of Zend_Http_Client used by Zend_Feed_Reader using the setHttpClient() static method. The replacement should be a new…
1
vote
1 answer

Zend Feed Writer And Media RSS (Yahoo)

Attempting to create a feed with Zend_Feed_Writer but need to include images. I checked and such support is offered by Media RSS (Yahoo) and their namespace: http://search.yahoo.com/mrss. Unfortunately this is not supported by ZendFramework and I…
Al-Punk
  • 3,531
  • 6
  • 38
  • 56
1
2