Loading app/Helpers/rss_helper.php +3 −2 Original line number Diff line number Diff line Loading @@ -320,9 +320,10 @@ if (! function_exists('get_rss_feed')) { $comments->addAttribute('contentType', 'application/podcast-activity+json'); if ($episode->getPosts()) { $socialInteractUrl = $episode->getPosts()[0] $socialInteractUri = $episode->getPosts()[0] ->uri; $socialInteractElement = $item->addChild('socialInteract', $socialInteractUrl, $podcastNamespace); $socialInteractElement = $item->addChild('socialInteract', null, $podcastNamespace); $socialInteractElement->addAttribute('uri', $socialInteractUri); $socialInteractElement->addAttribute('priority', '1'); $socialInteractElement->addAttribute('platform', 'castopod'); $socialInteractElement->addAttribute('protocol', 'activitypub'); Loading modules/Admin/Controllers/PodcastImportController.php +8 −2 Original line number Diff line number Diff line Loading @@ -211,14 +211,20 @@ class PodcastImportController extends BaseController [ 'name' => 'podcasting', 'elements' => $nsPodcast->id, 'account_url_key' => 'url', 'account_id_key' => 'id', ], [ 'name' => 'social', 'elements' => $nsPodcast->social, 'account_url_key' => 'accountUrl', 'account_id_key' => 'accountId', ], [ 'name' => 'funding', 'elements' => $nsPodcast->funding, 'account_url_key' => 'url', 'account_id_key' => 'id', ], ]; $platformModel = new PlatformModel(); Loading @@ -230,8 +236,8 @@ class PodcastImportController extends BaseController $podcastsPlatformsData[] = [ 'platform_slug' => $platformSlug, 'podcast_id' => $newPodcastId, 'link_url' => $platform->attributes()['url'], 'account_id' => $platform->attributes()['id'], 'link_url' => $platform->attributes()[$platformType['account_url_key']], 'account_id' => $platform->attributes()[$platformType['account_id_key']], 'is_visible' => false, ]; } Loading Loading
app/Helpers/rss_helper.php +3 −2 Original line number Diff line number Diff line Loading @@ -320,9 +320,10 @@ if (! function_exists('get_rss_feed')) { $comments->addAttribute('contentType', 'application/podcast-activity+json'); if ($episode->getPosts()) { $socialInteractUrl = $episode->getPosts()[0] $socialInteractUri = $episode->getPosts()[0] ->uri; $socialInteractElement = $item->addChild('socialInteract', $socialInteractUrl, $podcastNamespace); $socialInteractElement = $item->addChild('socialInteract', null, $podcastNamespace); $socialInteractElement->addAttribute('uri', $socialInteractUri); $socialInteractElement->addAttribute('priority', '1'); $socialInteractElement->addAttribute('platform', 'castopod'); $socialInteractElement->addAttribute('protocol', 'activitypub'); Loading
modules/Admin/Controllers/PodcastImportController.php +8 −2 Original line number Diff line number Diff line Loading @@ -211,14 +211,20 @@ class PodcastImportController extends BaseController [ 'name' => 'podcasting', 'elements' => $nsPodcast->id, 'account_url_key' => 'url', 'account_id_key' => 'id', ], [ 'name' => 'social', 'elements' => $nsPodcast->social, 'account_url_key' => 'accountUrl', 'account_id_key' => 'accountId', ], [ 'name' => 'funding', 'elements' => $nsPodcast->funding, 'account_url_key' => 'url', 'account_id_key' => 'id', ], ]; $platformModel = new PlatformModel(); Loading @@ -230,8 +236,8 @@ class PodcastImportController extends BaseController $podcastsPlatformsData[] = [ 'platform_slug' => $platformSlug, 'podcast_id' => $newPodcastId, 'link_url' => $platform->attributes()['url'], 'account_id' => $platform->attributes()['id'], 'link_url' => $platform->attributes()[$platformType['account_url_key']], 'account_id' => $platform->attributes()[$platformType['account_id_key']], 'is_visible' => false, ]; } Loading