-
Notifications
You must be signed in to change notification settings - Fork 0
MUP (Marked Up Podcast) Specs
From a technical perspective, MUP content is just some extra XML tags under the mup
namespace in an RSS item
description.
Here's a working list of tags, still very much under construction:
xml tag | description |
---|---|
mup:ad | Advertisement info |
mup:link | HTML link to related content |
mup:img | Image to display |
mup:sms | Text message to prep |
All MUP tags should have the following attributes:
attribute | description |
---|---|
start | Time to start displaying content. In mm:ss format. |
stop | Time to stop displaying content. In mm:ss format. |
Each of the following is optional but recommended for mup:ad
tags. A mup:ad
tag may also contain other MUP tags (e.g. mup:img
) inside it.
attribute | description |
---|---|
href | HTML link to advertiser site |
title | Header text for the ad |
img | URL to image |
width | px or % |
height | px or % |
podcast | Reference id for podcast displaying this ad |
support | Comma-delimited string of reference ids to acknowledge tech or other support linking to this ad |
A mup:link
tag must contain an href
attribute. The body of the link tag should be either text or a mup:img
tag. Links with empty bodies may not be displayed.
attribute | description |
---|---|
href | URL of linked site |
A mup:img
tag must contain a src
attribute. Other attributes are optional but recommended.
attribute | description |
---|---|
src | HTML link to image file for display |
alt | Alternate text to display for the image |
height | Recommended image height in pixels |
width | Recommended image width in pixels |
The SMS URI scheme allows websites to prep a text message with a recipient and body, and native iOS and Android apps have similar functionality.
The URI takes the format sms:+15105550101?body=hello%20there
, (or possibly sms:+15105550101;body=hello%20there
on iOS).
The mup:sms
attribute allows similar functionality, and requires the following attributes. Like mup:link
tags, the body of the SMS tag should be either text or a mup:img
tag. SMS tags with empty bodies may not be displayed.
attribute | description |
---|---|
to | String of the SMS number to text |
body | Content of the SMS message |
The following is a sample item from a MUP RSS feed, based on the iTunes example.
<item>
<title>Shake Shake Shake Your Spices</title>
<itunes:author>John Doe</itunes:author>
<itunes:subtitle>A short primer on table spices</itunes:subtitle>
<itunes:summary><![CDATA[This week we talk about <a href="https://itunes/apple.com/us/book/antique-trader-salt-pepper/id429691295?mt=11">salt and pepper shakers</a>, comparing and contrasting pour rates, construction materials, and overall aesthetics. Come and join the party!]]</itunes:summary>
<itunes:image href="http://example.com/podcasts/everything/AllAboutEverything/Episode1.jpg" />
<enclosure url="http://example.com/podcasts/everything/AllAboutEverythingEpisode3.m4a" length="8727310" type="audio/x-m4a" />
<guid>http://example.com/podcasts/archive/aae20140615.m4a</guid>
<pubDate>Wed, 15 Jun 2014 19:00:00 GMT</pubDate>
<itunes:duration>7:04</itunes:duration>
<mup:ad start="2:03" stop="2:23" href="http://www.tastefulspice.com" title="Tasteful Spice" podcast="AllAboutEverything" support="FooProduction,BarDesign">
<mup:img start="2:03" stop="2:23" src="http://www.tastefulspice.com/salt.jpg" alt="A pinch of salt" height="150" width="150" />
</mup:ad>
<mup:link start="3:15" stop="4:00" href="http://example.com/podcasts/everything/AllAboutEverything/list.html">Our shopping list</mup:link>
<mup:sms start="6:30" stop="7:04" to="54321" body="donate">Donate $10 now!</mup:sms>
</item>