Skip to content

Acast audio#159

Open
adgad wants to merge 5 commits intomainfrom
acast-audio
Open

Acast audio#159
adgad wants to merge 5 commits intomainfrom
acast-audio

Conversation

@adgad
Copy link
Collaborator

@adgad adgad commented Mar 26, 2026

Problem

Specialist Titles also have embedded Acast podcasts!

XML schema

(this already exists and is supported in bodyXML)

<a data-asset-type="podcast" data-embedded="true" href="https://embed.acast.com/74715c1d-098c-441c-a141-5599d9dd67ae/65fdb75d8d6ad800165fc561"></a>

Example Content

https://www.investorschronicle.co.uk/content/0c6ebfe6-91d9-4412-ad9b-4c4a97502555
https://api-t.ft.com/internalcontent/0c6ebfe6-91d9-4412-ad9b-4c4a97502555

Solution

Add a new block:

interface AcastPodcast extends Node {
	type: "acast-podcast"
	/** Acast Podcast embed url e.g. https://embed.acast.com/* */
	url: string
}

Note: I've gone for a quite specific name, analagous to "youtube-video". I was torn between calling it audio/podcast - went with podcast because that's what it's called in Spark and the XML

  • Added the Go structs and transformers
  • Pre-emptively bumped the version number

@adgad adgad requested review from a team as code owners March 26, 2026 16:08
```

**Tweet** represents a tweet.
**Tweet** represents a tweet. Rather than embedding the tweet directly in an article, we typically fetch and cache the HTML server-side to avoid the client-side dependencies.
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added a little bit to the docs to clarify why tweets have external html and the others don't (it confused me!)

]
},
{
"type": "vimeo-video",
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Didn't update this file in the last PR, so adding it here for completeness!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant