Another Podshow/Mevio Bug Fixed

| No Comments

I noticed the No Agenda shownotes would not show up in iTunes. Turns out that mevio has a bug in how it handles Apple's podcast specifications, specifically, the summary tag which is:

shown in a separate window that appears when the "circled i" in the Description column is clicked. It also appears on the iTunes page for your podcast. This field can be up to 4000 characters. If is not included, the contents of the tag are used.
So, what is needed to fix it is either eliminate the itunes:summary element entirely from the individual episodes or set it to the value of the description element. Testing confirms that iTunes does not honour the 4000-character length limit of the field. After the flip, I show how to do the latter in an XSL Stylesheet.
Reblog this post [with Zemanta]
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"> <xsl:output method="xml" encoding="utf-8" indent="yes"> <xsl:template match="/"> <rss xmlns:itunes="http://www.itunes.com/dtd/podcast-1.0.dtd" version="2.0"> <channel>\t<title><xsl:value-of select="//rss/channel/title/text()"/></title>\t<itunes:author><xsl:value-of select="//rss/channel/itunes:author/text()"></xsl:value-of>\t<link><xsl:value-of select="//rss/channel/link/text()">\t<description><xsl:value-of select="//rss/channel/description"></xsl:value-of>\t<itunes:summary><xsl:value-of select="//rss/channel/itunes:summary"></xsl:value-of>\t<language><xsl:value-of select="//rss/channel/language"></xsl:value-of>\t<copyright><xsl:value-of select="//rss/channel/copyright"></xsl:value-of>\t<itunes:owner>\t <itunes:name><xsl:value-of select="//rss/channel/itunes:owner/itunes:name"></xsl:value-of>\t <itunes:email><xsl:value-of select="//rss/channel/itunes:owner/itunes:email"></xsl:value-of>\t</itunes:email>\t<img>\t <url><xsl:value-of select="//rss/channel/image/url"></xsl:value-of>\t <title><xsl:value-of select="//rss/channel/image/title"/></title>\t <link><xsl:value-of select="//rss/channel/image/link">\t\t<itunes:image><xsl:value-of select="//rss/channel/itunes:image[@href]"></xsl:value-of>\t<category><xsl:value-of select="//rss/channel/category"></xsl:value-of>\t<itunes:explicit><xsl:value-of select="//rss/channel/itunes:explicit"></xsl:value-of>\t<itunes:keywords><xsl:value-of select="//rss/channel/itunes:keywords"></xsl:value-of>\t<lastbuilddate><xsl:value-of select="//rss/channel/lastBuildDate"></xsl:value-of>\t<docs><xsl:value-of select="//rss/channel/docs"></xsl:value-of>\t<generator><xsl:value-of select="//rss/channel/generator"></xsl:value-of>\t<managingeditor><xsl:value-of select="//rss/channel/managingEditor"> </xsl:value-of>\t<webmaster><xsl:value-of select="//rss/channel/webMaster"></xsl:value-of>\t<item>\t <xsl:apply-templates select="//rss/channel/item">\t</xsl:apply-templates> </item> </webmaster> </managingeditor> <xsl:template match="item"> <xsl:for-each select="//rss/channel/item"> <itunes:author><xsl:value-of select="itunes:author/text()"></xsl:value-of> <link><xsl:value-of select="link/text()"> <enclosure><xsl:value-of select="//rss/channel/item/enclosure[@url]"></xsl:value-of> <title><xsl:value-of select="title/text()"/></title> <description><xsl:value-of select="description/text()"></xsl:value-of> <itunes:summary><xsl:value-of select="description/text()"></xsl:value-of> <itunes:subtitle><xsl:value-of select="itunes:subtitle/text()"></xsl:value-of> <pubdate><xsl:value-of select="pubDate/text()"></xsl:value-of> <category><xsl:value-of select="category/text()"></xsl:value-of> <itunes:explicit><xsl:value-of select="itunes:explicit/text()"></xsl:value-of> <itunes:keywords><xsl:value-of select="itunes:keywords/text()"></xsl:value-of> </itunes:keywords> </itunes:explicit></category></pubdate></itunes:subtitle></itunes:summary></description></enclosure></xsl:value-of></itunes:author></xsl:for-each></xsl:template></generator></docs></lastbuilddate></itunes:keywords></itunes:explicit></category></itunes:image></xsl:value-of></url></itunes:name></itunes:owner></copyright></language></itunes:summary></description></xsl:value-of></itunes:author></channel></rss></xsl:template></xsl:output></xsl:stylesheet>

Leave a comment

Bookmark and Share

Connect with me


qrcode
Add me on AOL
Hasan Diwan

Follow me on Twitter
Ring me at +1 6502844111
See my photos
How about some analytics?

Twitter

Archives

Creative Commons License
This blog is licensed under a Creative Commons License.