diff --git a/classes/feeditem/rss.php b/classes/feeditem/rss.php
index 93aa5ea8af0338288ec98da6345023e1ddaee21d..2c29e318f1b34a537dba4025befdd887e4a7d0e4 100644
--- a/classes/feeditem/rss.php
+++ b/classes/feeditem/rss.php
@@ -19,18 +19,17 @@ class FeedItem_RSS extends FeedItem_Common {
 	}
 
 	function get_link() {
-		$link = $this->elem->getElementsByTagName("link")->item(0);
+		$link = $this->xpath->query("atom:link", $this->elem)->item(0);
 
 		if ($link) {
-			return $link->nodeValue;
+			return $link->getAttribute("href");
 		}
 
-		$link = $this->xpath->query("atom:link", $this->elem)->item(0);
+		$link = $this->elem->getElementsByTagName("link")->item(0);
 
 		if ($link) {
 			return $link->nodeValue;
 		}
-
 	}
 
 	function get_title() {