rNews 0.5: The NewsItem Class

Figure 1: Attributes of the NewsItem class.

The NewsItem class models those attributes common to both Article and Media objects. The table below enumerates all attributes of the NewsItem class and provides the expected data type, category (core/power) and a definition of each attribute.

AttributeTypeCategoryDefinition
headline xsd:string core The primary title of the NewsItem. If the NewsItem has multiple headlines (online, print etc), this property should be used to specify the title judged most helpful to an online audience. Implementors should specify only one headline per NewsItem.
alternativeHeadline xsd:anyURI core A secondary title of the NewsItem. Implementors may specify more than one one alternativeHeadline properties for a single NewsItem.
copyrightNotice xsd:string core Any necessary copyright notice for claiming the intellectual property for the content.
copyrightNoticeUri xsd:anyURI core A URI for any necessary copyright notice for claiming the intellectual property for the content.
dateCreated xsd:dateTime core The date on which the NewItem was created.
datePublished xsd:dateTime core The date on which the NewItem was first made available online.
dateModified xsd:dateTime core The date on which the NewItem was most recently modified
description xsd:string core A free-form textual description of the NewsItem of the item. Publishers may find it helpful to view this as the "caption" for an Media objects.
language xsd:string core A language used by the news content specified according to IETF BCP 47 at http://tools.ietf.org/html/bcp47.
thumbnailUri xsd:anyURI core A thumbnail image relevant to the content.
usageTerms xsd:string core A natural-language statement about the usage terms pertaining to the content.
usageTermsUri xsd:anyURI core A URI identifying a natural-language statement about the usage terms pertain- ing to the content.
dateline xsd:string power A natural-language statement of the place of creation of the content
commentCount xsd:integer power The number of comments users have made on the publishers site regarding the article.
commentCountURI xsd:anyURI power This URI points to a document containing the number of comments for the article.
discussionUri xsd:anyURI power If the comments for the article are located on another page, this URI points to that page.
genre xsd:string power A term describing the general editorial category of the article. Implementations are encouraged but not required to draw values for type of material from the IPTC Genre subject headings at http://cv.iptc.org/newscodes/genre/.
genreUri xsd:anyURI power A URI for the general editorial category of the article. Implementations are encouraged but not required to draw values for type of material from the IPTC Genre subject headings at http://cv.iptc.org/newscodes/genre/.
id xsd:string power An identifier for this article. This ID can be generated by the underlying publishing system. No two distinct content items from the same site should ever be assigned the same id, but a single NewsItem may have multiple ids.
version xsd:integer power The version of the newsitem embodied by a specified resource.
publishingPrinciplesURI xsd:integer power A link to a natural-language statement of the principles adhered to by the source of the NewsItem.

 

Applying the NewsItem Class
Below is an RDF/Turtle representation of portions our sample article modeled using the attributes specified in the NewsItem class. Please note that we've borrowed certain metadata values from the original Times Article (such as commentCount) to demonstrate the appropriate use of these attributes.
      @prefix rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#>  .
      @prefix rnews: <http://iptc.org/std/rNews/2011-05-17#> .
      <http://dev.iptc.org/rNews-Sample-Story>
        rnews:headline "Allies Are Split on Goal and Exit Strategy in Libya" ;
        rnews:alternativeHeadline "Allies are Split Over Final Goal of Libya Mission" ;
        rnews:alternativeHeadline "NATO Takes Command" ;
        rnews:alternativeHeadline "Strategy for an Exit and the Fate of Qaddafi Remain Murky" ;
        rnews:alternativeHeadline "Ultimate Goal of Mission In Libya Divides Allies" ;
        rnews:copyrightNoticeUri <http://www.nytimes.com/content/help/rights/copyright/copyright-notice.html>  ;
        rnews:dateCreated  "2011-03-24" ;
        rnews:description "The questions about the command mirrored the  strategic divisions over how the coalition will end the operation." ;
        rnews:language "en" ;
        rnews:thumbnailUri  <http://graphics8.nytimes.com/images/common/icons/t_wb_75.gif>  ;
        rnews:usageTermsUri <http://www.nytimes.com/ref/membercenter/help/agree.html>  ;
        rnews:commentCount "2"  ;
        rnews:discussionUri <http://community.nytimes.com/comments/www.nytimes.com/2011/03/25/world/africa/25policy.html>  ;
        rnews:genre "Current"  ;
        rnews:genreUri <http://cv.iptc.org/newscodes/genre/Current>  ;
        rnews:id  "1248069687395" ;
        rnews:version "1" .

 

Want to comment on rNews: we invite you to post your comment to the rNews Forum.