Iframely protocol is simple publishing and discovery method for responsive embeds of web content.
This is how it works:
- Content Publisher puts available widget as
<link>
tag in the<head>
section of (X)HTML document. Publisher indicates MIME type of a hosted resource, sizing options and what are the expected use cases. - Consumer selects the widgets that work for user's environment and app circumstances and presents it to the user.
Sample:
<link rel="iframely player" // list of functional use cases
type="text/html" // guides to embed as iFrame
href="//iframe.ly/bFbn" // with this src
media="(min-width:100) and (min-height:100)" // when these sizes are ok
title="Open Web FTW!" />
Iframely protocol does not compete with specs of oEmbed, Open Graph or Twitter Cards, but rather supplements them, as it only focuses on User Experience and not on semantic data.
The protocol references HTML5/CSS3 and will naturally evolve with those standards from a technical standpoint.
Please, feel free to fork this document on GitHub or submit an issue.
We suggest that all new rels
and MIME types
first go via discussion in a ticket.
- Iframely Embeds API - cloud API that consumes embeds in that format.
- Iframely on GitHub - provides self-hosted parsers and API endpoint to consume Iframely protocol, oEmbed, Twitter Cards and Open Graph protocols.
- Iframely Debug Tool - to check how other apps see your site.
The ideas for Iframely protocol were influenced by these publications since we started in Febuary 2012:
- How To Save The Internet by John Borthwick / 2009
- "Responsive embeds" by Anders M. Andersen / 2011
- Creating Intrinsic Ratios for Video by Thierry Koblentz / 2009
- oEmbed spec / 2008
- Open Graph by Facebook and RDFa approach in general / 2011
- Twitter Cards spec / 2012
- EmbedLink proposal by Brian Mearns was in line with what we were working on.
(c) 2013 - 2017 Itteco Software Corp.
Specifically, these folks from Itteco:
- Ivan Paramonau - spec & analysis
- Nazar Leush - R&D
- Anatoly Ivanov - PoC version of Iframely parsers
Iframely Protocol by Itteco Software Corp. is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.