Iframely API: Meta
Most web pages have organic <meta> data published using different semantics standards and optimized for other platforms. For example, oEmbed, Open Graph, Twitter Cards, core HTML meta for Google, Dublin Core, Parsely, Sailthru, etc.
Iframely merges various semantics into a simple one-level object with consistent properties. Any property may be absent, and event all of them together.
Example of meta
"meta": {
"title": "Input/Output",
"description": "A new short from Terri Timely and Park Pictures",
"author_url": "https://vimeo.com/user1946955",
"author": "Terri Timely",
"site": "Vimeo",
"canonical": "https://vimeo.com/141567420",
"duration": 249,
"date": "2015-10-06",
"medium": "video"
} Iframely API returns meta object that may contain the following fields at the moment.
General meta
titledescriptiondate— the publication datecanonical— canonical URL of the resourceshortlink— URL shortened through publishercategorykeywords
Medium
medium— rich media embed type
If you need a simple category for media type, and our primary rel array isn’t simple enough, you can use this medium field. It’s analog of the type field in oEmbed.
The inconclusive list of possible values is this: "video", "audio", "playlist", "slideshow", "gifv", "3d", "image", "file", "article", "reader", "event", "product", "survey", "form", "link".
"Article" is for web pages that identify as such. "Link" is for links that do not fall into any other category and that webmasters optimized for social-sharing. The other general links will have no medium field at all.
We may add other values if new use cases arise.
Attribution
authorauthor_urlcopyrightlicenselicense_urlsite
Stats
views— number of views on the original host, e.g. YouTubelikescommentsduration(in seconds, duration of video or audio content)
Geo data
Following Open Graph spec:
country-namepostal-codestreet-addressregionlocalitylatitudelongitude
Product info
Following Pinterest spec:
pricecurrency_codebrandproduct_idavailabilityquantity