Issues

ZF-5903: Zend_Feed::findFeeds should return uri of found feeds

Issue Type: Improvement Created: 2009-02-27T02:20:41.000+0000 Last Updated: 2009-09-18T14:01:26.000+0000 Status: Resolved Fix version(s): - 1.9.3 (22/Sep/09)

Reporter: Niko Sams (nikosams) Assignee: Pádraic Brady (padraic) Tags: - Zend_Feed

Related issues: Attachments:

Description

There is no way to get the uri of the found feeds, this patch adds that functionality:

<pre class="highlight">
Index: library/Zend/Feed.php
===================================================================
--- library/Zend/Feed.php       (Revision 14152)
+++ library/Zend/Feed.php       (Arbeitskopie)
@@ -355,7 +355,7 @@
                 } catch (Exception $e) {
                     continue;
                 }
-                $feeds[] = $feed;
+                $feeds[$uri->getUri()] = $feed;
             }
         }

I'm not sure if such a change is possible - if not another solution would be nice.

Comments

Posted by Pádraic Brady (padraic) on 2009-09-18T14:01:20.000+0000

Added in r18289

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts