summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsyrnon <[email protected]>2013-07-09 17:28:15 +0300
committersyrnon <[email protected]>2013-07-09 17:28:15 +0300
commitf150f85a5e3694dd9af195afdb154807c58a7630 (patch)
tree20b555b1aba72c9c72e55b8df201c5b7627b2895
parentbfc24f3794fa658b23215a430aafda050460d21b (diff)
reverted changes
-rw-r--r--classes/feedparser.php10
1 files changed, 1 insertions, 9 deletions
diff --git a/classes/feedparser.php b/classes/feedparser.php
index 1474c66bf..a27fd97cc 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);