fix missing publication date for episodes
This commit is contained in:
parent
5ddf553af3
commit
69ef5e9fb3
|
@ -73,6 +73,7 @@ class FeedService
|
||||||
$itemElement->appendChild(new \DOMElement('description', $episode->getDescription()));
|
$itemElement->appendChild(new \DOMElement('description', $episode->getDescription()));
|
||||||
$itemElement->appendChild(new \DOMElement('link', $audioUrl));
|
$itemElement->appendChild(new \DOMElement('link', $audioUrl));
|
||||||
$itemElement->appendChild(new \DOMElement('guid', $audioUrl));
|
$itemElement->appendChild(new \DOMElement('guid', $audioUrl));
|
||||||
|
$itemElement->appendChild(new \DOMElement('pubDate', $episode->getPublicationDate()->format(DATE_RSS)));
|
||||||
|
|
||||||
$filepath =
|
$filepath =
|
||||||
($this->parameterBag->get('kernel.project_dir') ?: '')
|
($this->parameterBag->get('kernel.project_dir') ?: '')
|
||||||
|
|
Loading…
Reference in a new issue