Skip to content

Commit 6a77b20

Browse files
committed
fixed wrong url in feed source
1 parent 5c4d7c2 commit 6a77b20

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Embed/Sources/Feed.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public function getSourceUrl () {
3939
}
4040

4141
public function getProviderUrl () {
42-
return !empty($this->data['url']) ? $this->data['url'] : ($this->Url->getScheme().'://'.$this->Url->getDomain());
42+
return !empty($this->data['url']) ? $this->data['url'] : ($this->Url->getScheme().'://'.$this->Url->getHost());
4343
}
4444

4545
public function getItems () {
@@ -110,6 +110,8 @@ static protected function parseAtom (\SimpleXMLElement $Xml) {
110110

111111
$url = (string)$attributes->href;
112112

113+
var_dump($url);
114+
113115
break;
114116
}
115117

0 commit comments

Comments
 (0)