Loading ...
Sorry, an error occurred while loading the content.

NewsML-G2 2.1: Express both the identifier and location of remote content

Expand Messages
  • Laurent LE MEUR
    This evolution of NewsML-G2 has been approved; questions/comments are welcome. Express both the identifier and location of remote content When a news provider
    Message 1 of 1 , Jul 2, 2008
    • 0 Attachment

      This evolution of NewsML-G2 has been approved; questions/comments are welcome.

       

      Express both the identifier and location of remote content

       

      When a news provider sends a newsItem to its customers with remote content (using a <remoteContent> tag), he often has the practical need to indicate the relative URL where the associated newsItem content can be retrieved  (often a simple  file name). But the provider’s information system stores content in a DAM, where it is identified in a unique way: therefore a global identifier is also needed on the tag, which may be suppressed before the newsItem is distributed. Currently remoteContent/@href plays both roles.

       

      Solution:

      a) To create a consistent set of attributes on remoteContentlink, itemRef and icon:

      @href (URL), @residref (string), @version (positive integer), @contenttype (string), @format (qcode) and @size (non negative integer).

      b) To deprecate the use of @guidref in link and @remoteContent and to deprecate the use of @hreftype in link and itemRef. @guidref and @hreftype are still defined in the specification and schema, but it is specified that these attributes should not be used any more.

       

      Example1 (in newsItem/itemMeta): <link residref=”tag:afp.com,2008:target1” version=”2” href=”./target1.xml” contenttype=” application/vnd.iptc.g2.newsitem+xml” size=”1024”/>

       

      Which means that the target of the item link is the newsItem having “tag:afp.com,2008:target1” as guid, in version 2, retrievable from “./target1.xml”, which size is 1024 bytes.

       

      Example2 (in newsItem/contentSet): <remoteContent residref=”PAR2342342” href=”./target1.jpg” contenttype=”image/jpeg” size=”1002400”/>

       

      Which means that the remote content is the JPEG image having “PAR2342342” as system id, retrievable from “./target1.jpg”, which size is 1002400 bytes.

       

       

      Best regards

      Laurent Le Meur

      AFP

      IPTC NAR chair

       

       

       

       

       

      This e-mail, and any file transmitted with it, is confidential and  intended solely for the use of the individual or entity to whom it is addressed. If you have received this email in error, please  contact the sender and delete the email from your system. If you are  not the named addressee you should not disseminate, distribute or copy  this email.
      
      For more information on Agence France-Presse, please visit our web site at http://www.afp.com
      
    Your message has been successfully submitted and would be delivered to recipients shortly.