]> git.wh0rd.org - tt-rss.git/commitdiff
reverted changes
authorsyrnon <syrnon@outlook.com>
Tue, 9 Jul 2013 14:28:15 +0000 (17:28 +0300)
committersyrnon <syrnon@outlook.com>
Tue, 9 Jul 2013 14:28:15 +0000 (17:28 +0300)
classes/feedparser.php

index 1474c66bf0f7ae8e35163d1e08733e95f2ae6fc1..a27fd97cc0ab9d1932be4aedea55c9419fa08604 100644 (file)
@@ -104,18 +104,10 @@ class FeedParser {
                                        $articles = $xpath->query("//atom03:entry");
 
                                $feed = $this->xpath->query("//atom:feed")->item(0);
-                               $atts = $feed->attributes;
-                               foreach($atts as $attrib)
-                               {
-                                       if($attrib->name == "base"){
-                                               $base = $attrib->nodeValue;
-                                       }
-                               }
                                foreach ($articles as $article) {
-                                       array_push($this->items, new FeedItem_Atom($article, $this->doc, $this->xpath, $base));
+                                       array_push($this->items, new FeedItem_Atom($article, $this->doc, $this->xpath));
                                }
 
-
                                break;
                        case $this::FEED_RSS:
                                $title = $xpath->query("//channel/title")->item(0);