Your SlideShare is downloading. ×
Markup As An Api
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Introducing the official SlideShare app

Stunning, full-screen experience for iPhone and Android

Text the download link to your phone

Standard text messaging rates apply

Markup As An Api

1,733
views

Published on

Markup As An API, "publish once, publish anywhere". Looking for data portability.

Markup As An API, "publish once, publish anywhere". Looking for data portability.

Published in: Technology, Education

0 Comments
4 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,733
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
57
Comments
0
Likes
4
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. MAAA! Markup as an API “Publish once, publish anywhere” Jean-Jacques Halans
  • 2. World Wide Web • HTML • describes documents • the links between documents
  • 3. World Wide Web • Read • Print • Bookmark (tag) • Copy/paste
  • 4. World Wide Web • Screen scraping • breaks easily • no meta information
  • 5. World Wide Web • XML • price aggregators • product queries • WebServices, SOAP, WSDL • RPC, SOA • REST • http://flickr.com/photos/tags/penguin • http://api.flickr.com/services/rest/? method=flickr.photos.search&tags=pengiun
  • 6. World Wide Web • New formats for sharing: • RSS, Atom • duplication
  • 7. Web Standards • Web Standards Project (WaSP) • Web Standards Group • promotion of standards • separation of content, styling and behavior • semantic HTML
  • 8. Semantic Web • Knowledge representation (CS, AI) • Resource Description Framework (RDF) • general method of modeling information • making statements about resources • triples: subject-predicate-object expressions • JJ - IsBornIn - Belgium
  • 9. Semantic Web • Web Ontology Language (OWL) • greater machine interpretability of Web content • provides additional vocabulary + a formal semantics
  • 10. Semantic Web • Problem • not much RDF data online yet; • up-to-date terms, ontologies missing for many application domains; • academic • time-consuming.
  • 11. Semantic Web • eRDF (‘embedded’) • FOAF • RDFa (‘attributes’)
  • 12. RDFa example <p xmlns:dc=quot;http://purl.org/dc/elements/1.1/quot; about=quot;http://www.example.com/books/wikinomicsquot;> In his latest book <em property=quot;dc:titlequot;>Wikinomics</em>, <span property=quot;dc:authorquot;>Don Tapscott</span> explains deep changes in technology, demographics and business. The book is due to be published in span>. property=quot;dc:datequot; content=quot;2006-10-01quot;>October 2006</ <span </p>
  • 13. Semantic HTML • Correct use of • heading levels and paragraphs to introduce structure; • tables — tabular data; • blockquotes.
  • 14. Rich semantics • Standardization of Microformats; • Small pieces of metadata within the markup: rich semantics; • Discovered, interpreted by machines.
  • 15. More CSS • CSS Signatures <body id=”www-halans-be”> • CSS naming conventions • ‘header,’ ‘footer’, ‘navigation’
  • 16. HTML5 • New tags • <section> • <header> • <footer> • <address> • ...
  • 17. Structured Blogging • “giving bloggers the tools to create and syndicate structured information, such as reviews and events.” • structuredbloggin.org
  • 18. HInclude • HInclude • include bits of HTML, using the browser • http://www.mnot.net/javascript/hinclude/ <html xmlns:hx=quot;http://purl.org/NET/hincludequot;> <head> <script src=quot;/lib/hinclude.jsquot; type=quot;text/javascriptquot;></script> <hx:include src=quot;/other/document/here.htmlquot;></hx:include>
  • 19. Purple-Include • Purple-Include • “a client-side JavaScript library that allows you to do client-side transclusions” • URL + XPath, or fragment identifier • <hx:include src=quot;http://foo.com/purple.html#nid32quot; /> • http://blueoxen.net/c/purple/purple-include/
  • 20. Discussion • Publish once, publish everywhere • Other tools? • Copyright • Security • ...