iptc nitf maintenance june 2010

18
NITF Maintenance http://www.nitf.org Stuart Myles Associated Press San Francisco, CA / 28 th June 2010

Upload: stuart-myles

Post on 18-Nov-2014

2.771 views

Category:

Technology


3 download

DESCRIPTION

 

TRANSCRIPT

Page 1: IPTC NITF Maintenance June 2010

NITF Maintenancehttp://www.nitf.org

Stuart MylesAssociated Press

San Francisco, CA / 28th June 2010

Page 2: IPTC NITF Maintenance June 2010

© 2010 IPTC (www.iptc.org) All rights reserved 2

Agenda

• Approval of minutes from previous meeting

• Matters Arising• Chairman’s Report

• Towards NITF 4.0• XSD documentation• Opening up NITF to

“foreign” namespaces• Next Steps

Page 3: IPTC NITF Maintenance June 2010

NITF Matters

• Approval of minutes from the previous meeting– held on the 8 March 2010 (NM1002.1)

• Matters arising?

© 2010 IPTC (www.iptc.org) All rights reserved 3

Page 4: IPTC NITF Maintenance June 2010

Chairman’s Report

© 2010 IPTC (www.iptc.org) All rights reserved 4

• NITF = “News Industry Text Format”• Defines the content and structure of articles

• 418 members on the Y! list– Down from 421 in March

• 9 emails since March

http://www.nitf.org

http://groups.yahoo.com/group/nitf/

Page 5: IPTC NITF Maintenance June 2010

Towards NITF 4.0

© 2010 IPTC (www.iptc.org) All rights reserved 5

• Open up the schema– To give NITF users greater flexibility and control– Align NITF with other standards

• The NITF 4.0 road map:– XSD documentation <- Progress to report– Namespaces <- Progress to report– RDFization <- Now part of a broader IPTC initiative– G2ization <- Still to come

• NITF 4.0 started Spring 2010, target end of 2010– Still on track

Page 6: IPTC NITF Maintenance June 2010

XSD Documentation• Currently, only the NITF 3.5 DTD has documentation• An “experimental” NITF XSD with documentation

mechanically copied over:

http://groups.yahoo.com/group/nitf/files/schema/nitf-3-5.xsd

• Comments requested, none received…

http://groups.yahoo.com/group/nitf/message/772

• We could update the NITF 3.5 XSD

© 2010 IPTC (www.iptc.org) All rights reserved 6

Page 7: IPTC NITF Maintenance June 2010

NITF + Foreign Namespace e.g. Adding Geo Information

© 2010 IPTC (www.iptc.org) All rights reserved 7

• Maps are popular ways to display news• It would be handy to be able to use GEORSS to add

latitude and longitude information into an NITF article

• Unfortunately, NITF doesn’t allow “foreign namespaces”

Page 8: IPTC NITF Maintenance June 2010

Foreign Namespaces

• A long-standing criticism of NITF is that it is closed to foreign namespacese.g. http://snee.com/xml/xml2005/industryschemas.html#d50e406

• NITF 3.5 added more complete support for foreign namespaces in enriched text – but not yet elsewhere

• We decided to turn NITF 4.0 into a more open schema• An experimental XSD can be found at

http://groups.yahoo.com/group/nitf/files/schema/

© 2010 IPTC (www.iptc.org) All rights reserved 8

Page 9: IPTC NITF Maintenance June 2010

Experimenting with Namespaces

• I constructed an NITF instance document to help figure out where to add namespaces into NITF 4.0

• It is just an experiment, so I’m sure there are bugs and it is incomplete…

© 2010 IPTC (www.iptc.org) All rights reserved 9

Page 10: IPTC NITF Maintenance June 2010

Testing is Important!

• The NITF 3.5 XSD foreign namespace support didn’t work as expected

• I wanted to be able to add some XHTML but couldn’t at first

• I had to change the processContents style to “lax”

© 2010 IPTC (www.iptc.org) All rights reserved 10

Page 11: IPTC NITF Maintenance June 2010

NITF <head>

• Within the <head> it makes sense to add expansion slots within <docdata> and at the end of <head>

• Everywhere else is already generic (iim, pubdata) or too specific

© 2010 IPTC (www.iptc.org) All rights reserved 11

Page 12: IPTC NITF Maintenance June 2010

NITF <body>

• Added namespaces to <body.head>…

© 2010 IPTC (www.iptc.org) All rights reserved 12

Page 13: IPTC NITF Maintenance June 2010

NITF <body>

• … and within <media> …

© 2010 IPTC (www.iptc.org) All rights reserved 13

Page 14: IPTC NITF Maintenance June 2010

NITF <body>

• … and within <block>.

• I experimented with namespaces outside of “containers” in the <body> but triggered XSD errors.

• Also, what would this “mean”?

© 2010 IPTC (www.iptc.org) All rights reserved 14

Page 15: IPTC NITF Maintenance June 2010

After NITF <body>?

• I allowed foreign namespaces after the body

• But does this turn NITF into a “envelope” language?• Would it compete with NewsML-G2 or ATOM?

• And I didn’t experiment with anyAttribute– Just add anyAttribute to every NITF element?

© 2010 IPTC (www.iptc.org) All rights reserved 15

Page 16: IPTC NITF Maintenance June 2010

NITF 4.0 and IPTC’s G2

• G2 is a unified framework for packaging and exchanging news content

• Standard model for news metadata regardless of the content or media type

• However, NITF predates the G2 framework

• With work, NITF can join the G2 family, just like SportsML• The biggest change will be the inline adoption of QCodes

– Colon separated scheme:code syntax for controlled vocabularies

© 2010 IPTC (www.iptc.org) All rights reserved 16

Page 17: IPTC NITF Maintenance June 2010

Next Steps towards NITF 4.0

• Complete the foreign namespace work– Add anyAttribute– Publish a test document or two

• G2ization of NITF• Publish a test document or two

– Update the NITF documentation - a long-standing need• Could use the NITF chapter of the G2 guidelines• That chapter will need updating anyway

© 2010 IPTC (www.iptc.org) All rights reserved 17

Page 18: IPTC NITF Maintenance June 2010

NITF

Any other business?

Date and place of next meeting:

Rome, Italy – November 2010

Thanks!

© 2010 IPTC (www.iptc.org) All rights reserved 18