LBSC 690 Session #5 Metadata and XML Jimmy Lin The iSchool University of Maryland Wednesday, October 1, 2008 This work is licensed under a Creative Commons.

Slides:



Advertisements
Similar presentations
CSCI N241: Fundamentals of Web Design Copyright ©2004 Department of Computer & Information Science Introducing XHTML: Module B: HTML to XHTML.
Advertisements

Web Development & Design Foundations with XHTML
Dr. Alexandra I. Cristea XHTML.
Developing a Metadata Exchange Format for Mathematical Literature David Ruddy Project Euclid Cornell University Library DML 2010 Paris 7 July 2010.
1 LBSC 690 Metadata, Structured Documents, and XML.
1 Introduction to XML. XML eXtensible implies that users define tag content Markup implies it is a coded document Language implies it is a metalanguage.
© Tefko Saracevic, Rutgers University1 metadata considerations for digital libraries.
Extensible Markup Language (XML). Why XML? XML's set of tools allows developers to create web pages - and much more. XML allows developers to set standards.
LBSC 690: Session 5 Metadata and XML Jimmy Lin College of Information Studies University of Maryland Monday, October 8, 2007.
F DIGITAL MEDIA: COMMUNICATION AND DESIGN INTRODUCTION TO XML AND XHTML.
1 Metadata, Structured Documents, and XML. 2 Metadata Literally “data about data” –“a set of data that describes and gives information about other data”
An Introduction to XML: The eXtensible Markup Language Manitoba Library Associations Conference 2000 Ian Graham, Session T4, 11 May, 2000.
XML Introduction What is XML –XML is the eXtensible Markup Language –Became a W3C Recommendation in 1998 –Tag-based syntax, like HTML –You get to make.
Upgrading to XHTML DECO 3001 Tutorial 1 – Part 1 Presented by Ji Soo Yoon 19 February 2004 Slides adopted from
Introduction to XML Extensible Markup Language Carol Wolf Computer Science Department.
W3C Activities HTML: is the lingua franca for publishing on the Web XHTML: an XML application with a clean migration path from HTML 4.01 CSS: Style sheets.
Introducing XHTML: Module B: HTML to XHTML. Goals Understand how XHTML evolved as a language for Web delivery Understand the importance of DTDs Understand.
RSS RSS is a method that uses XML to distribute web content on one web site, to many other web sites. RSS allows fast browsing for news and updates.
Introducing HTML & XHTML:. Goals  Understand hyperlinking  Understand how tags are formed and used.  Understand HTML as a markup language  Understand.
CNIT 133 Interactive Web Pags – JavaScript and AJAX Review HTML5.
Chapter 1 Internet & Web Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D. 1.
Creating Web Pages with HTML
1 HTML/XHTML Objectives Explain what HTML is and how Web pages use HTML Explain what HTML is and how Web pages use HTML Demonstrate how to create Web pages.
HTML & XHTML Introduction. First HTML 1992 Marked-up text to represent a hypertext document for transmission over the network The hypertext mark-up language.
XML at Work John Arnett, MSc Standards Modeller Information and Statistics Division NHSScotland Tel: (x2073)
Content Management Systems Week 5 LBSC 690 Information Technology.
XML, HTML and All That What do they Mean, and Why Should you Care? Ian GRAHAM Centre for Academic Technology Tel: Talk:
Chapter 1 Internet & Web Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D. Revised 1/12/2015 by William Pegram 1.
1Computer Sciences Department Princess Nourah bint Abdulrahman University.
An XML Introduction Extensible Markup Language Describe Structure and Content of Data Sample XML Document.
XML The Overview. Three Key Questions What is XML? What Problems does it solve? Where and how is it used?
XML Week 6 INFM 603. Agenda Questions Events in JavaScript XML Speed dating.
Chapter 1 XHTML: Part I The Web Warrior Guide to Web Design Technologies.
3 XHTML.
XHTML. Introduction to XHTML What Is XHTML? – XHTML stands for EXtensible HyperText Markup Language – XHTML is almost identical to HTML 4.01 – XHTML is.
XML Extensible Markup Language. What is XML? An infrastructure for describing text and data Developed by W3C(the World Wide Web Consortium)
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
Introduction to World Wide Web Authoring © Directorate of Information Systems and Services University of Aberdeen, 1999 IT Training Workshop.
XML eXtensible Markup Language. Topics  What is XML  An XML example  Why is XML important  XML introduction  XML applications  XML support CSEB.
1 John Magee 9 November 2012 CS120 Lecture 17: The World Wide Web and HTML Web Publishing.
CA Professional Web Site Development Class 2: Anatomy of a Web Site and Web Page & Intro to HTML.
XHTML 1.1  Derived from Standard Generalized Markup Language (SGML) of ISO  XHTML concerned primary with content rather than presentation and style 
XML, HTML and All That What do they Mean, and Why are they Important? Ian GRAHAM Centre for Academic Technology Tel: Talk:
WEB APPLICATION DEVELOPMENT For More visit:
Web Development & Design Foundations with XHTML Chapter 2 HTML/XHTML Basics.
1 XML and RDF Paul Miller Interoperability Focus UK Office for Library & Information Networking (U KOLN ) U.
XML for Text Markup An introduction to XML markup.
XML Basics A brief introduction to XML in general 1XML Basics.
An XML Introduction Next Generation Web Data Ian GRAHAM Centre for Academic Technology Tel: Talk:
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 2 Key Concepts 1 Copyright © Terry Felke-Morris.
Web Application Programming Presented by: Mehwish Shafiq.
The Web Wizard’s Guide to HTML Chapter One World Wide Web Basics.
COMP9321 Web Application Engineering Semester 2, 2015 Dr. Amin Beheshti Service Oriented Computing Group, CSE, UNSW Australia Week 4 1COMP9321, 15s2, Week.
Metadata : an overview XML and Educational Metadata, SBU, London, 10 July 2001 Pete Johnston UKOLN, University of Bath Bath, BA2 7AY UKOLN is supported.
Copyright © 2003 Pearson Education, Inc. Slide 1-1 Created by Cheryl M. Hughes The Web Wizard’s Guide to XHTML by Cheryl M. Hughes.
XML CSC1310 Fall HTML (TIM BERNERS-LEE) HyperText Markup Language  HTML (HyperText Markup Language): December  Markup  Markup is a symbol.
XML The Extensible Markup Language (XML ), which is comparable to SGML and modeled on it, describes how to describe a collection of data. A standard way.
©Silberschatz, Korth and Sudarshan10.1Database System Concepts W3C - The World Wide Web Consortium W3C - The World Wide Web Consortium.
The Semantic Web. What is the Semantic Web? The Semantic Web is an extension of the current Web in which information is given well-defined meaning, enabling.
Basic HTML Document Structure. Slide 2 Goals (XHTML HTML5) XHTML Separate document structure and content from document formatting HTML 5 Create a formal.
Module Road Map Assignment Road Map Notice we have linked the conduit directly to the presentation layer. This is normally a bad idea!
XML The Overview. Three Key Questions What is XML? What Problems does it solve? Where and how is it used?
XML BASICS and more…. What is XML? In common:  XML is a standard, simple, self-describing way of encoding both text and data so that content can be processed.
Introduction to XHTML.
Session I - Introduction
Session I - Introduction
Introduction to HTML 5.
XML and RDF Paul Miller Interoperability Focus
Introduction to HTML 5.
An Introduction to HTML Pages
Presentation transcript:

LBSC 690 Session #5 Metadata and XML Jimmy Lin The iSchool University of Maryland Wednesday, October 1, 2008 This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States See for details

The iSchool University of Maryland Take-Away Messages Metadata makes data useful XML is a way to encode data and metadata XML allows computers to exchange information in new and interesting ways

Who? What? When? Where? Why? How?

Metadata (literally “data about data”) “a set of data that describes and gives information about other data” ― Oxford English Dictionary

The iSchool University of Maryland What is the Dublin Core? A metadata standard for describing digital resources An initiative to create a “library card catalog” for the Web Dublin Core fields: TitleCreatorSubject DescriptionPublisherContributor DateTypeFormat IdentifierSourceLanguage Relation Coverage Rights

Source:

The iSchool University of Maryland Encoding Metadata Language for encoding metadata should be: Universal - so all can understand Flexible - to incorporate different types Extensible - flexible to custom types Simple - to encourage adoption Modular - so that schemes can be mixed, extended From: Ian Graham, An Introduction to RDF.

How do we encode metadata? To support interoperability?

January 31, janvier

The iSchool University of Maryland What is XML? XML = eXtensible Markup Language XML is a standard for exchanging structured data Provides standardization at the syntactic level Does not provide “meaning” for the tags XML is a standard recommended by the W3C

The iSchool University of Maryland Goals of XML Easy to use Easy to extend and adapt Easy to write programs that use XML Support a wide variety of applications Should be human legible Formal and concise

The iSchool University of Maryland The Basic Rules XML is case sensitive All start tags must have end tags Elements must be properly nested XML declaration is the first statement Every document must contain a root element Attribute values must have quotation marks Certain characters are reserved for parsing < = ‘<’

<rdf:RDF xmlns:rdf=" xmlns:dc=" Rose Bush A Guide to Growing Roses Describes process for planting and nurturing different kinds of rose bushes Source:

What does XML actually do? (NOTHING)

Syntax vs. Semantics (We’ll come back to this later…)

How is XML like HTML? How is HTML like XML?

The iSchool University of Maryland XML: Historic Perspective HTML and the birth of the Web HTML is not enough Development of XML The next few slides are adapted from presentations by Ian Graham:

The iSchool University of Maryland In the beginning… HTML (data/display) Internet communication protocols NewsFTP Web Server HTTP (transfer) Databases and Other “backends” URLs (location e.g., The foundations of the Web: HTML HTTP URLs

The iSchool University of Maryland Three Core Technologies HTTP - HyperText Transfer Protocol A protocol for transferring data between machines on the Internet URL - Uniform Resource Locator A scheme for referencing the specific location of a resource HTML - HyperText Markup Language A markup language for encoding information to be read by humans HTTP and URLs have pretty-well stood the test of time. But by 1996, HTML was already showing signs of age....

The iSchool University of Maryland HTML Started with very few tags … Language evolved as more tags were added: Forms Tables Fonts Frames …

The iSchool University of Maryland Problems with HTML I want personalized tags HTML can’t be extended I want to incorporate other types of data Mathematics, database entries, literary text, poems, purchase orders … HTML can’t accommodate other types of data I want to process pages automatically with software HTML is too messy and inconsistent

The iSchool University of Maryland Back to Basics HTML was defined using SGML Standard Generalized Markup Language A meta-language for defining languages Complex, sophisticated, powerful … too difficult to use Idea: create a simpler version of SGML The birth of XML!

The iSchool University of Maryland XML Languages XML can be used to define other languages Many XML languages, optimized for different roles XHTML: HTML by XML rules MathML: for mathematics SMIL: for synchronized multimedia RSS: for news feeds …

The iSchool University of Maryland XHTML: Cleaning up HTML Title of text XHTML Document Heading of Page here is a paragraph of text. I will include inside this paragraph a bunch of wonky text so that it looks fancy. Here is another paragraph with inline emphasized text, and absolutely no sense of humor. And another paragraph, this one with an <img src="image.gif" alt="waste of time" /> image, and a line break.

The iSchool University of Maryland MathML An XML language for defining mathematic formulas x 2 + 4x + 4 =0 x &InvisibleTimes; x + 4 = 0 See

The iSchool University of Maryland SMIL Synchronized Multimedia Integration Language Integration of multimedia with text, audio, video Support in RealPlayer See demo linked from syllabus

The iSchool University of Maryland RSS RSS = Really Simple Syndication or Rich Site Summary An XML format for distributing news headlines on the Web See example at

The iSchool University of Maryland And Others… CML – chemical Markup Lang CellML – biological models BSML – bioinformatic sequences MAGE-ML – Microarray Gene Expression XSTAR – for archaeological research MARCXML – MARC in XML AML – astronomy markup language SportsML – for sharing sports data List goes on and on and on…

The iSchool University of Maryland The XML Family Tree SGML XML HTMLTEI... XHTML SMIL MathML SpeechML RDF XUL

The iSchool University of Maryland Mixing XML Dialects XML is designed to support the integration of multiple standards Allows users to mix elements from different standards Snapping together XML dialects like Lego pieces Based on the notion of “namespaces”

The iSchool University of Maryland Example <rdf:RDF xmlns:rdf=" xmlns:rss=" xmlns:dc=" XML.com XML.com features a rich mix of information and services for the XML community. XML, RDF, metadata, information syndication services O'Reilly & Associates, Inc. Copyright 2000, O'Reilly & Associates, Inc. Source:

The iSchool University of Maryland Another Example Title of XHTML Document Heading of Page … MathML markup … more html stuff goes here … SMIL markup … See demo linked from syllabus

The iSchool University of Maryland Take-Away Messages Metadata makes data useful XML is a way to encode data and metadata XML allows computers to exchange information in new and interesting ways

The iSchool University of Maryland Interoperability What does it mean and what’s the role of XML? XML as a universal format for data interchange Software exchange data as XML-format messages Advantages? Eliminates proprietary data formats Promotes interoperability Encourages cooperation Leverages lots of existing XML processing software The next few slides are adapted from presentations by Ian Graham:

The iSchool University of Maryland XML Messaging Factory Supplier Place order Response Supplier

The iSchool University of Maryland XML Messaging Database Send/request data Request/send data Database

What’s in it for me?

Evolution of Software: Desktop Applications Web Forms Rich Web Applications

Web 2.0 Mashups

Syntax vs. Semantics How does meaning “come about”?

The iSchool University of Maryland Take-Away Messages Metadata makes data useful XML is a way to encode data and metadata XML allows computers to exchange information in new and interesting ways