Zend Framework

Zend_Feed::findFeeds should return uri of found feeds

Details

  • Type: Improvement Improvement
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.7.5
  • Fix Version/s: 1.9.3
  • Component/s: Zend_Feed
  • Labels:
    None

Description

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

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.

Activity

Hide
Pádraic Brady added a comment -

Added in r18289

Show
Pádraic Brady added a comment - Added in r18289

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: