MAWG | Relation | IPTC NewsML-G2 | How to do the mapping | Datatype | Xpath |
---|---|---|---|---|---|
Descriptive Properties (Core Set) | |||||
Identification | |||||
ma:identifier | exact | altId | the main attribute is to be found in contentMeta | string | /newsItem/contentMeta/altId
/newsItem/partMeta/altId /newsItem/contentSet/remoteContent/altId |
ma:title | exact | title | string | /newsItem/itemMeta/title | |
ma:language | exact | 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:locator | exact | altLoc | IRI | /newsItem/contentSet/remoteContent/altLoc | |
Creation | |||||
ma:contributor | exact | contributor |
the main attribute is to be found in contentMeta | string | /newsItem/contentMeta/contributor/name
/newsItem/partMeta/contributor/name |
ma:creator |
exact | creator |
the main attribute is to be found in contentMeta | string | /newsItem/contentMeta/creator/name
/newsItem/partMeta/creator/name |
ma:createDate | exact | contentCreated |
the main attribute is to be found in contentMeta | dateTime | /newsItem/contentMeta/contentCreated
/newsItem/partMeta/contentCreated |
ma:location | exact | 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 |
Content Description | |||||
ma:description | similar | 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:keyword | similar | 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:genre | exact | 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:rating | |||||
Relational | |||||
ma:relation | similar | 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:collection | |||||
Rights | |||||
ma:copyright | exact | copyrightNotice | with html formatting | string | /newsItem/rightsInfo/copyrightNotice |
ma:license | similar | usageTerms | with html formatting | string | /newsItem/rightsInfo/usageTerms |
Distribution | |||||
ma:publisher | provider | string | /newsItem/itemMeta/provider/facet/name/name | ||
ma:targetAudience | exact | 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 |
Fragments | |||||
ma:fragments | exact | 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 | exact | part | A news item part is a segment identifier by an id or seuence number | ID
nonNegativeInteger |
newsItem/partMeta/@partId newsItem/partMeta/@seq |
Technical Properties | |||||
ma:frameSize | similar | 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:compression | exact | 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:duration | exact | duration | It is important to take into account the durationUnit | nonNegativeInteger | NewsItem/contentSet/remoteContent/channel/newsContentCharacteristics/@duration, NewsItem/contentSet/remoteContent/newsContentCharacteristics/@duration |
ma:format | similar | itemClass | describe the type of news item (content structure) | string | /newsItem/ItemMeta/itemClass/name |
ma:samplingRate | exact | audiosamplerate | positiveInteger | newsItem/contentSet/remoteContent/channel/newsContentCharacteristics/@audiosamplerate newsItem/contentSet/remoteContent/newsContentCharacteristics/@audiosamplerate | |
ma:bitrate | exact | 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 |