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 | |
title | exact | title | string | newsItem/itemMeta/title | ||
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 | |
locator | exact | altLoc | IRI | newsItem/contentSet/remoteContent/altLoc | ||
Creation | ||||||
contributor | exact | contributor |
the main attribute is to be found in contentMeta | string | newsItem/contentMeta/contributor/name
or newsItem/partMeta/contributor/name | |
creator |
exact | creator |
the main attribute is to be found in contentMeta | string | newsItem/contentMeta/creator/name
or newsItem/partMeta/creator/name | |
date | exact | contentCreated |
the main attribute is to be found in contentMeta | dateTime | newsItem/contentMeta/contentCreated
or newsItem/partMeta/contentCreated | |
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 | |
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 | |
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 | |
genre | exact | genre | 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 | |
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 | ||
collection | N/A | N/A | ||||
Rights | ||||||
copyright | exact | copyrightNotice | with html formatting | string | newsItem/rightsInfo/copyrightNotice | |
policy | related | usageTerms | with html formatting | string | newsItem/rightsInfo/usageTerms | |
Distribution | ||||||
publisher | provider | string | newsItem/itemMeta/provider/facet/name/name | |||
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
format | related | itemClass | describe the type of news item (content structure) | string | newsItem/ItemMeta/itemClass/name | |
samplingRate | exact | audiosamplerate | positiveInteger | newsItem/contentSet/remoteContent/channel/newsContentCharacteristics/@audiosamplerate
or newsItem/contentSet/remoteContent/newsContentCharacteristics/@audiosamplerate | ||
frameRate | ||||||
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 | ||
numTracks | N/A | N/A |