link-preview-brainstorming: Difference between revisions
Jump to navigation
Jump to search
(previous work - embed-brainstorming) |
m (→proposals: )) |
||
Line 15: | Line 15: | ||
** p-summary (called "description" in some other approaches) | ** p-summary (called "description" in some other approaches) | ||
** u-url | ** u-url | ||
** u-photo (called "image" in some other approaches | ** u-photo (called "image" in some other approaches) | ||
** u-audio | ** u-audio | ||
** u-video | ** u-video |
Revision as of 00:32, 13 April 2013
This article is a stub. You can help the microformats.org wiki by expanding it.
This is part of an effort to define a standard link-preview microformat.
- link-preview-examples
- link-preview-formats - document from Facebook/OG, Google/G+, IE10, Twitter Cards
proposals
General approach:
- publishing: just use h-entry on the
<body>
element with a few additions likeu-photo
,u-audio
,u-video
- parsing: using a microformats2 parser, look for the first h-entry on the page and use its:
- p-name (called "title" in some other approaches)
- p-summary (called "description" in some other approaches)
- u-url
- u-photo (called "image" in some other approaches)
- u-audio
- u-video
Examples in the wild: (of pages with h-entry on body)