1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-01-03 21:19:14 +00:00

reverted changes

This commit is contained in:
syrnon
2013-07-09 17:28:15 +03:00
parent bfc24f3794
commit f150f85a5e

View 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);