MAWG | Relation | YouTube | How to do the mapping | Datatype | XPath |
---|---|---|---|---|---|
Descriptive Properties (Core Set) | |||||
Identification | |||||
ma:identifier | more specific | rss/channel/item/media:group/media:content/@url OR
rss/channel/item/media:group/media:player/@url |
identifier: @url
type: n/a |
URI | |
ma:title | exact | rss/channel/item/title | title: value
type: n/a |
String | |
ma:language | |||||
ma:locator | exact | rss/channel/item/media:group/media:content/@url | value | URI | |
Creation | |||||
ma:contributor | |||||
ma:creator | |||||
ma:createDate | rss/channel/item/yt:recorded | date: value | String | ||
ma:location | exact | rss/channel/item/yt:location AND
rss/channel/item/georss:where |
name: value of yt:location element
latitude: first value of georss:where/gml:Point/gml:pos longitude: second value of georss:where/gml:Point/gml:pos altitude: n/a NOTE: georss:where is from geoRSS format to specify geographical information. |
String
String(Value of gml:pos element. This has latitude and longitude information with space-delimited) |
|
Content description | |||||
ma:description | exact | rss/channel/item/media:group/media:description | value | String | |
ma:keyword | exact | rss/channel/item/media:group/media:keywords | value | String | |
ma:genre | exact | rss/channel/item/media:group/media:category | value
NOTE: @scheme is a URI that identifies the categorization scheme. |
String | |
ma:rating | more specific | rss/channel/item/gd:rating | identifier: n/a
value: @average max: @max min: @min context: n/a NOTE: @max specifies the maximum rating that can be assigned to a video. This value must be 5. @min specifies the minimum rating that can be assigned to a video. This value must be 1. |
Float Integer Integer |
|
Relational | |||||
ma:relation | |||||
ma:collection | |||||
Rights | |||||
ma:copyright | |||||
ma:policy | |||||
Distribution | |||||
ma:publisher | more specific | rss/channel/item/media:content/media:credit[@role="uploader"] | value: string | String | |
ma:targetAudience | more specific | rss/channel/item/media:content/media:rating OR
rss/channel/item/media:group/media:restriction |
In case of media:rating
element
identifier: @scheme classification: @country (This attribute value identifies the country or countries where a video is considered to contain restricted content. The attribute value will either be the word all, which indicates that the video contains content that is considered restricted everywhere, or a comma-delimited list of ISO 3166 two-letter country codes identifying particular countries where the video content is restricted) In case of media: restriction element identifier: n/a classification: value(space-delimited list of ISO 3166) NOTE: @relationship indicates whether the video is allowed to be played in the specified countries. It's value is 'allow' or 'deny'. @type should be 'country' as a value |
||
Fragments | |||||
ma:fragments | |||||
ma:namedFragments | |||||
Technical Properties | |||||
ma:frameSize | |||||
ma:compression | exact | rss/channel/item/media:content/@type | @type | String | |
ma:duration | exact | rss/channel/item/media:content/@duration | @duration | Float | |
ma:format | exact | rss/channel/item/media:content/@type | @type | String | |
ma:samplingrate | |||||
ma:framerate | |||||
ma:bitrate | |||||
ma:numTracks |