link-preview-brainstorming

From Microformats Wiki
Revision as of 02:07, 1 March 2013 by Tantek (talk | contribs) (draft a stub with summary of current thinking)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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.

proposals

General approach:

  • publishing: just use h-entry on the <body> element with a few additions like u-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)

see also