0.10.0 - Added support for <podcast:transcript> and a simple transcript generator tool #14
vnali
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Since 0.10.0, the Studio plugin added support for
podcast:transcript
.You can have
<podcast:transcript>
tags on your podcast RSS in different ways:1- Transcript files are ready:
Create a custom field with the default handle
episodeTranscript
(or you can specify this handle on the config/studio.php file on your project).<podcast:transcript>
URL attributes are the URL of uploaded assets and type attributes are the mime type of those assetstranscript
or it can be specified via config/studio.php file).transcript
handle<podcast:transcript>
URL attributes are the URL of uploaded assets and type attributes are the mime type of those assets.transcript
handle and a radio/dropdown with the handle ofmimeType
.mimeType
field values should betext/plain
/text/vtt
/application/json
/application/x-subrip
<podcast:transcript>
URL attributes are the URL of thetranscript
field and the type attribute is the value of themimeType
fieldpodcast-transcript1.mp4
2- Writing transcript as plain text without a time code:
transcriptText
(or you can specify this handle on the config/studio.php file on your project).Transcript files are ready
to upload the transcript file, or:episodeTranscript
handle, one option can betext
. if the user edit the episode and select this option, the plugin creates<podcast:transcript>
tag and its url is pointed to content oftranscriptText
field.podcast-transcript2.mp4
3- Generating time-coded transcript files/Using time-coded transcripts:
transcriptText
(or you can specify this handle on the config/studio.php file on your project).vtt
format to the text area field.Transcript files are ready
) orepisodeTranscript
. supported values aretext
,html
,json
,srt
,vtt
. now the user can edit an episode and select some formats. when the studio plugin creates RSS, it creates<podcast:transcript>
tags for selected formats. in this case url attribute of<podcast:transcript>
is something likehttp://siteurl/episodes/transcript?episodeId=x&site=y&type=srt
and if the content oftranscriptText
is in valid vtt format, it returns the transcript in passed type formatpodcast-transcript3.mp4
Getting transcript in the text field via GraphQL:
When fetching a transcript in the transcriptText field via GraphQL, you can use @transcript directive to get it in a different format
for example
Beta Was this translation helpful? Give feedback.
All reactions