Skip to content

Commit

Permalink
docs: clarify nullable Channel link
Browse files Browse the repository at this point in the history
  • Loading branch information
phanan committed Oct 30, 2024
1 parent 81c6f25 commit a54aecc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,18 @@ All channel's [required elements](https://github.com/Podcast-Standards-Project/P

```php
$channel->title; // string
$channel->link; // string
$channel->link; // ?string
$channel->description; // string
$channel->language; // string
$channel->image; // string
$channel->categories; // \PhanAn\Poddle\Values\CategoryCollection<\PhanAn\Poddle\Values\Category>
$channel->explicit; // bool
```

> [!NOTE]
> Although required by the standard, `link` isn't supplied by all feeds, including some bigger players like Spotify's [Megaphone](https://megaphone.spotify.com/).
> As such, `link` is nullable in Poddle.
All channel’s [recommended elements](https://github.com/Podcast-Standards-Project/PSP-1-Podcast-RSS-Specification#recommended-channel-elements) are available via the `metadata` property:

```php
Expand Down

0 comments on commit a54aecc

Please sign in to comment.