MAWG | Relation | IPTC NewsML-G2 | How to do the mapping | Datatype | Xpath |
---|---|---|---|---|---|
ma:contributor | contributor |
the main attribute is to be found in contentMeta | string | /newsItem/contentMeta/contributor/name
/newsItem/partMeta/contributor/name |
|
ma:creator |
creator |
the main attribute is to be found in contentMeta | string | /newsItem/contentMeta/creator/name
/newsItem/partMeta/creator/name |
|
ma:description | description
headline slugline dateline |
All the following attributes are relevant to mapping to
description,
possibky with html formatting |
string | /newsItem/contentMeta/description /newsItem/contentMeta/headline /newsItem/contentMeta/slugline /newsItem/contentMeta/Dateline /newsItem/partMeta/description /newsItem/partMeta/headline /newsItem/partMeta/slugline /newsItem/partMeta/Dateline | |
ma:format | itemClass | describe the type of news item (content structure) | string | /newsItem/ItemMeta/itemClass/name | |
ma:identifier | altId | the main attribute is to be found in contentMeta | string | /newsItem/contentMeta/altId
/newsItem/partMeta/altId /newsItem/contentSet/remoteContent/altId |
|
ma:language | language | the main attribute is to be found in contentMeta | string
string lang lang |
/newsItem/contentMeta/language/name /newsItem/partMeta/language/name /newsItem/contentSet/remoteContent/channel/@language /newsItem/contentSet/remoteContent/@language |
|
ma:publisher | provider | string | /newsItem/itemMeta/provider/facet/name/name | ||
ma:relation | memberOf
istanceOf sameAs broader narrower related |
string | /newsItem/itemMeta/memberOf/name
/newsItem/itemMeta/memberOf/sameAs/name /newsItem/itemMeta/memberOf/broader/name /newsItem/itemMeta/memberOf/narrower/name /newsItem/itemMeta/memberOf/related/name /newsItem/itemMeta/instanceOf/name /newsItem/itemMeta/instanceOf/sameAs/name /newsItem/itemMeta/instanceOf/broader/name /newsItem/itemMeta/instanceOf/narrower/name /newsItem/itemMeta/instanceOf/related/name |
||
ma:keyword | subject | the main attribute is to be found in contentMeta | string | /newsItem/contentMeta/subject/name
/newsItem/contentMeta/subject/@QCode /newsItem/contentMeta/subject/@literal /newsItem/partMeta/subject/name /newsItem/partMeta/subject/@QCode /newsItem/partMeta/subject/@literal |
|
ma:title | title | string | /newsItem/itemMeta/title | ||
ma:genre | genre | the main attribute is to be found in contentMeta | string | /newsItem/contentMeta/subject/name
/newsItem/contentMeta/subject/@QCode /newsItem/contentMeta/subject/@literal /newsItem/partMeta/subject/name /newsItem/partMeta/subject/@QCode /newsItem/partMeta/subject/@literal |
|
ma:createDate | contentCreated |
the main attribute is to be found in contentMeta | dateTime | /newsItem/contentMeta/contentCreated
/newsItem/partMeta/contentCreated |
|
ma:rating | |||||
ma:collection | |||||
ma:duration | duration | It is important to take into account the durationUnit | nonNegativeInteger | NewsItem/contentSet/remoteContent/channel/newsContentCharacteristics/@duration, NewsItem/contentSet/remoteContent/newsContentCharacteristics/@duration | |
ma:copyright | copyrightNotice | with html formatting | string | /newsItem/rightsInfo/copyrightNotice | |
ma:license | usageTerms | with html formatting | string | /newsItem/rightsInfo/usageTerms | |
ma:location | located | the main attribute is to be found in contentMeta | string | /newsItem/contentMeta/located/name
/newsItem/contentMeta/located/@QCode /newsItem/contentMeta/located/@literal /newsItem/partMeta/located/name /newsItem/partMeta/located/QCode /newsItem/partMeta/located/literal |
|
ma:compression | videoCodec
audioCodec |
Use of IPTC QCodes to refer to classification schemes | string | newsItem/contentSet/remoteContent/channel/newsContentCharacteristics/@videoCodec
newsItem/contentSet/remoteContent/newsContentCharacteristics/@videoCodec
newsItem/contentSet/remoteContent/channel/newsContentCharacteristics/@audioCodec newsItem/contentSet/remoteContent/newsContentCharacteristics/@audioCodec |
|
ma:frameSize | height
width |
Beware of the definition of the height and width units | nonNegativeInteger | NewsItem/contentSet/remoteContent/channel/newsContentCharacteristics/@width
+ @height
NewsItem/contentSet/remoteContent/newsContentCharacteristics/@width + @height |
|
ma:targetAudience | audience
exclAudience |
the main attribute is to be found in contentMeta | string | newsItem/contentMeta/audience/name
newsItem/contentMeta/audience/@literal newsItem/contentMeta/audience/@QCode newsItem/contentMeta/exclAudience/name newsItem/contentMeta/exclAudience/@literal newsItem/contentMeta/exclAudience/@QCode newsItem/contentMeta/audience/name newsItem/contentMeta/audience/@literal newsItem/contentMeta/audience/@QCode newsItem/contentMeta/exclAudience/name newsItem/contentMeta/exclAudience/@literal newsItem/contentMeta/exclAudience/@QCode |
|
ma:locator | altLoc | IRI | /newsItem/contentSet/remoteContent/altLoc | ||
ma:samplingRate | audiosamplerate | positiveInteger | newsItem/contentSet/remoteContent/channel/newsContentCharacteristics/@audiosamplerate newsItem/contentSet/remoteContent/newsContentCharacteristics/@audiosamplerate | ||
ma:bitrate | audiobitrate
videoavgbitrate |
positiveinteger | newsItem/contentSet/remoteContent/channel/newsContentCharacteristics/@audiobitrate
newsItem/contentSet/remoteContent/newsContentCharacteristics/@audiobitrate
newsItem/contentSet/remoteContent/channel/newsContentCharacteristics/@videoavgbitrate newsItem/contentSet/remoteContent/newsContentCharacteristics/@videoavgbitrate |
||
ma:numTracks | |||||
ma:fragments | part | A news item part is a segment delimited by a start and end time | string
string |
newsItem/partMeta/timeDelim/@start
newsItem/partMeta/timeDelim/@end |
|
ma:namedFragment | part | A news item part is a segment identifier by an id or seuence number | ID
nonNegativeInteger |
newsItem/partMeta/@partId newsItem/partMeta/@seq |