welcome to the machine: making digital library collections...

31
Welcome to the Machine: Making digital library collections findable by people and bots using SEO, schema.org, and HTML5 microdata Scott Young and Jason Clark Montana State University Library

Upload: others

Post on 28-Jun-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Welcome to the Machine: Making digital library collections ...jason/talks/amigos2013-html5-microdata.pdfWelcome to the Machine: Making digital library collections findable by people

Welcome to the Machine: Making digital library collections

findable by people and bots using SEO, schema.org, and HTML5

microdata

Scott Young and Jason Clark Montana State University Library

Page 2: Welcome to the Machine: Making digital library collections ...jason/talks/amigos2013-html5-microdata.pdfWelcome to the Machine: Making digital library collections findable by people

#html5css3  

http://pinboard.in/u:jasonclark/t:html5-amigos/

Page 3: Welcome to the Machine: Making digital library collections ...jason/talks/amigos2013-html5-microdata.pdfWelcome to the Machine: Making digital library collections findable by people

Overview

•  What is microdata?

•  Classification vocabularies (schema.org)

•  Microdata and search engine optimization

•  Tools for microdata

Page 4: Welcome to the Machine: Making digital library collections ...jason/talks/amigos2013-html5-microdata.pdfWelcome to the Machine: Making digital library collections findable by people

BM  (Before  Microdata)  

Page 5: Welcome to the Machine: Making digital library collections ...jason/talks/amigos2013-html5-microdata.pdfWelcome to the Machine: Making digital library collections findable by people

AM  (A7er  Microdata)  

Page 6: Welcome to the Machine: Making digital library collections ...jason/talks/amigos2013-html5-microdata.pdfWelcome to the Machine: Making digital library collections findable by people

<dl> <dt>Title</dt> <dd>A River Runs Through It and Other Stories</dd> <dt>Author</dt> <dd>Norman Maclean</dd> <dt>Publication date</dt> <dd>October 1, 2001</dd> <dt>ID</dt> <dd>0226500667</dd> </dl>

Page 7: Welcome to the Machine: Making digital library collections ...jason/talks/amigos2013-html5-microdata.pdfWelcome to the Machine: Making digital library collections findable by people

Microdata introduces classification & metadata

Microdata helps machine-readers and search engines understand your site's content

Page 8: Welcome to the Machine: Making digital library collections ...jason/talks/amigos2013-html5-microdata.pdfWelcome to the Machine: Making digital library collections findable by people

<dl itemscope itemtype="http://schema.org/Book"> <dt>Title</dt> <dd itemprop="title">A River Runs Through It and Other Stories</dd> <dt>Author</dt> <dd itemprop="author">Norman Maclean</dd> <dt>Publication date</dt> <dd itemprop="pubdate">October 1, 2001</dd> <dt>ID</dt> <dd itemprop="isbn">0226500667</dd> </dl>

Page 9: Welcome to the Machine: Making digital library collections ...jason/talks/amigos2013-html5-microdata.pdfWelcome to the Machine: Making digital library collections findable by people

Schema.org

A lingua franca for web classification and markup

Google, Bing, Yahoo

Page 10: Welcome to the Machine: Making digital library collections ...jason/talks/amigos2013-html5-microdata.pdfWelcome to the Machine: Making digital library collections findable by people

Why Microdata?

The Semantic Web

Page 11: Welcome to the Machine: Making digital library collections ...jason/talks/amigos2013-html5-microdata.pdfWelcome to the Machine: Making digital library collections findable by people

Why Microdata?

An evolution of semantic components

Microformats RDFa

Page 12: Welcome to the Machine: Making digital library collections ...jason/talks/amigos2013-html5-microdata.pdfWelcome to the Machine: Making digital library collections findable by people

Why Microdata?

Refocuses visible HTML                            How  can  machine-­‐readable  and  human-­‐readable  markup  work  together?  

Page 13: Welcome to the Machine: Making digital library collections ...jason/talks/amigos2013-html5-microdata.pdfWelcome to the Machine: Making digital library collections findable by people

Why Microdata?

Rich Snippets

https://sites.google.com/site/webmasterhelpforum/en/faq-rich-snippets

Page 14: Welcome to the Machine: Making digital library collections ...jason/talks/amigos2013-html5-microdata.pdfWelcome to the Machine: Making digital library collections findable by people

Why Microdata?

Search Results Display

Page 15: Welcome to the Machine: Making digital library collections ...jason/talks/amigos2013-html5-microdata.pdfWelcome to the Machine: Making digital library collections findable by people
Page 16: Welcome to the Machine: Making digital library collections ...jason/talks/amigos2013-html5-microdata.pdfWelcome to the Machine: Making digital library collections findable by people

Why Microdata?

Your Website is your API

Using the microdata DOM API

Page 17: Welcome to the Machine: Making digital library collections ...jason/talks/amigos2013-html5-microdata.pdfWelcome to the Machine: Making digital library collections findable by people

window.addEventListener('load', function() { var photo = document.getItems('http://schema.org/Photograph')[0]; console.log('photo.properties Name: ' + photo.properties['name'][0].textContent); function supports_microdata_api() { return !!document.getItems; } console.log(supports_microdata_api()); });

Page 18: Welcome to the Machine: Making digital library collections ...jason/talks/amigos2013-html5-microdata.pdfWelcome to the Machine: Making digital library collections findable by people

                                           Microdata  in  the  Wild  

                                     YouTube  Markup    view-­‐source:  www.youtube.com/watch?v=s1EGXkQtgTE&list=UUtkGqJEVc21-­‐Coie-­‐4kS7EA  

Page 19: Welcome to the Machine: Making digital library collections ...jason/talks/amigos2013-html5-microdata.pdfWelcome to the Machine: Making digital library collections findable by people

                                                 Microdata  in  the  Wild  

           MSU  Library  People  App                                            view-­‐source:  h\p://www.lib.montana.edu/people/about.php?id=23  

Page 20: Welcome to the Machine: Making digital library collections ...jason/talks/amigos2013-html5-microdata.pdfWelcome to the Machine: Making digital library collections findable by people

                                               Microdata  in  the  Wild  

                 MSU  Historical  Photos  Collec]on                                                      view-­‐source:  h\p://arc.lib.montana.edu/msu-­‐photos/item.php?id=11  

Page 21: Welcome to the Machine: Making digital library collections ...jason/talks/amigos2013-html5-microdata.pdfWelcome to the Machine: Making digital library collections findable by people

                           Microdata  Tools  

                                                   Structured  Data  Tes]ng  Tool                      h\p://www.google.com/webmasters/tools/richsnippets  

Page 22: Welcome to the Machine: Making digital library collections ...jason/talks/amigos2013-html5-microdata.pdfWelcome to the Machine: Making digital library collections findable by people

                                 Microdata  Tools  

                                           Schema  Creator                                              h\p://schema-­‐creator.org/  

Page 23: Welcome to the Machine: Making digital library collections ...jason/talks/amigos2013-html5-microdata.pdfWelcome to the Machine: Making digital library collections findable by people

                         Google  Webmaster  Tools      

                                 Structured  Data  Highlighter  

                           h\ps://www.google.com/webmasters/tools/  

Page 24: Welcome to the Machine: Making digital library collections ...jason/talks/amigos2013-html5-microdata.pdfWelcome to the Machine: Making digital library collections findable by people

                                               Lessons  

•  Study  schema.org  •  Register  as  a  microdata  provider  with  Google  •  Get  ahead  of  the  curve  

o  person,  organiza]on  are  currently  supported  

Page 25: Welcome to the Machine: Making digital library collections ...jason/talks/amigos2013-html5-microdata.pdfWelcome to the Machine: Making digital library collections findable by people

                               Best  Prac]ces  

•  Try  to  mark  up  only  human-­‐readable  visible  HTML  •  Check  your  markup  with  the  Structured  Data  Tes]ng  Tool  

o  Microdata  must  validate  as  HTML5    •  Mark  up  only  the  main  body  content,  not  <head>  •  Follow  exis]ng  vocabularies  (schema.org)  •  Mark  up  as  much  data  as  is  possible  to  help  with  gefng  

picked  up  in  Google  microdata  indexing  

Page 26: Welcome to the Machine: Making digital library collections ...jason/talks/amigos2013-html5-microdata.pdfWelcome to the Machine: Making digital library collections findable by people

                                         Essen]al  Links  

       schema.org            h\p://schema.org/  

Structured  Data  Tes]ng  Tool  h\p://www.google.com/webmasters/tools/richsnippets  

Page 27: Welcome to the Machine: Making digital library collections ...jason/talks/amigos2013-html5-microdata.pdfWelcome to the Machine: Making digital library collections findable by people

About Microdata - Google http://support.google.com/webmasters/bin/answer.py?hl=en&answer=176035

schema.org  FAQ  h\p://support.google.com/webmasters/bin/answer.py?hl=en&answer=1211158  

Schema  Creator  h\p://schema-­‐creator.org/book.php  

RDFa  Lite  h\p://dev.opera.com/ar]cles/view/geoloca]on-­‐html-­‐api/  

Page 28: Welcome to the Machine: Making digital library collections ...jason/talks/amigos2013-html5-microdata.pdfWelcome to the Machine: Making digital library collections findable by people

                                         Essen]al  Projects  

Combine  Drupal,  HTML5,  and  microdata  h\p://www.ibm.com/developerworks/library/x-­‐drupalhtml5/    

Wordpress  Plugin  -­‐  Microdata  for  SEO  h\p://wordpress.org/extend/plugins/microdata-­‐for-­‐seo-­‐by-­‐op]mum7com/    

Page 29: Welcome to the Machine: Making digital library collections ...jason/talks/amigos2013-html5-microdata.pdfWelcome to the Machine: Making digital library collections findable by people

Ques]ons?  

Page 30: Welcome to the Machine: Making digital library collections ...jason/talks/amigos2013-html5-microdata.pdfWelcome to the Machine: Making digital library collections findable by people

Contact  

@ones_zeros  @jaclark      

Page 31: Welcome to the Machine: Making digital library collections ...jason/talks/amigos2013-html5-microdata.pdfWelcome to the Machine: Making digital library collections findable by people

Contact  

Sco\  Young  Digital  Ini]a]ves  Librarian  Montana  State  University  Library  [email protected]  

Jason  Clark  Head  of  Digital  Access  &  Web  Services  Montana  State  University  Library  [email protected]  www.jasonclark.info