grouping-examples

From Microformats Wiki
Jump to navigation Jump to search

Grouping

Grouping is a fundamental mechanism for understanding the relationship between objects. Where an object resides in a network of relationships can clarify its purpose. Grouping relationships are fundamental to how we understand object interactions.

The Problem

It is useful to understand the relationship between objects on a website. A blogger may want to describe several different objects on a web page and group them explicitly. It is important that the structure of the page not affect this grouping as network relationships are often not hierarchical (HTML is always hierarchical).

Where an object resides in a network of relationships can clarify its purpose. For example, an audio album can have a number of audio tracks. It is desirable that the tracks and the album can be associated with one another without needing to be hierarchically grouped. The same goes for chapters in a DVD movie, sections of a podcast, and a set of geographic points.

Grouping relationships are fundamental to how we understand object interactions.

Contributors

Discussions

Discussions related to grouping:

Real-World Examples

PLEASE USE THIS TEMPLATE WHEN MARKING UP EXAMPLES

Types of grouping

  • unordered - Unordered grouping is a type of grouping where the items in the group have no particular order or are not numbered in any way. These lists can be marked by <ul> HTML tags, but do not have to be.
  • ordered - Ordered grouping is when items in a group have a very clear order. The easiest way to differentiate ordered grouping is if the items are numbered. These lists are almost always marked by <ol>
  • sparse - Sparse grouping means that the items in the group are spread over the entire page and are not contained in a single list. Sparse groups are also created when items of the same type are interspersed, but don't belong to the same group. For example, an example of two sparse groups would be birds and fish: crow, dolphin, dove, shark, pigeon.
  • non-sparse - Non-sparse grouping means that the items in the group are very close together on the page and are usually encapsulated in a single list. For example: crow, dove, pigeon.

People and Song Grouping in Music Podcasting

These sites usually list one big file containg multiples songs, speech, audio advertising and prerecorded audio (such as voicemail or promos). Effort is taken to list each section of the recording as a group (aka: playlist).

Album and Track Grouping in Music Services

  • Starzik SARL
    • Album Example (hidden url)
      • Information: ordered, unordered, non-sparse, sparse
  • CellCity
    • [1] Album Example]
      • Information: unordered, non-sparse

Wikipedia Article Grouping Examples

Analysis

This analysis was performed on May 14th on all of the grouping examples listed on the page at that point.

Total examples: 68

  • 100% of examples contained some form of grouping
  • 75%: unordered
  • 71%: non-sparse
  • 66%: sparse
  • 59%: ordered

Existing Practices

Listed below is an overview of existing patterns and practices found in the wild for grouping metadata.

Summary of common patterns discovered

  • There are typically 4 different methods of grouping: sparse, non-sparse, ordered and unordered.

Other attempts to solve The Problem

See Also