drupalcamp nj 2014 solr and schema.org

36

Upload: scorlosquet

Post on 11-May-2015

194 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: DrupalCamp NJ 2014 Solr and Schema.org
Page 2: DrupalCamp NJ 2014 Solr and Schema.org

2

The future of search and SEO

Stéphane Corlosquet & Nick VeenhofDrupalCamp NJ, January 2014

Page 3: DrupalCamp NJ 2014 Solr and Schema.org

3

About the speakers

● Stéphane “scor” Corlosquet– 7 years with Drupal

– Software engineer @ Acquia

– Drupal 7 RDF core maintainer

– Drupal Security Team member

– Co-authored theDefinitive Guide to Drupal 7

– Contrib modules: RDF Extensions,SPARQL, schema.org, WebID

– Member of the RDFa WG at W3C

Page 4: DrupalCamp NJ 2014 Solr and Schema.org

4

About the speakers

● Nick “Nick_vh” Veenhof– 6 years with Drupal

– Search engineer @ Acquia

– Drupal 7 Apache Solr maintainer

– Very much involved in thecommunity across North America and Europe

Page 7: DrupalCamp NJ 2014 Solr and Schema.org

7

Knowledge Graph

● Google's internal knowledge base● Helps user find information quickly + easily● Knows about people, places, cities, celebrities,

movies, work or art...● “Things, not strings” - no keyword matching● Hummingbird algorithm update (largest update

since 2001)

Page 8: DrupalCamp NJ 2014 Solr and Schema.org

8

Knowledge Graph

● Live Entity disambiguation

Page 9: DrupalCamp NJ 2014 Solr and Schema.org

9

Knowledge Graph

● Direct answers

Page 10: DrupalCamp NJ 2014 Solr and Schema.org

10

Knowledge Graph

● List and collections

Page 11: DrupalCamp NJ 2014 Solr and Schema.org

11

Knowledge Graph

● Entity summary

Page 13: DrupalCamp NJ 2014 Solr and Schema.org

13

Knowledge Graph

● 570 million real-world objects ● 18 billion facts and relationships● Built from content gathered from the Web● Freebase

– Acquired by Google in 2010

– 39 Million topics

– 1,9 Billion facts and relationships

● Wikipedia● More? → Video and video

Page 15: DrupalCamp NJ 2014 Solr and Schema.org

15

Other search engines similar efforts

● Bing - Satori

Page 16: DrupalCamp NJ 2014 Solr and Schema.org

16

What about Drupal?

● Drupal sites hold a lot of the data on the Web– > 1 Million sites

– 2% of the web

– Variety of content: news, gov, corporate, media, commerce

● Drupal's data is structured inside– Entities: Node, User, Comment, Taxonomy term

– Properties: fields (text, entity reference...)

Page 17: DrupalCamp NJ 2014 Solr and Schema.org

17

Challenge

How can you make Drupal data easily understandable by search engines?

Page 18: DrupalCamp NJ 2014 Solr and Schema.org

18

Schema.org standard

● General web schema for everyone to use● 400+ types (book, recipe, event, person...)● Sponsored and supported by major search

engines: Google, Yahoo!, Bing, Yandex● Multiple formats: RDFa, Microdata, JSON-LD

Page 19: DrupalCamp NJ 2014 Solr and Schema.org

19

Schema.org

Page 20: DrupalCamp NJ 2014 Solr and Schema.org

20

How does schema.org apply to Drupal?

Page 21: DrupalCamp NJ 2014 Solr and Schema.org

21

Schema.org module for Drupal

● Map your content types and fields to the schema.org terms

http://drupal.org/project/schemaorg

Page 22: DrupalCamp NJ 2014 Solr and Schema.org

22

Schema.org module for Drupal

● Map your content types and fields to the schema.org terms

http://drupal.org/project/schemaorg

Page 23: DrupalCamp NJ 2014 Solr and Schema.org

23

Schema.org module for Drupal

● Map your content types and fields to the schema.org terms

http://drupal.org/project/schemaorg

Page 24: DrupalCamp NJ 2014 Solr and Schema.org

24

Schema.org module for Drupal

● New release today with support for addressfield and fivestar fields

http://drupal.org/project/schemaorg

Page 25: DrupalCamp NJ 2014 Solr and Schema.org

25

Schema.org mappings in HTML

Page 26: DrupalCamp NJ 2014 Solr and Schema.org

26

Preview Rich Snippet

● http://www.google.com/webmasters/tools/richsnippets

Page 28: DrupalCamp NJ 2014 Solr and Schema.org

28

Page 29: DrupalCamp NJ 2014 Solr and Schema.org

29

rich_snippets.module

Yes!

Page 30: DrupalCamp NJ 2014 Solr and Schema.org

30

RDF support in Rich Snippet

Page 31: DrupalCamp NJ 2014 Solr and Schema.org

31

Multisite search + Rich Snippets

Page 32: DrupalCamp NJ 2014 Solr and Schema.org

32

Without Rich Snippet module

Page 33: DrupalCamp NJ 2014 Solr and Schema.org

33

With Rich Snippet module

Page 34: DrupalCamp NJ 2014 Solr and Schema.org

34

Benefits of Rich Snippets

● Same look and feel as Google search for private content

● Schema.org mappings used for Google search and internal Solr search

● Mix Drupal and non-Drupal data

Page 36: DrupalCamp NJ 2014 Solr and Schema.org

36

Thanks!

Stéphane Corlosquet:● [email protected]● @scorlosquet● http://openspring.net/

Nick Veenhof:● [email protected]● @nick_vh● http://veenhof.be/