Skip to content

Commit

Permalink
Fix #361 (#387)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdebril authored Feb 7, 2022
1 parent 6ada32a commit c149304
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/FeedIo/Rule/Media.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ public function createMediaElement(DomDocument $document, MediaInterface $media)

protected function initMedia(MediaInterface $media, DOMElement $element): void
{
$media->setType($element->getAttribute('type'));
$media->setTitle($this->getChildValue($element, 'title', static::MRSS_NAMESPACE));
$media->setDescription($this->getChildValue($element, 'description', static::MRSS_NAMESPACE));
$media->setThumbnail($this->getChildAttributeValue($element, 'thumbnail', 'url', static::MRSS_NAMESPACE));
Expand Down

0 comments on commit c149304

Please sign in to comment.