Not a developer? Go to MovableType.com

News

Podcast Feed Template for Movable Type 4.0

By Byrne Reese
Posted August 3, 2007.

Movable Type 4.0 will be the first release of Movable Type that has podcasting support built into the core application, with no need for a plugin or additional software of services. In creating the plugin known as Feed Manager, I found that, for many, podcasting is a lot like "Retsyn": They have very little idea what it actually is, but they know they need it. That is why I compiled a simple podcasting guide for users and potential users of Feed Manager.

To summarize, podcasting is at its core the ability to subscribe to a feed of rich media files that can be played in your media player of choice.

Podcasters using Movable Type can make video and audio available through their Atom feeds with one simple addition to their Atom feed template which for any given entry will output the media assets associated with that entry:

<mt:EntryAssets>
<mt:SetVarBlock name="assettype"><mt:AssetType></mt:SetVarBlock>
<mt:if name="assettype" eq="audio">
    <link rel="enclosure"
          type="<mt:AssetMimeType>"
          title="<mt:AssetLabel>"
          href="<mt:AssetURL>"
          length="<mt:AssetProperty property="file_size" format="0">" />
</mt:if>
</mt:EntryAssets>

Or users can download the following complete Atom Feed template that contains the template code above.

In a couple of days we will be publishing the complete documentation for all of Movable Type's template tags. At last count there are over 70 new template tags being made available to developers and designers in MT4 and we can't wait to see the exciting new blogs and designs people will be producing as a result!
Back

11 Comments

James

James on August 4, 2007, 2:36 a.m. Reply

Going the other way, and consuming feeds, is functionality similar to Feeds.App going to be built in? I want to consume feeds from elsewhere and have them published as part of my blog (like Tumblr does).

lacy on August 4, 2007, 5:35 p.m. Reply

The tag for the enclosures href line should actually use mt:AssetURL and not mt:AssetLink as the mt:AssetLink includes a href code …and mt:AssetURL gives you JUST the url - which is what is needed there.

This podcasting built-in capability is GREAT by the way … yet another a WONDERFUL addition to MT4. Love it!!!

Bud

Bud on August 5, 2007, 4:40 p.m. Reply

Byrne, ultra-useful for someone like me. I mentioned this on the pro-net list. Don’t know if that was the motivation, but this is prompting me to want to upgrade my podcasting site earlier rather than later.

Another useful example would be conditionally coding entries to embed the podcast “asset” if one existed. A question: how does one associate assets with entries? It seems the only interface for that is the posting interface. In your shoes, I’d do a tutorial podcast that closed the loop with example files online (how’s that for demanding!?).

BTW, I still have not achieved an error-free install on my pair server. That’s the current real blocker.

Becka

Becka on August 27, 2012, 5:22 a.m. Reply

Where can I find this template? Is there a site which is using it, so I can see more clearly how it looks like

Petar Ivanov

Petar Ivanov on September 10, 2012, 8:23 p.m. Reply

Greetings from Bulgaria. The podcasting service is a great idea for every vloger on the net. I will have a closer look on it and when I understand it correctly you will have one more happy user :)

Alec

Alec on October 15, 2012, 5:16 a.m. Reply

Who would have thought that the podcasting will become so popular and so important in our everyday lives… and it is still expected to grow in the future..

Amanda Andre

Amanda Andre on October 19, 2012, 3:44 a.m. Reply

Is there a difference in the code for podcasting on web sites and on smartphones?

Nelly Cora

Nelly Cora on October 31, 2012, 5:19 a.m. Reply

Lacy, it is URL in the example: href=””

Andy Johnson

Andy Johnson on November 7, 2012, 7:25 a.m. Reply

It would be great, but unfortunately I can’t find any podcast from you :( Where are the working links?

Kimball

Kimball on November 19, 2012, 4:08 a.m. Reply

You can try with the educational movable type’s site. There are many tutorials and demos of what you can get from Movable Type.

Kathryn Morris

Kathryn Morris on December 21, 2012, 9:40 p.m. Reply

Good that I found this trick. For long time ago I wanted to create a Vlog, but I didn’t want to use YouTube or other video services, because I wanted to store the videos on my hard disk. Thank you, I will try :)

Leave a Comment

Byrne Reese

Byrne Reese was previously the Product Manager of Movable Type at Six Apart, where he had also held positions as the Manager of Platform Technology and Product Manager for TypePad. Byrne is a huge supporter of the Movable Type user and developer community. He dedicates much of his time to promoting and educating people about Movable Type as well as building the tools and plugins for Movable Type that are showcased on Majordojo. He contributes regularly to open source; and he is an advocate for open protocols and standards like Atom and OpenID.

Website: http://profile.typekey.com/byrnereese