Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
NITF 4.0http://www.nitf.org<br />Stuart Myles<br />Associated Press<br />Rome / 3rd November 2010<br />
NITF<br />© 2010 IPTC (www.iptc.org)    All rights reserved<br />2<br />News Industry Text Format<br />“A solution for sha...
Towards NITF 4.0<br />© 2010 IPTC (www.iptc.org)    All rights reserved<br />3<br />Open up the schema<br />To give NITF u...
XSD Documentation<br />Currently, only the NITF 3.5 DTD has documentation<br />An “experimental” NITF XSD with documentati...
NITF + Foreign Namespace e.g. Adding Geo Information<br />© 2010 IPTC (www.iptc.org)    All rights reserved<br />5<br />Ma...
Foreign Namespaces<br />A long-standing criticism of NITF is that it is closed to foreign namespaces<br />e.g. http://snee...
Experimenting with Namespaces<br />I constructed some NITF instance documents<br /> to help figure out where to add namesp...
Testing is Important!<br />The NITF 3.5 XSD foreign namespace support didn’t work as expected<br />I wanted to be able to ...
NITF <head><br />Within the <head> it makes sense to add expansion slots within <docdata> and at the end of <head><br />Ev...
NITF <body><br />Added namespaces to <body.head>…<br />© 2010 IPTC (www.iptc.org)    All rights reserved<br />10<br />
NITF <body><br />… and within <media> …<br />© 2010 IPTC (www.iptc.org)    All rights reserved<br />11<br />
NITF <body><br />… and within <block>.<br />I experimented with namespaces outside of “containers” in the <body> but trigg...
After NITF <body>?<br />I allowed foreign namespaces after the body<br />This would turn NITF into a “envelope” language<b...
NITF Attributes<br />I added foreign namespace attributes to the commonNITFAttributes group<br />Used in many – but far fr...
NITF and IPTC’s G2<br />G2 is a unified framework for packaging and exchanging news content<br />Standard model for news m...
NITF 4.0<br />The experimental NITF 4.0 schema and a couple of example documents were distributed to the NITF Yahoo! email...
NITF<br />Any other business?<br />Date and place of next meeting:<br />Spring 2011<br />Grazie!<br />© 2010 IPTC (www.ipt...
Upcoming SlideShare
Loading in …5
×

IPTC NITF November 2010

4,728 views

Published on

Published in: Technology
  • Be the first to comment

  • Be the first to like this

IPTC NITF November 2010

  1. 1. NITF 4.0http://www.nitf.org<br />Stuart Myles<br />Associated Press<br />Rome / 3rd November 2010<br />
  2. 2. NITF<br />© 2010 IPTC (www.iptc.org) All rights reserved<br />2<br />News Industry Text Format<br />“A solution for sharing news”<br />Developed by News Publishers, for News Publishers<br />Defines the content and structure of news articles<br />Currently, NITF v3.5 in DTD and XSD<br />http://www.nitf.org<br />http://groups.yahoo.com/group/nitf/<br />
  3. 3. Towards NITF 4.0<br />© 2010 IPTC (www.iptc.org) All rights reserved<br />3<br />Open up the schema<br />To give NITF users greater flexibility and control<br />Align NITF with other standards<br />The original NITF 4.0 road map:<br />XSD documentation <- Progress to report<br />Namespaces <- Progress to report<br />RDFization <- Now part of a broader IPTC initiative<br />G2ization <- No progress<br />NITF 4.0 started Spring 2010, target end of 2010<br />
  4. 4. XSD Documentation<br />Currently, only the NITF 3.5 DTD has documentation<br />An “experimental” NITF XSD with documentation mechanically copied over:<br />http://groups.yahoo.com/group/nitf/files/schema/nitf-3-5.xsd<br />Comments requested, none received…<br />http://groups.yahoo.com/group/nitf/message/772<br />© 2010 IPTC (www.iptc.org) All rights reserved<br />4<br />
  5. 5. NITF + Foreign Namespace e.g. Adding Geo Information<br />© 2010 IPTC (www.iptc.org) All rights reserved<br />5<br />Maps are popular ways to display news<br />It would be handy to be able to use GEORSS to add latitude and longitude information into an NITF article<br />Unfortunately, NITF doesn’t allow “foreign namespaces”<br />
  6. 6. Foreign Namespaces<br />A long-standing criticism of NITF is that it is closed to foreign namespaces<br />e.g. http://snee.com/xml/xml2005/industryschemas.html#d50e406<br />NITF 3.5 added more complete support for foreign namespaces in enriched text – but not yet elsewhere<br />We decided to turn NITF 4.0 into a more open schema<br />An experimental XSD can be found at<br />http://groups.yahoo.com/group/nitf/files/schema/<br />http://www.iptc.org/std-dev/NITF/4.0/<br />© 2010 IPTC (www.iptc.org) All rights reserved<br />6<br />
  7. 7. Experimenting with Namespaces<br />I constructed some NITF instance documents<br /> to help figure out where to add namespaces<br />into NITF 4.0<br />© 2010 IPTC (www.iptc.org) All rights reserved<br />7<br />
  8. 8. Testing is Important!<br />The NITF 3.5 XSD foreign namespace support didn’t work as expected<br />I wanted to be able to add some XHTML but couldn’t at first<br />I had to change the processContents style to “lax”<br />© 2010 IPTC (www.iptc.org) All rights reserved<br />8<br />
  9. 9. NITF <head><br />Within the <head> it makes sense to add expansion slots within <docdata> and at the end of <head><br />Everywhere else is already generic (iim, pubdata) or too specific<br />© 2010 IPTC (www.iptc.org) All rights reserved<br />9<br />
  10. 10. NITF <body><br />Added namespaces to <body.head>…<br />© 2010 IPTC (www.iptc.org) All rights reserved<br />10<br />
  11. 11. NITF <body><br />… and within <media> …<br />© 2010 IPTC (www.iptc.org) All rights reserved<br />11<br />
  12. 12. NITF <body><br />… and within <block>.<br />I experimented with namespaces outside of “containers” in the <body> but triggered XSD errors.<br />Also, what would this “mean”?<br />© 2010 IPTC (www.iptc.org) All rights reserved<br />12<br />
  13. 13. After NITF <body>?<br />I allowed foreign namespaces after the body<br />This would turn NITF into a “envelope” language<br />Other languages (ATOM, NewsML-G2) sport this model<br />Could be useful as a general-purpose expansion<br />Perhaps as a way to carry additional metadata such as codes<br />© 2010 IPTC (www.iptc.org) All rights reserved<br />13<br />
  14. 14. NITF Attributes<br />I added foreign namespace attributes to the commonNITFAttributes group<br />Used in many – but far from all -NITF elements<br />© 2010 IPTC (www.iptc.org) All rights reserved<br />14<br />Adding foreign namespace attributes to the globalNITFAttributes group would cover the rest of the NITF elements<br />
  15. 15. NITF and IPTC’s G2<br />G2 is a unified framework for packaging and exchanging news content<br />Standard model for news metadata regardless of the content or media type<br />However, NITF predates the G2 framework<br />With work, NITF can join the G2 family, just like SportsML<br />The biggest change will be the inline adoption of QCodes<br />Colon separated scheme:code syntax for controlled vocabularies<br />Proposal: proceed with NITF 4.0 without G2 support, to avoid delay – G2 support is too big to rush<br />© 2010 IPTC (www.iptc.org) All rights reserved<br />15<br />
  16. 16. NITF 4.0<br />The experimental NITF 4.0 schema and a couple of example documents were distributed to the NITF Yahoo! email list for comment and are available at<br />http://www.iptc.org/std-dev/NITF/4.0/<br />After the deadline for submitting documents to this meeting, I got a little feedback, asking for additions<br />What is the formal procedure? Can we vote and make changes?<br />NITF v 3.4 started the move to XML Schema in 2007<br />Adding documentation and opening up to “foreign namespaces” completes the transition to XML Schema<br />© 2010 IPTC (www.iptc.org) All rights reserved<br />16<br />
  17. 17. NITF<br />Any other business?<br />Date and place of next meeting:<br />Spring 2011<br />Grazie!<br />© 2010 IPTC (www.iptc.org) All rights reserved<br />17<br />

×