Skip to content

Commit

Permalink
Fix home_page_url / feed_url confusion
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdebril committed Mar 9, 2021
1 parent 90c049c commit e6d6e73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/FeedIo/Parser/JsonParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ public function parseContent(Document $document, FeedInterface $feed) : FeedInte
$data = $document->getJsonAsArray();
$feed->setTitle($this->readOffset($data, 'title'));
$feed->setDescription($this->readOffset($data, 'description'));
$feed->setLink($this->readOffset($data, 'feed_url'));
$feed->setUrl($this->readOffset($data, 'home_page_url'));
$feed->setLink($this->readOffset($data, 'home_page_url'));
$feed->setUrl($this->readOffset($data, 'feed_url'));
$feed->setLogo($this->readOffset($data, 'icon'));
$this->readAuthor($feed, $data);

Expand Down

0 comments on commit e6d6e73

Please sign in to comment.