Web Discovery - - PowerPoint PPT Presentation

web discovery
SMART_READER_LITE
LIVE PREVIEW

Web Discovery - - PowerPoint PPT Presentation

Web Discovery & Friends eran hammer-lahav Web Linking Common Rela;on Types HTML, ATOM,


slide-1
SLIDE 1

Web ¡Discovery ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡& ¡Friends ¡

eran ¡hammer-­‑lahav ¡

slide-2
SLIDE 2

Web ¡Linking ¡

  • Common ¡Rela;on ¡Types ¡
  • HTML, ¡ATOM, ¡HTTP, ¡etc ¡
  • HTTP ¡Link ¡Header ¡
  • IANA ¡Registry ¡
  • ¡ ¡draG-­‑noHngham-­‑hIp-­‑link-­‑header ¡
slide-3
SLIDE 3

Well-­‑Known ¡URIs ¡

  • Path ¡Prefix ¡for ¡HTTP(S) ¡URIs ¡
  • /.well-­‑known/ ¡
  • Host-­‑wide ¡Scope ¡
  • ¡ ¡draG-­‑noHngham-­‑site-­‑meta ¡
slide-4
SLIDE 4

XRD ¡

  • Resource ¡Descriptor ¡Format ¡
  • Simple, ¡Minimalis;c ¡Schema ¡
  • XML-­‑based ¡
  • Extensible ¡
  • Uses ¡Web ¡Linking ¡
  • ATOM/HTML ¡Style ¡Links ¡Elements ¡
  • IANA ¡Rela;on ¡Type ¡Registry ¡
  • Basic ¡Signature ¡Support ¡
slide-5
SLIDE 5

XRD ¡

<?xml ¡version='1.0' ¡encoding='UTF-­‑8'?> ¡ <XRD ¡xmlns='hIp://docs.oasis-­‑open.org/ns/xri/xrd-­‑1.0'> ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡<Subject>hIp://example.com/post?id=1</Subject> ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡<Alias>hIp://example.com/2010/02/announcement</Alias> ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡<Expires>2010-­‑04-­‑01T00:00:00Z</Expires> ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡<Property ¡type='hIp://spec.example.net/blogapi' ¡/> ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡<Link ¡rel='license' ¡type='text/html' ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡href='hIp://example.com/license' ¡/> ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡<Link ¡rel='comments-­‑api-­‑example' ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡href='hIp://example.com/comment?id=1'> ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡<Title ¡xml:lang='en-­‑us'>Leave ¡A ¡Comment</Title> ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡<Property ¡type='hIp://spec.example.net/version'>1.0</Property> ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡</Link> ¡ </XRD> ¡

slide-6
SLIDE 6

host-­‑meta ¡

  • Host-­‑wide ¡metadata ¡
  • RFC ¡3986 ¡Host ¡(IP ¡Address ¡/ ¡Domain) ¡
  • Not ¡Protocol ¡or ¡Scheme ¡Specific ¡
  • Well-­‑Known ¡Document ¡
  • Obtained ¡via ¡HTTP ¡/ ¡HTTPS ¡
  • XRD ¡
  • Link ¡Templates ¡
  • <Host> ¡extension ¡instead ¡of ¡<Subject> ¡
  • ¡ ¡draG-­‑hammer-­‑hostmeta ¡
slide-7
SLIDE 7

host-­‑meta ¡

<?xml ¡version='1.0' ¡encoding='UTF-­‑8'?> ¡ <XRD ¡xmlns='hIp://docs.oasis-­‑open.org/ns/xri/xrd-­‑1.0' ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡xmlns:hm='hAp://host-­‑meta.net/ns/1.0'> ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡<hm:Host>example.com</hm:Host> ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡<hm:Host>www.example.com</hm:Host> ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡<Link ¡rel='license' ¡type='text/html' ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡href='hIp://example.com/license' ¡/> ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡<Link ¡rel=‘author' ¡type='text/html' ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡template='hIp://example.com/author?post={uri}'> ¡ </XRD> ¡

slide-8
SLIDE 8

LRDD ¡

  • Link-­‑based ¡Resource ¡Descriptor ¡Discovery ¡
  • Unified ¡Process ¡for ¡Mul;ple ¡Link ¡Sources ¡
  • Markup: ¡HTML ¡/ ¡XHTML ¡/ ¡ATOM ¡
  • HTTP ¡Link ¡Header ¡
  • host-­‑meta ¡Templates ¡
  • LRDD ¡Documents ¡(rel=‘lrdd’) ¡
  • Customized ¡Link ¡Processing ¡Order ¡
  • ¡ ¡draG-­‑hammer-­‑discovery ¡
slide-9
SLIDE 9

acct: ¡URI ¡Scheme ¡

  • acct:local@host ¡
  • Host ¡per ¡RFC ¡3986, ¡Anything ¡from ¡End ¡to ¡Last ¡‘@’ ¡
  • Local ¡iden;fier ¡is ¡host-­‑specific, ¡URI ¡Path ¡String ¡
  • Protocol ¡Agnos;c ¡
  • No ¡Exis;ng ¡Browser ¡Behavior ¡(mailto:) ¡
  • Inten;onally ¡Limited ¡and ¡Simple ¡Syntax ¡
slide-10
SLIDE 10

WebFinger ¡

  • finger ¡Reincarnated ¡Using ¡HTTP ¡
  • Unified ¡Discovery ¡Process ¡
  • acct: ¡
  • hIp: ¡/ ¡hIps: ¡
  • Resolves ¡into ¡an ¡LRDD ¡Document ¡
  • Experimental ¡