SAAS-1063: REST API for podcasts
Update composer.json with rss reader library
This commit is contained in:
parent
9a2e9d1b3b
commit
d95b5a9034
2 changed files with 5 additions and 1 deletions
|
@ -92,6 +92,9 @@ class Podcast extends BasePodcast
|
|||
}
|
||||
|
||||
$rss = Application_Service_PodcastService::getPodcastFeed($podcast->getDbUrl());
|
||||
if (!$rss) {
|
||||
throw new PodcastNotFoundException();
|
||||
}
|
||||
|
||||
$podcastArray = array();
|
||||
array_push($podcastArray, $podcast->toArray(BasePeer::TYPE_FIELDNAME));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue