Upgrade to Pro — share decks privately, control downloads, hide ads and more …

oEmbed - hassle-free embedding of third party m...

oEmbed - hassle-free embedding of third party media content

talk at Linuxtag Berlin 2013

Kerstin Puschke

May 23, 2013
Tweet

More Decks by Kerstin Puschke

Other Decks in Programming

Transcript

  1. oEmbed hassle-free embedding of third party media content Kerstin Puschke

    XING AG Linuxtag Berlin, May 2013 Kerstin Puschke (XING AG) oEmbed Linuxtag Berlin, May 2013 0 / 21
  2. Who am I http://www.kpuschke.eu twitter: @titanoboa42 https://www.xing.com/profile/Kerstin_Puschke software engineer at

    XING Hamburg working on xing.com, the social network for business professionals about 13 million users debian, perl, javascript, ruby on rails, mysql, redis, riak, . . . We’re hiring! http://corporate.xing.com/english/company/ careers-at-xing/ Kerstin Puschke (XING AG) oEmbed Linuxtag Berlin, May 2013 1 / 21
  3. Automated embedding turns a url into an embedded representation Kerstin

    Puschke (XING AG) oEmbed Linuxtag Berlin, May 2013 3 / 21
  4. Automated embedding Wishlist easy to implement low maintenance effort supports

    many providers Kerstin Puschke (XING AG) oEmbed Linuxtag Berlin, May 2013 5 / 21
  5. oEmbed open embed format oEmbed open web standard for third-party

    media embedding Kerstin Puschke (XING AG) oEmbed Linuxtag Berlin, May 2013 6 / 21
  6. oEmbed providers youtube, vimeo flickr, instagram, yfrog, photobucket, imgur twitter

    slideshare, speakerdeck soundcloud drupal, wordpress github gist . . . Kerstin Puschke (XING AG) oEmbed Linuxtag Berlin, May 2013 7 / 21
  7. oEmbed intermediaries embed.ly oohembed now part of embed.ly reEmbed.me noembed.com

    open source software . . . Kerstin Puschke (XING AG) oEmbed Linuxtag Berlin, May 2013 8 / 21
  8. oEmbed consumers drupal wordpress serendipity dokuwiki statusnet diaspora friendica xing

    . . . Kerstin Puschke (XING AG) oEmbed Linuxtag Berlin, May 2013 9 / 21
  9. Example response: video { "author_name": "XINGcom", "html": "<iframe width=\"480\" height=...

    "version": "1.0", "author_url": "http://www.youtube.com/user/XING... "thumbnail_width": 480, "height": 270, "provider_url": "http://www.youtube.com/", "type": "video", "width": 480, "thumbnail_height": 360, "thumbnail_url": "http://i3.ytimg.com/vi/... "provider_name": "YouTube", "title": "Was ist XING?" } Kerstin Puschke (XING AG) oEmbed Linuxtag Berlin, May 2013 12 / 21
  10. Example response: photo { "type": "photo", "title": "XING Protoyping Days",

    "author_name": "XING AG", "author_url": "http://www.flickr.com/photos/op... "width": "1024", "height": "680", "url": "http://farm7.staticflickr.com/6082/6146... "web_page": "http://www.flickr.com/photos/openb... "thumbnail_url": "http://farm7.staticflickr.com... "thumbnail_width": 75, "thumbnail_height": 75, "web_page_short_url": "http://flic.kr/p/an9oux", "license": "All Rights Reserved", "license_id": 0, "version": "1.0", "cache_age": 3600, Kerstin Puschke (XING AG) oEmbed Linuxtag Berlin, May 2013 13 / 21
  11. Criticism different user agents (e.g. mobile) oEmbed is not RESTful

    Kerstin Puschke (XING AG) oEmbed Linuxtag Berlin, May 2013 20 / 21
  12. Conclusion pragmatic approach - widely adopted - easy to implement

    Illustration: kami23 http://tux.crystalxp.net/ Creative Commons BY-NC-SA Kerstin Puschke (XING AG) oEmbed Linuxtag Berlin, May 2013 21 / 21
  13. Who am I http://www.kpuschke.eu twitter: @titanoboa42 https://www.xing.com/profile/Kerstin_Puschke software engineer at

    XING Hamburg working on xing.com, the social network for business professionals about 13 million users debian, perl, javascript, ruby on rails, mysql, redis, riak, . . . We’re hiring! http://corporate.xing.com/english/company/ careers-at-xing/ Kerstin Puschke (XING AG) oEmbed Linuxtag Berlin, May 2013 21 / 21
  14. License Unless otherwise indicated, the text of this presentation is

    licensed under Creative Commons Attribution-ShareAlike 3.0 http://creativecommons.org/licenses/by-sa/3.0/ The XING logo and the screenshots on slide 3 as well as everything depicted therein are NOT covered under a Creative Commons license. The illustrations from http://tux.crystalxp.net/ are licensed under Creative Commons Attribution-NonCommercial-ShareAlike 3.0 http://creativecommons.org/licenses/by-nc-sa/3.0/. The respective authors are attributed along with each illustration. Kerstin Puschke (XING AG) oEmbed Linuxtag Berlin, May 2013 21 / 21