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