Loading app/Config/Mimes.php +1 −1 Original line number Diff line number Diff line Loading @@ -276,7 +276,7 @@ class Mimes ], 'svg' => ['image/svg+xml', 'image/svg', 'application/xml', 'text/xml'], 'vcf' => 'text/x-vcard', 'srt' => ['text/srt', 'text/plain', 'application/octet-stream'], 'srt' => ['application/x-subrip', 'text/srt', 'text/plain', 'application/octet-stream'], 'vtt' => ['text/vtt', 'text/plain'], 'ico' => ['image/x-icon', 'image/x-ico', 'image/vnd.microsoft.icon'], 'stl' => ['application/sla', 'application/vnd.ms-pki.stl', 'application/x-navistyle'], Loading app/Helpers/rss_helper.php +3 −0 Original line number Diff line number Diff line Loading @@ -360,6 +360,9 @@ if (! function_exists('get_rss_feed')) { pathinfo($episode->transcript->file_url, PATHINFO_EXTENSION) ) ?? 'text/html', ); // Castopod only allows for captions (SubRip files) $transcriptElement->addAttribute('rel', 'captions'); // TODO: allow for multiple languages $transcriptElement->addAttribute('language', $podcast->language_code); } Loading Loading
app/Config/Mimes.php +1 −1 Original line number Diff line number Diff line Loading @@ -276,7 +276,7 @@ class Mimes ], 'svg' => ['image/svg+xml', 'image/svg', 'application/xml', 'text/xml'], 'vcf' => 'text/x-vcard', 'srt' => ['text/srt', 'text/plain', 'application/octet-stream'], 'srt' => ['application/x-subrip', 'text/srt', 'text/plain', 'application/octet-stream'], 'vtt' => ['text/vtt', 'text/plain'], 'ico' => ['image/x-icon', 'image/x-ico', 'image/vnd.microsoft.icon'], 'stl' => ['application/sla', 'application/vnd.ms-pki.stl', 'application/x-navistyle'], Loading
app/Helpers/rss_helper.php +3 −0 Original line number Diff line number Diff line Loading @@ -360,6 +360,9 @@ if (! function_exists('get_rss_feed')) { pathinfo($episode->transcript->file_url, PATHINFO_EXTENSION) ) ?? 'text/html', ); // Castopod only allows for captions (SubRip files) $transcriptElement->addAttribute('rel', 'captions'); // TODO: allow for multiple languages $transcriptElement->addAttribute('language', $podcast->language_code); } Loading