From: syrnon Date: Tue, 9 Jul 2013 14:28:15 +0000 (+0300) Subject: reverted changes X-Git-Tag: 1.9~44^2~3 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=f150f85a5e3694dd9af195afdb154807c58a7630;p=tt-rss.git reverted changes --- diff --git a/classes/feedparser.php b/classes/feedparser.php index 1474c66b..a27fd97c 100644 --- a/classes/feedparser.php +++ b/classes/feedparser.php @@ -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);