From bfc24f3794fa658b23215a430aafda050460d21b Mon Sep 17 00:00:00 2001 From: syrnon Date: Wed, 3 Jul 2013 22:36:33 +0300 Subject: [PATCH] Update atom.php --- classes/feeditem/atom.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/classes/feeditem/atom.php b/classes/feeditem/atom.php index fa6b3a34..c58d2a5f 100644 --- a/classes/feeditem/atom.php +++ b/classes/feeditem/atom.php @@ -1,5 +1,13 @@ baseUrl= $baseUrl; + } + function get_id() { $id = $this->elem->getElementsByTagName("id")->item(0); @@ -39,7 +47,7 @@ class FeedItem_Atom extends FeedItem_Common { || $link->getAttribute("rel") == "alternate" || $link->getAttribute("rel") == "standout")) { - return $link->getAttribute("href"); + return $this->baseUrl.$link->getAttribute("href"); } } } -- 2.39.5