|
|
@ -83,7 +83,7 @@ class Feed extends Construct implements \MensBeam\Lax\Parser\Feed { |
|
|
|
$feed->meta->url = $this->url; |
|
|
|
$feed->sched = $this->getSchedule(); |
|
|
|
$feed->id = $this->getId(); |
|
|
|
//$feed->lang = $this->getLang(); |
|
|
|
$feed->lang = $this->getLang(); |
|
|
|
//$feed->url = $this->getUrl(); |
|
|
|
//$feed->link = $this->getLink(); |
|
|
|
//$feed->title = $this->getTitle(); |
|
|
@ -115,6 +115,10 @@ class Feed extends Construct implements \MensBeam\Lax\Parser\Feed { |
|
|
|
return $sched; |
|
|
|
} |
|
|
|
|
|
|
|
public function getLang(): ?string { |
|
|
|
return $this->getLangXML() ?? $this->getLangDC() ?? $this->getLangRss2(); |
|
|
|
} |
|
|
|
|
|
|
|
public function getUrl(): ?Url { |
|
|
|
return $this->getUrlAtom() ?? $this->getUrlRss1() ?? $this->getUrlPod(); |
|
|
|
} |
|
|
@ -152,10 +156,6 @@ class Feed extends Construct implements \MensBeam\Lax\Parser\Feed { |
|
|
|
return $this->getEntriesAtom() ?? $this->getEntriesRss1() ?? $this->getEntriesRss2() ?? []; |
|
|
|
} |
|
|
|
|
|
|
|
public function getLang(): ?string { |
|
|
|
return null; |
|
|
|
} |
|
|
|
|
|
|
|
public function getIcon(): ?Url { |
|
|
|
return null; |
|
|
|
} |
|
|
|