Compare commits

...

4 Commits

Author SHA1 Message Date
Yassine Doghri
d74a44387f Merge branch 'feat/generator-user-agent' into 'develop'
feat(rss): add castopod version to generator + follow rfc 9110 to format it as user-agent

See merge request adaures/castopod!345
2025-05-20 16:29:42 +02:00
kloo kloo
96b2df15b0 chore: add discourse social network 2025-05-20 14:23:01 +02:00
Paul Cutler
61d6a6b60f docs: fix broken note using Aside tag 2025-05-20 13:32:24 +02:00
Yassine Doghri
4a3632e061 feat(rss): add castopod version to generator + follow rfc 9110 to format it as user-agent 2024-04-29 13:51:00 +00:00
5 changed files with 15 additions and 4 deletions

View File

@ -64,7 +64,7 @@ if (! function_exists('get_rss_feed')) {
// the last build date corresponds to the creation of the feed.xml cache
$channel->addChild('lastBuildDate', (new Time('now'))->format(DATE_RFC1123));
$channel->addChild('generator', 'Castopod - https://castopod.org/');
$channel->addChild('generator', sprintf('Castopod/%s (+https://castopod.org/)', CP_VERSION));
$channel->addChild('docs', 'https://cyber.harvard.edu/rss/rss.html');
if ($podcast->guid === '') {

View File

@ -126,10 +126,14 @@ You can optionally upload a chapters file in JSON format. To learn more about
chapters and for an example of the correct format, visit the
[Podcast Namespace](https://github.com/Podcastindex-org/podcast-namespace/blob/main/chapters/jsonChapters.md).
:::note Not all podcast players natively support chapters in JSON format. More
modern players, such as Fountain and Apple Podcasts, do support chapters in JSON
<Aside>
Not all podcast players natively support chapters in JSON format. More modern
players, such as Fountain and Apple Podcasts, do support chapters in JSON
format. Chapters do not allow you to click to select the chapter in Castopod's
embeddable player at this time. :::
embeddable player at this time.
</Aside>
### Publish your episode

View File

@ -274,6 +274,11 @@ class Platforms
'home_url' => 'https://discord.com/',
'submit_url' => 'https://discord.com/register',
],
'discourse' => [
'label' => 'Discourse',
'home_url' => 'https://www.discourse.org/',
'submit_url' => null,
],
'facebook' => [
'label' => 'Facebook',
'home_url' => 'https://www.facebook.com/',

View File

@ -5,6 +5,7 @@ declare(strict_types=1);
/**
* @icon("social:bluesky")
* @icon("social:discord")
* @icon("social:discourse")
* @icon("social:facebook")
* @icon("social:funkwhale")
* @icon("social:instagram")

View File

@ -0,0 +1 @@
<svg fill="currentColor" viewBox="0 0 24 24" width="1em" height="1em"><path d="M12.0846 2C6.61 2 2 6.39692 2 11.8254L2.00462 22L12.0838 21.9908C17.5615 21.9908 22 17.4238 22 11.9954C22 6.56692 17.5615 2 12.0846 2ZM12 5.84615C13.6321 5.84615 15.1974 6.4945 16.3514 7.64857C17.5055 8.80264 18.1538 10.3679 18.1538 12C18.1538 13.6321 17.5055 15.1974 16.3514 16.3514C15.1974 17.5055 13.6321 18.1538 12 18.1538C10.947 18.1544 9.91156 17.8834 8.99385 17.3669L5.84615 18.1538L6.70846 15.1308C6.14413 14.184 5.84619 13.1022 5.84615 12C5.84615 10.3679 6.4945 8.80264 7.64857 7.64857C8.80264 6.4945 10.3679 5.84615 12 5.84615Z"/></svg>

After

Width:  |  Height:  |  Size: 625 B