actor); $this->context[] = 'https://github.com/Podcastindex-org/activitypub-spec-work/blob/main/docs/1.0.md'; $this->type = 'Podcast'; $this->rssFeed = $podcast->feed_url; $this->language = $podcast->language_code; $category = ''; if ($podcast->category->parent_id !== null) { $category .= $podcast->category->parent->apple_category . ' › '; } $category .= $podcast->category->apple_category; $this->category = $category; $this->episodes = url_to('podcast-episodes', esc($podcast->handle)); } }