Difference between revisions of "link-preview-brainstorming"

From Microformats Wiki
Jump to navigation Jump to search
(more see also)
Line 24: Line 24:
== see also ==
== see also ==
* [[link-preview-examples]]
* [[link-preview-formats]]
* [[h-entry]]
* [[h-entry]]
* http://indiewebcamp.com/link-preview

Revision as of 04:04, 24 February 2014

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.

previous related work


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