summaryrefslogtreecommitdiffabout
authorWojciech Polak <polak@gnu.org>2010-05-24 15:37:35 (GMT)
committer Wojciech Polak <polak@gnu.org>2010-05-24 15:37:35 (GMT)
commit845697f610f5842fc5464e22fe3efee776b46786 (patch) (side-by-side diff)
tree0a0d8495ec21bc6707b8f5d9d61da1257f67e35c
parent47ffedeaf46293c3f62ce9b65df057022969874b (diff)
downloadcheetah-845697f610f5842fc5464e22fe3efee776b46786.tar.gz
cheetah-845697f610f5842fc5464e22fe3efee776b46786.tar.bz2
Add media:group support.
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--xslt/v2/feed.xsl6
1 files changed, 4 insertions, 2 deletions
diff --git a/xslt/v2/feed.xsl b/xslt/v2/feed.xsl
index 06d2c71..c56eedf 100644
--- a/xslt/v2/feed.xsl
+++ b/xslt/v2/feed.xsl
@@ -331,7 +331,8 @@
</xsl:call-template>
</xsl:when>
</xsl:choose>
- <xsl:apply-templates select="enclosure|media:thumbnail|media:content"/>
+ <xsl:apply-templates select="enclosure|media:thumbnail|media:content|
+ media:group/media:content[@isDefault='true']"/>
<div class="entryMeta">
<xsl:if test="link">
<span class="entryMore">
@@ -725,7 +726,8 @@
</xsl:choose>
<xsl:apply-templates select="atom:link[@rel = 'enclosure']|
atomW3:link[@rel = 'enclosure']|
- media:thumbnail|media:content"/>
+ media:thumbnail|media:content|
+ media:group/media:content[@isDefault='true']"/>
<div class="entryMeta">
<xsl:if test="atom:link|atomW3:link">
<span class="entryMore">

Return to:

Send suggestions and report system problems to the System administrator.