title | description | ms.assetid | keywords | ms.topic | ms.date | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Mapping RSS Feeds to Windows Media Device Manager Properties |
Mapping RSS Feeds to Windows Media Device Manager Properties |
354c98ab-1392-476f-a650-75b948dc971a |
|
concept-article |
05/31/2018 |
Windows Media Player 11 provides an RSS aggregator feature that enables users to store content obtained from podcasts on their computers. This topic describes the XML elements found in an RSS feed. In addition, it maps these RSS elements to Windows Media Device Manager properties.
The elements in an RSS feed have the following hierarchy and attributes:
<channel>
<title />
<link />
<description />
<language />
<copyright />
<managingEditor />
<webMaster />
<pubDate />
<lastBuildDate />
<category />
<generator />
<docs />
<cloud />
<ttl />
<image>
<url />
<title />
<link />
<width />
<height />
<description />
</image>
<rating />
<textInput>
<title />
<description />
<name />
<link />
</textInput>
<skipHours />
<skipDays />
<item>
<title />
<link />
<description />
<author />
<category domain = " "/>
<comments />
<enclousure url = " " length = " " type = " "/>
<guid isPermaLink = " "/>
<pubDate />
<source url = " " />
</item>
</channel>
The following table lists the channel elements in an RSS feed and the corresponding Windows Media Device Manager properties.
Channel element | Status | Corresponding Windows Media Device Manager property |
---|---|---|
category | Optional | g_wszWMDMGenre |
cloud | Not applicable | Not applicable |
copyright | Optional | g_wszWMDMProviderCopyright |
description | Required | g_wszWMDMDescription |
docs | Not applicable | Not applicable |
generator | Not applicable | Not applicable |
language | Not applicable | Not applicable |
lastBuildDate | Optional | g_wszWMDMLastModifiedDate |
link | Required | g_wszWMDMDestinationURL |
managingEditor | Optional | g_wszWMDMEditor |
pubDate | Optional | g_wszWMDMYear |
rating | Not applicable | Not applicable |
skipDays | Not applicable | Not applicable |
skipHours | Not applicable | Not applicable |
textInput | Not applicable | Not applicable |
title | Required | g_wszWMDMTitle |
ttl | Optional | g_wszWMDMTimeToLive |
webMaster | Optional | g_wszWMDMWebMaster |
The following table lists the image elements in an RSS feed and the corresponding WMDM properties.
Image element | Status | Corresponding Windows Media Device Manager property |
---|---|---|
description | Optional | g_wszWMDMDescription |
height | Optional | g_wszWMDMHeight |
link | Optional | g_wszWMDMDestinationURL |
title | Optional | g_wszWMDMTitle |
url | Optional | g_wszWMDMSourceURL |
width | Optional | g_wszWMDMWidth |
The following table lists the item elements in an RSS feed and the corresponding Windows Media Device Manager properties.
Item element | Attribute | Status | Corresponding Windows Media Device Manager property |
---|---|---|---|
author | Optional | g_wszWMDMAuthor | |
category | Optional | g_wszWMDMGenre | |
domain | Not applicable | Not applicable | |
description | Optional | g_wszWMDMDescription | |
enclosure | Optional | Not applicable | |
length | Required | g_wszWMDMFileSize | |
type | Required | (The MIME type should be mapped to the property content type.) | |
url | Required | g_wszWMDMSourceURL | |
guid | Optional | g_wszWMDMediaGuid | |
isPermaLink | Not applicable | Not applicable | |
link | Optional | g_wszWMDMDestinationURL | |
pubDate | Optional | g_wszWMDMYear | |
source | Not applicable | Not applicable | |
title | Optional | g_wszWMDMTitle |
Example
The following example shows a complete RSS feed for a fictitious podcast supplied by the CEO of a publishing company.
<channel>
<title>The Digital Publication</title>
<link>https://www.lucernepublishing.com/podcasting</link>
<description>Lucerne Publishing CEO Peter Bankov takes a look at the latest trends in online publications.</description>
<language>en-us</language>
<copyright>2006 Lucerne Publishing LP, LLLP. All Rights Reserved.</copyright>
<managingEditor>someone@example.com</managingEditor>
<webMaster>someone@example.com</webMaster>
<pubDate>Fri, 9 June 2006 14:00:28 EDT</pubDate>
<lastBuildDate Fri, 9 June 2006 14:00:28 EDT />
<category>News</category>
<generator>Podcaster version 1.0</generator>
<docs>https://www.lucernepublishing.com/tech/rss</docs>
<cloud />
<ttl>240</ttl>
<rating />
<textInput />
<skipHours />
<skipDays />
<image>
<url>https://www.lucernepublishing.com/images/logo.gif</url>
<title>Lucerne Publishing</title>
<link>https://www.lucernepublishing.com/community/podcasts</link>
<width>300</width>
<height>300</height>
<description>Lucerne Logo</description>
</image>
<item>
<title>The Digital Publication</title>
<link>https://www.lucernepublishing/services/podcasting/digital.publishing/audio/2006/06/digital0601.mp3</link>
<description>Online publications are rapidly changing. A publishing house CEO examines the trends of the past five years and their implications.</description>
<author>Lucerne</author>
<category>News</category>
<comments />
<enclosure url="https://www.lucernepublishing/services/podcasting/digital.publishing/audio/2006/06/digital0601.mp3" length="10329011" type="audio/mpeg" />
<guid>https://www.lucernepublishing/services/podcasting/digital.publishing/audio/2006/06/digital0601.mp3</guid>
<pubDate>Thur, 1 June 2006 14:00:28 EDT</pubDate>
<source />
</item>
</channel>
Mapping of RSS Channel Elements to Windows Media Device Manager Property Values
The following table describes how the values in the RSS Channel elements in the previous example map to particular Windows Media Device Manager properties.
Windows Media Device Manager property | Value |
---|---|
g_wszWMDMAuthorDate | Fri, 9 June 2006 14:00:28 EDT |
g_wszWMDMDESCRIPTION | Lucerne Publishing CEO Peter Bankov takes a look at the latest trends in online publications. |
g_wszWMDMDESTINATION_URL | https://www.lucernepublishing/services/podcasting |
g_wszWMDMEDITOR | someone@example.com |
g_wszWMDMFileCreationDate | Fri, 9 June 2006 14:00:28 EDT |
g_wszWMDMFileName | The Digital Publication |
g_wszWMDMFileSize | 13,790 |
g_wszWMDMFormatCode | WMDM_FORMATCODE_MEDIA_CAST |
g_wszWMDMGENRE | News |
g_wszWMDMLAST_MODIFIED_DATE | Fri, 9 June 2006 14:00:28 EDT |
g_wszWMDMLastModifiedDate | Fri, 9 June 2006 14:00:28 EDT |
g_wszWMDMProviderCopyright | 2006 Lucerne Publishing LP, LLLP. All Rights Reserved. |
g_wszWMDMTimeToLive | 240 |
g_wszWMDMTitle | The Digital Publication |
g_wszWMDMWEBMASTER | someone@example.com |
g_wszWMDMYear | Fri, 9 June 2006 14:00:28 EDT |
Mapping of RSS Image Elements to Windows Media Device Manager Property Values
The following table describes how the values in the RSS Image elements in the previous example map to particular Windows Media Device Manager properties.
Windows Media Device Manager property | Value |
---|---|
g_wszWMDMAlbumCoverFormat | WPD_OBJECT_FORMAT_GIF |
g_wszWMDMAlbumCoverSize | 512 |
g_wszWMDMDescription | Lucerne Logo |
g_wszWMDMDestinationURL | //www.lucernepublishing.com/community/podcasts |
g_wszWMDMHeight | 300 |
g_wszWMDMSourceURL | https://www.lucernepublishing.com/images/logo.gif |
g_wszWMDMTitle | Lucerne Publishing |
g_wszWMDMWidth | 300 |
Mapping of RSS Item Elements to Windows Media Device Manager Property Values
The following table describes how the values in the RSS Item elements in the previous example map to particular Windows Media Device Manager properties.
Windows Media Device Manager property | Value |
---|---|
g_wszWMDMAuthor | Lucerne |
g_wszWMDMAuthorDate | Thur, 1 June 2006 14:00:28 EDT |
g_wszWMDMDescription | Online publications are rapidly changing. A publishing house CEO examines the trends of the past five years and their implications. |
g_wszWMDMDestinationURL | https://www.lucernepublishing/services/podcasting/digital.publishing/audio/2006/06/digital0601.mp3 |
g_wszWMDMDuration | 120325445 |
g_wszWMDMFileCreationDate | Thur, 1 June 2006 14:00:28 EDT |
g_wszWMDMFileSize | 10329011 |
g_wszWMDMFormatCode | WMDM_FORMATCODE_MP3 |
g_wszWMDMGenre | News |
g_wszWMDMLastModifiedDate | Thur, 1 June 2006 14:00:28 EDT |
g_wszWMDMMediaGuid | https://www.lucernepublishing/services/podcasting/digital.publishing/audio/2006/06/digital0601.mp3 |
g_wszWMDMSourceURL | https://www.lucernepublishing/services/podcasting/digital.publishing/audio/2006/06/digital0601.mp3 |
g_wszWMDMTitle | The Digital Publication |
g_wszWMDMYear | Thur, 1 June 2006 14:00:28 EDT |