SlideShare una empresa de Scribd logo
1 de 29
Studio 4 XML and HTML Introduction to the Digital Liberal Arts MDST 3703 / 7703Fall 2010
Business Quiz 1 – next week (sorry!) Wanted to include WWW and HTML WordPress sites with missing plugins – working on this Ellie Stanton, Kathryn Corcoran, and Jonathan Guerra Questions about the new synthetic post system?
Overview Gentle introduction to XML and HTML Some historical background Exercise on using HTML in WordPress
What is text?
page o’ text Real world text comes packaged in documents
A document is a material artifact How is meaning conveyed in  a document?
What is text?
Visual Signifiers Small caps Indentation Alignment Italics Space All used to signify aspects of text
3 Levels: Text, Structure, Layout Text = characters, e.g.  /A/  Not to be confused with any particular representation Exists only as a category Structure = units, e.g. paragraphs, and other elements (e.g. titles, foreign words, etc.) Layout = size, color, space, shape, etc.
XML is a language to describe the structure of documents
So, how are docs structured?
Hierarchically … (theoretically)
XML looks like this
also in-line mark-up
Two kinds of elements Divisions – blocks of text Spans – inline elements spans don’t always nest
XML Stands for eXtensible Markup Language Actually invented after the web A simplification of SGML, the language used to create HTML HTML (now XHTML) is written in XML Based on some premises about what a document is …
XML Premises All documents are comprised of elements. Elements contain content. Elements have no layout. Elements are hierarchical. Elements are to be indicated by “markup” – tags that define the beginning and end of an element
XML Markup Rules All elements have a start tag and an end tag Start tags look like this: <stanza> End tags look like this: </stanza> Tags can have attributes <stanza type="tercina"> … </stanza>
XML Rules Tags cannot overlap <header> This is not <para>cool</header> at all.</para> Attributes must be quoted <stanza type=whoa>
XML is used everywhere HTML Embed codes TEI (Text Encoding Initiative) RSS Civilization IV Playlists (e.g. XSPF or “spiff”)
TEI Represents an alternative strand in the history of digital text Focused on recovering the past Core of “humanities computing” Tutorial:www.tei-c.org/Guidelines/Customization/Lite/U5-eg.html Resources for scholars:www.rilune.org/europelitteraire/database.htm
HTML
HTML Paragraphs = <p> … </p> Headers = <h1> … </h1> Images =  <imgsrc=“http://foo.com/img.gif”></img> Links = <a href=“http://foo.com/page.html”>Label of link</a> Other elements Lists, tables, etc. See http://www.w3schools.com/html/default.asp
Exercise: Create a WordPress post in HTML mode using content from the Web Start a new post in your blog. Put the editor in HTML mode. Go to the following URL and copy the text with your mouse http://hd.housedivided.dickinson.edu/node/1937 Paste the text into your editor Go through the text and mark up text for emphases Add at least one Block quote External link to an article illuminating the subject linked   Flip back and forth between Visual and HTML modes
WordPress Quirks Does not use paragraph tags Strips out advanced HTML (such as embed) Will accept things not listed in the toolbar

Más contenido relacionado

La actualidad más candente

Introduction to Ontology Engineering with Fluent Editor 2014
Introduction to Ontology Engineering with Fluent Editor 2014Introduction to Ontology Engineering with Fluent Editor 2014
Introduction to Ontology Engineering with Fluent Editor 2014Cognitum
 
Introduction to DTD
Introduction to DTDIntroduction to DTD
Introduction to DTDtorp42
 
Ontology engineering: Ontology alignment
Ontology engineering: Ontology alignmentOntology engineering: Ontology alignment
Ontology engineering: Ontology alignmentGuus Schreiber
 
Computer dictionaries and_parsing_ppt
Computer dictionaries and_parsing_pptComputer dictionaries and_parsing_ppt
Computer dictionaries and_parsing_pptSubramanianMuthusamy3
 
Annotating for Individual experiences
Annotating for Individual experiencesAnnotating for Individual experiences
Annotating for Individual experiencesliddy
 
Subject analysis, an introduction
Subject analysis, an introductionSubject analysis, an introduction
Subject analysis, an introductionRichard.Sapon-White
 
XML-Extensible Markup Language
XML-Extensible Markup Language XML-Extensible Markup Language
XML-Extensible Markup Language Ann Joseph
 
Eswc2012 ss ontologies
Eswc2012 ss ontologiesEswc2012 ss ontologies
Eswc2012 ss ontologiesElena Simperl
 
LIS 703 Subject Analysis by Malgorzata Kot
LIS 703 Subject Analysis by Malgorzata KotLIS 703 Subject Analysis by Malgorzata Kot
LIS 703 Subject Analysis by Malgorzata KotMalgorzataKot
 
Extensible Markup Language (XML)
Extensible Markup Language (XML)Extensible Markup Language (XML)
Extensible Markup Language (XML)AakankshaR
 

La actualidad más candente (14)

Introduction to Ontology Engineering with Fluent Editor 2014
Introduction to Ontology Engineering with Fluent Editor 2014Introduction to Ontology Engineering with Fluent Editor 2014
Introduction to Ontology Engineering with Fluent Editor 2014
 
Introduction to DTD
Introduction to DTDIntroduction to DTD
Introduction to DTD
 
Ontology matching
Ontology matchingOntology matching
Ontology matching
 
Demystifying RDF
Demystifying RDFDemystifying RDF
Demystifying RDF
 
About XML
About XMLAbout XML
About XML
 
Ontology engineering: Ontology alignment
Ontology engineering: Ontology alignmentOntology engineering: Ontology alignment
Ontology engineering: Ontology alignment
 
Computer dictionaries and_parsing_ppt
Computer dictionaries and_parsing_pptComputer dictionaries and_parsing_ppt
Computer dictionaries and_parsing_ppt
 
Annotating for Individual experiences
Annotating for Individual experiencesAnnotating for Individual experiences
Annotating for Individual experiences
 
Subject analysis, an introduction
Subject analysis, an introductionSubject analysis, an introduction
Subject analysis, an introduction
 
XML-Extensible Markup Language
XML-Extensible Markup Language XML-Extensible Markup Language
XML-Extensible Markup Language
 
Eswc2012 ss ontologies
Eswc2012 ss ontologiesEswc2012 ss ontologies
Eswc2012 ss ontologies
 
LIS 703 Subject Analysis by Malgorzata Kot
LIS 703 Subject Analysis by Malgorzata KotLIS 703 Subject Analysis by Malgorzata Kot
LIS 703 Subject Analysis by Malgorzata Kot
 
Extensible Markup Language (XML)
Extensible Markup Language (XML)Extensible Markup Language (XML)
Extensible Markup Language (XML)
 
Xml
XmlXml
Xml
 

Destacado

Mdst3559 2011-05-03-final-day
Mdst3559 2011-05-03-final-dayMdst3559 2011-05-03-final-day
Mdst3559 2011-05-03-final-dayRafael Alvarado
 
MDST 3703 F10 Seminar 12
MDST 3703 F10 Seminar 12MDST 3703 F10 Seminar 12
MDST 3703 F10 Seminar 12Rafael Alvarado
 
Mdst 3559-01-27-data-journalism-studio
Mdst 3559-01-27-data-journalism-studioMdst 3559-01-27-data-journalism-studio
Mdst 3559-01-27-data-journalism-studioRafael Alvarado
 
Mdst 3559-03-03-sql-php-2
Mdst 3559-03-03-sql-php-2Mdst 3559-03-03-sql-php-2
Mdst 3559-03-03-sql-php-2Rafael Alvarado
 
Mdst 3559-03-15-web-apps
Mdst 3559-03-15-web-appsMdst 3559-03-15-web-apps
Mdst 3559-03-15-web-appsRafael Alvarado
 
Mdst 3559-04-05-networks-and-graphs
Mdst 3559-04-05-networks-and-graphsMdst 3559-04-05-networks-and-graphs
Mdst 3559-04-05-networks-and-graphsRafael Alvarado
 
Mdst3703 2013-09-24-hypertext
Mdst3703 2013-09-24-hypertextMdst3703 2013-09-24-hypertext
Mdst3703 2013-09-24-hypertextRafael Alvarado
 

Destacado (18)

MDST 3703 F10 Studio 6
MDST 3703 F10 Studio 6MDST 3703 F10 Studio 6
MDST 3703 F10 Studio 6
 
MDST 3703 F10 Studio 11
MDST 3703 F10 Studio 11MDST 3703 F10 Studio 11
MDST 3703 F10 Studio 11
 
Mdst3559 2011-05-03-final-day
Mdst3559 2011-05-03-final-dayMdst3559 2011-05-03-final-day
Mdst3559 2011-05-03-final-day
 
MDST 3703 F10 Seminar 12
MDST 3703 F10 Seminar 12MDST 3703 F10 Seminar 12
MDST 3703 F10 Seminar 12
 
Mdst 3559-02-01-html
Mdst 3559-02-01-htmlMdst 3559-02-01-html
Mdst 3559-02-01-html
 
Mdst 3559-01-27-data-journalism-studio
Mdst 3559-01-27-data-journalism-studioMdst 3559-01-27-data-journalism-studio
Mdst 3559-01-27-data-journalism-studio
 
Mdst 3559-03-03-sql-php-2
Mdst 3559-03-03-sql-php-2Mdst 3559-03-03-sql-php-2
Mdst 3559-03-03-sql-php-2
 
Mdst 3559-01-20-intro
Mdst 3559-01-20-introMdst 3559-01-20-intro
Mdst 3559-01-20-intro
 
MDST 3703 F10 Studio 3
MDST 3703 F10 Studio 3MDST 3703 F10 Studio 3
MDST 3703 F10 Studio 3
 
MDST 3703 F10 Studio 1
MDST 3703 F10 Studio 1MDST 3703 F10 Studio 1
MDST 3703 F10 Studio 1
 
Mdst 3559-03-15-web-apps
Mdst 3559-03-15-web-appsMdst 3559-03-15-web-apps
Mdst 3559-03-15-web-apps
 
Mdst 3559-04-05-networks-and-graphs
Mdst 3559-04-05-networks-and-graphsMdst 3559-04-05-networks-and-graphs
Mdst 3559-04-05-networks-and-graphs
 
Mdst3703 2013-09-24-hypertext
Mdst3703 2013-09-24-hypertextMdst3703 2013-09-24-hypertext
Mdst3703 2013-09-24-hypertext
 
Mdst 3559-02-17-php2
Mdst 3559-02-17-php2Mdst 3559-02-17-php2
Mdst 3559-02-17-php2
 
MDST 3703 F10 Seminar 1
MDST 3703 F10 Seminar 1MDST 3703 F10 Seminar 1
MDST 3703 F10 Seminar 1
 
MDST 3703 F10 Seminar 3
MDST 3703 F10 Seminar 3MDST 3703 F10 Seminar 3
MDST 3703 F10 Seminar 3
 
Presentation1
Presentation1Presentation1
Presentation1
 
Mdst 3559-03-01-sql-php
Mdst 3559-03-01-sql-phpMdst 3559-03-01-sql-php
Mdst 3559-03-01-sql-php
 

Similar a MDST 3703 F10 Studio 4 (20)

Xml
XmlXml
Xml
 
Mdst3703 2013-09-17-text-models
Mdst3703 2013-09-17-text-modelsMdst3703 2013-09-17-text-models
Mdst3703 2013-09-17-text-models
 
Ch2 neworder
Ch2 neworderCh2 neworder
Ch2 neworder
 
Mdst 3559-02-01-html
Mdst 3559-02-01-htmlMdst 3559-02-01-html
Mdst 3559-02-01-html
 
CIS-189 Final Review
CIS-189 Final ReviewCIS-189 Final Review
CIS-189 Final Review
 
Xml and Co.
Xml and Co.Xml and Co.
Xml and Co.
 
Intro XML for archivists (2011)
Intro XML for archivists (2011)Intro XML for archivists (2011)
Intro XML for archivists (2011)
 
Xml
XmlXml
Xml
 
chapter 4 web authoring unit 4 xml.pptx
chapter 4 web authoring  unit 4 xml.pptxchapter 4 web authoring  unit 4 xml.pptx
chapter 4 web authoring unit 4 xml.pptx
 
Basic xml syntax
Basic xml syntaxBasic xml syntax
Basic xml syntax
 
Xml 1
Xml 1Xml 1
Xml 1
 
Unit 5 xml (1)
Unit 5   xml (1)Unit 5   xml (1)
Unit 5 xml (1)
 
Xml iet 2015
Xml iet 2015Xml iet 2015
Xml iet 2015
 
Xml Overview
Xml OverviewXml Overview
Xml Overview
 
Xml
XmlXml
Xml
 
XML and Localization
XML and LocalizationXML and Localization
XML and Localization
 
XPath Introduction
XPath IntroductionXPath Introduction
XPath Introduction
 
Xml
XmlXml
Xml
 
XML
XMLXML
XML
 
Xml
XmlXml
Xml
 

Más de Rafael Alvarado

Mdst3703 2013-10-08-thematic-research-collections
Mdst3703 2013-10-08-thematic-research-collectionsMdst3703 2013-10-08-thematic-research-collections
Mdst3703 2013-10-08-thematic-research-collectionsRafael Alvarado
 
Mdst3703 2013-10-01-hypertext-and-history
Mdst3703 2013-10-01-hypertext-and-historyMdst3703 2013-10-01-hypertext-and-history
Mdst3703 2013-10-01-hypertext-and-historyRafael Alvarado
 
Mdst3703 2013-09-12-semantic-html
Mdst3703 2013-09-12-semantic-htmlMdst3703 2013-09-12-semantic-html
Mdst3703 2013-09-12-semantic-htmlRafael Alvarado
 
Mdst3703 2013-09-10-textual-signals
Mdst3703 2013-09-10-textual-signalsMdst3703 2013-09-10-textual-signals
Mdst3703 2013-09-10-textual-signalsRafael Alvarado
 
Mdst3703 2013-09-05-studio2
Mdst3703 2013-09-05-studio2Mdst3703 2013-09-05-studio2
Mdst3703 2013-09-05-studio2Rafael Alvarado
 
Mdst3703 2013-09-03-plato2
Mdst3703 2013-09-03-plato2Mdst3703 2013-09-03-plato2
Mdst3703 2013-09-03-plato2Rafael Alvarado
 
Mdst3703 2013-08-29-hello-world
Mdst3703 2013-08-29-hello-worldMdst3703 2013-08-29-hello-world
Mdst3703 2013-08-29-hello-worldRafael Alvarado
 
UVA MDST 3703 2013 08-27 Introduction
UVA MDST 3703 2013 08-27 IntroductionUVA MDST 3703 2013 08-27 Introduction
UVA MDST 3703 2013 08-27 IntroductionRafael Alvarado
 
MDST 3705 2012-03-05 Databases to Visualization
MDST 3705 2012-03-05 Databases to VisualizationMDST 3705 2012-03-05 Databases to Visualization
MDST 3705 2012-03-05 Databases to VisualizationRafael Alvarado
 
Mdst3705 2013-02-26-db-as-genre
Mdst3705 2013-02-26-db-as-genreMdst3705 2013-02-26-db-as-genre
Mdst3705 2013-02-26-db-as-genreRafael Alvarado
 
Mdst3705 2013-02-19-text-into-data
Mdst3705 2013-02-19-text-into-dataMdst3705 2013-02-19-text-into-data
Mdst3705 2013-02-19-text-into-dataRafael Alvarado
 
Mdst3705 2013-02-12-finding-data
Mdst3705 2013-02-12-finding-dataMdst3705 2013-02-12-finding-data
Mdst3705 2013-02-12-finding-dataRafael Alvarado
 
Mdst3705 2013-02-05-databases
Mdst3705 2013-02-05-databasesMdst3705 2013-02-05-databases
Mdst3705 2013-02-05-databasesRafael Alvarado
 
Mdst3705 2013-01-29-praxis
Mdst3705 2013-01-29-praxisMdst3705 2013-01-29-praxis
Mdst3705 2013-01-29-praxisRafael Alvarado
 
Mdst3705 2013-01-31-php3
Mdst3705 2013-01-31-php3Mdst3705 2013-01-31-php3
Mdst3705 2013-01-31-php3Rafael Alvarado
 
Mdst3705 2012-01-22-code-as-language
Mdst3705 2012-01-22-code-as-languageMdst3705 2012-01-22-code-as-language
Mdst3705 2012-01-22-code-as-languageRafael Alvarado
 
Mdst3705 2013-01-24-php2
Mdst3705 2013-01-24-php2Mdst3705 2013-01-24-php2
Mdst3705 2013-01-24-php2Rafael Alvarado
 
Mdst3705 2012-01-15-introduction
Mdst3705 2012-01-15-introductionMdst3705 2012-01-15-introduction
Mdst3705 2012-01-15-introductionRafael Alvarado
 
Mdst3703 graph-theory-11-20-2012
Mdst3703 graph-theory-11-20-2012Mdst3703 graph-theory-11-20-2012
Mdst3703 graph-theory-11-20-2012Rafael Alvarado
 
Mdst3703 maps-and-timelines-2012-11-13
Mdst3703 maps-and-timelines-2012-11-13Mdst3703 maps-and-timelines-2012-11-13
Mdst3703 maps-and-timelines-2012-11-13Rafael Alvarado
 

Más de Rafael Alvarado (20)

Mdst3703 2013-10-08-thematic-research-collections
Mdst3703 2013-10-08-thematic-research-collectionsMdst3703 2013-10-08-thematic-research-collections
Mdst3703 2013-10-08-thematic-research-collections
 
Mdst3703 2013-10-01-hypertext-and-history
Mdst3703 2013-10-01-hypertext-and-historyMdst3703 2013-10-01-hypertext-and-history
Mdst3703 2013-10-01-hypertext-and-history
 
Mdst3703 2013-09-12-semantic-html
Mdst3703 2013-09-12-semantic-htmlMdst3703 2013-09-12-semantic-html
Mdst3703 2013-09-12-semantic-html
 
Mdst3703 2013-09-10-textual-signals
Mdst3703 2013-09-10-textual-signalsMdst3703 2013-09-10-textual-signals
Mdst3703 2013-09-10-textual-signals
 
Mdst3703 2013-09-05-studio2
Mdst3703 2013-09-05-studio2Mdst3703 2013-09-05-studio2
Mdst3703 2013-09-05-studio2
 
Mdst3703 2013-09-03-plato2
Mdst3703 2013-09-03-plato2Mdst3703 2013-09-03-plato2
Mdst3703 2013-09-03-plato2
 
Mdst3703 2013-08-29-hello-world
Mdst3703 2013-08-29-hello-worldMdst3703 2013-08-29-hello-world
Mdst3703 2013-08-29-hello-world
 
UVA MDST 3703 2013 08-27 Introduction
UVA MDST 3703 2013 08-27 IntroductionUVA MDST 3703 2013 08-27 Introduction
UVA MDST 3703 2013 08-27 Introduction
 
MDST 3705 2012-03-05 Databases to Visualization
MDST 3705 2012-03-05 Databases to VisualizationMDST 3705 2012-03-05 Databases to Visualization
MDST 3705 2012-03-05 Databases to Visualization
 
Mdst3705 2013-02-26-db-as-genre
Mdst3705 2013-02-26-db-as-genreMdst3705 2013-02-26-db-as-genre
Mdst3705 2013-02-26-db-as-genre
 
Mdst3705 2013-02-19-text-into-data
Mdst3705 2013-02-19-text-into-dataMdst3705 2013-02-19-text-into-data
Mdst3705 2013-02-19-text-into-data
 
Mdst3705 2013-02-12-finding-data
Mdst3705 2013-02-12-finding-dataMdst3705 2013-02-12-finding-data
Mdst3705 2013-02-12-finding-data
 
Mdst3705 2013-02-05-databases
Mdst3705 2013-02-05-databasesMdst3705 2013-02-05-databases
Mdst3705 2013-02-05-databases
 
Mdst3705 2013-01-29-praxis
Mdst3705 2013-01-29-praxisMdst3705 2013-01-29-praxis
Mdst3705 2013-01-29-praxis
 
Mdst3705 2013-01-31-php3
Mdst3705 2013-01-31-php3Mdst3705 2013-01-31-php3
Mdst3705 2013-01-31-php3
 
Mdst3705 2012-01-22-code-as-language
Mdst3705 2012-01-22-code-as-languageMdst3705 2012-01-22-code-as-language
Mdst3705 2012-01-22-code-as-language
 
Mdst3705 2013-01-24-php2
Mdst3705 2013-01-24-php2Mdst3705 2013-01-24-php2
Mdst3705 2013-01-24-php2
 
Mdst3705 2012-01-15-introduction
Mdst3705 2012-01-15-introductionMdst3705 2012-01-15-introduction
Mdst3705 2012-01-15-introduction
 
Mdst3703 graph-theory-11-20-2012
Mdst3703 graph-theory-11-20-2012Mdst3703 graph-theory-11-20-2012
Mdst3703 graph-theory-11-20-2012
 
Mdst3703 maps-and-timelines-2012-11-13
Mdst3703 maps-and-timelines-2012-11-13Mdst3703 maps-and-timelines-2012-11-13
Mdst3703 maps-and-timelines-2012-11-13
 

MDST 3703 F10 Studio 4

  • 1. Studio 4 XML and HTML Introduction to the Digital Liberal Arts MDST 3703 / 7703Fall 2010
  • 2. Business Quiz 1 – next week (sorry!) Wanted to include WWW and HTML WordPress sites with missing plugins – working on this Ellie Stanton, Kathryn Corcoran, and Jonathan Guerra Questions about the new synthetic post system?
  • 3. Overview Gentle introduction to XML and HTML Some historical background Exercise on using HTML in WordPress
  • 5. page o’ text Real world text comes packaged in documents
  • 6. A document is a material artifact How is meaning conveyed in a document?
  • 7.
  • 9. Visual Signifiers Small caps Indentation Alignment Italics Space All used to signify aspects of text
  • 10. 3 Levels: Text, Structure, Layout Text = characters, e.g. /A/ Not to be confused with any particular representation Exists only as a category Structure = units, e.g. paragraphs, and other elements (e.g. titles, foreign words, etc.) Layout = size, color, space, shape, etc.
  • 11. XML is a language to describe the structure of documents
  • 12. So, how are docs structured?
  • 16. Two kinds of elements Divisions – blocks of text Spans – inline elements spans don’t always nest
  • 17. XML Stands for eXtensible Markup Language Actually invented after the web A simplification of SGML, the language used to create HTML HTML (now XHTML) is written in XML Based on some premises about what a document is …
  • 18.
  • 19. XML Premises All documents are comprised of elements. Elements contain content. Elements have no layout. Elements are hierarchical. Elements are to be indicated by “markup” – tags that define the beginning and end of an element
  • 20. XML Markup Rules All elements have a start tag and an end tag Start tags look like this: <stanza> End tags look like this: </stanza> Tags can have attributes <stanza type="tercina"> … </stanza>
  • 21. XML Rules Tags cannot overlap <header> This is not <para>cool</header> at all.</para> Attributes must be quoted <stanza type=whoa>
  • 22. XML is used everywhere HTML Embed codes TEI (Text Encoding Initiative) RSS Civilization IV Playlists (e.g. XSPF or “spiff”)
  • 23. TEI Represents an alternative strand in the history of digital text Focused on recovering the past Core of “humanities computing” Tutorial:www.tei-c.org/Guidelines/Customization/Lite/U5-eg.html Resources for scholars:www.rilune.org/europelitteraire/database.htm
  • 24. HTML
  • 25. HTML Paragraphs = <p> … </p> Headers = <h1> … </h1> Images = <imgsrc=“http://foo.com/img.gif”></img> Links = <a href=“http://foo.com/page.html”>Label of link</a> Other elements Lists, tables, etc. See http://www.w3schools.com/html/default.asp
  • 26. Exercise: Create a WordPress post in HTML mode using content from the Web Start a new post in your blog. Put the editor in HTML mode. Go to the following URL and copy the text with your mouse http://hd.housedivided.dickinson.edu/node/1937 Paste the text into your editor Go through the text and mark up text for emphases Add at least one Block quote External link to an article illuminating the subject linked Flip back and forth between Visual and HTML modes
  • 27.
  • 28.
  • 29. WordPress Quirks Does not use paragraph tags Strips out advanced HTML (such as embed) Will accept things not listed in the toolbar

Notas del editor

  1. Ask Ellie Stanton, Kathryn Corcoran, and Jonathan Guerra
  2. (theoretically)