hMedia brainstorming

From Microformats Wiki
Jump to navigation Jump to search

This is a brainstorm page for hMedia 0.2. Please add proposals as new sections.

url property

Proposal: add the "url" property as another way for authors to indicate a media resource (in addition to hMedia's use of rel="enclosure").

The use of rel="enclosure" works well for re-use and harmonizes nicely with both hAtom 0.1 and rfc-4287. However, there are some reasons that it would be nice to also have an explicit "url" property for inclusion of URLs to media item resources:

  • In MediaWiki - it is difficult to set the "rel" attribute on a link, and thus it is helpful to have the alternative of using class="url" instead.
  • The url property is already well used and understood by authors in hCard 1.0, hCalendar 1.0, hReview 0.4 (in progress), etc.
  • I'm also proposing adding a "url" (as well as "uid") property to hAtom 0.1 as another way to indicate a permalink to an hAtom entry (see hAtom Brainstorming).

How it would work:

The list of media resource for an hMedia item would be defined to be the set of all hyperlinks with a rel of enclosure and elements with class name url inside the hMedia item.

Tantek 23:52, 25 August 2009 (UTC)

  • I started trying to mark up media items on the microformats wiki (e.g. an embedded video link on the oomph page), and ran into this need. Tantek 23:52, 25 August 2009 (UTC)

category and tag

Proposal: add the "category" property (and rel="tag") as way for authors to tag/categorize an hMedia item.

hCard and hCalendar both permit use of class="category" and rel-tag as a way to tag contacts and events. I am proposing that hMedia do so similarly as a way of tagging media items.

Tantek 23:52, 25 August 2009 (UTC)

  • Tags and categories are commonly applied to media items (see media-info-examples) and thus it makes sense to add this to hMedia 0.2. - Tantek 23:52, 25 August 2009 (UTC)


Media items are a key use case of the Licensing microformat, and as such, I suggest that hMedia 0.2 be developed with a Licensing microformat in mind, in particular the item as container licensing brainstorm proposal.

Tantek 23:52, 25 August 2009 (UTC)

  • Given that the Licensing microformat seeks to solve the problem of how to explicitly denote a license for external media resources, hMedia 0.2 should require support of the Licensing microformat, thus drive its completion from brainstorm to draft. - Tantek 23:52, 25 August 2009 (UTC)

see also