featured

From IndieWebCamp
Jump to: navigation, search


featured is a proposed mf2 property (typically as u-featured) for h-entry that indicates a representative image for a primarily textual post.

Contents

Why

To indicate which image (among many potentially) should be used in summaries or other link-preview use-cases for a post.

(A maybe less-obvious example: album cover for an audio post [1] -- or by extension a representative image for a collection.)

How

Add the class name "u-featured" to the <img> tag that you want used as the featured image for your post.

IndieWeb Examples

Ryan Barrett

Ryan Barrett uses u-featured occasionally on articles on https://snarfed.org/, since 2014-09-23:

Kartik Prabhu

Kartik Prabhu on all articles on https://kartikprabhu.com/ uses "u-featured" on thumbnail images since sometime in 2015-??-??.

See Also

Personal tools
Namespaces
Variants
Actions
Recent & Upcoming
Resources
Toolbox