Presentation is loading. Please wait.

Presentation is loading. Please wait.

XMLNews IST 421 Spring 2004 From The XML Handbook by Goldfarb and Prescod, Prentice Hall PTR, 2001.

Similar presentations


Presentation on theme: "XMLNews IST 421 Spring 2004 From The XML Handbook by Goldfarb and Prescod, Prentice Hall PTR, 2001."— Presentation transcript:

1 XMLNews IST 421 Spring 2004 From The XML Handbook by Goldfarb and Prescod, Prentice Hall PTR, 2001.

2 XMLNews XML in the news with 2 standards:
XMLNews-Meta – defines metadata records for new objects Holds the metadata in a separate document Supports text stories, photos, audio or video, 3-D virtual worlds, and interactive scripts XMLNews-Story – defines the representation of news stories in XML Subset of News Industry Text Format (NIFT) standard

3 XMLNews-Story News Industry Text Format (NITF) standard developed by:
The International Press Telecommunications Council and The Newspaper Association of America

4 XMLNews-Story News story structure
Headline: “Kansas gets $5.7 Million Relief” Subheadline: “Money will help dislocated workers,” Byline: credits the author of the story Dateline: “Wichita, Kansas, May 6, 1999.” Body: actual news story or copy

5 XMLNews-Story Structure
head nitf body.head body body.content body.end

6 XMLNews-Story Structure
Root element type is nift Two subelements: head – contains non-print information about the document like title for cataloging purposes; may or may not be the same as headline body – body element is subdivided into 3 parts

7 XMLNews-Story Structure
body.head – contains the headline, subheadlines, byline, and dateline body.content – contains the actual story or copy body.end – contains the tagline or copyright or distribution notice that appears at the end of a story

8 XMLNews-Story <?xml version=“1.0” encoding=“UTF-8”?>
<!DOCTYPE nitf SYSTEM <nitf> </nitf>

9 XMLNews-Story Sample article
In addition, XMLNews-Story supports rich inline markup to improve the quality

10 XMLNews-Story Structure
There are 17 inline elements allowed in the body of a news story: chron – specific data and time copyrite event function location money num object.title

11 XMLNews-Story Structure
org person virtloc a br em lang pronounce q

12 XMLNews-Story Structure
Including these markup items makes story more valuable Perform intelligent indexing, filtering, cataloging, and searching Example: Generate an index of every person mentioned in a day’s news User could search for “Buffalo” the city without finding matches for “buffalo” the animal

13 XMLNews-Story Structure
Sample article 2


Download ppt "XMLNews IST 421 Spring 2004 From The XML Handbook by Goldfarb and Prescod, Prentice Hall PTR, 2001."

Similar presentations


Ads by Google