item-brainstorming: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
(added quantity)
Line 10: Line 10:


* [http://www.blogmatrix.com David Janes]
* [http://www.blogmatrix.com David Janes]
* [http://abscond.org James Darling]
* your name here...
* your name here...


Line 41: Line 42:


One can see that there are many common properties that can be shared about different types of things. Manufactor, brand name, generic name, color.... The base item microformat may avoid trying to define this and instead allow new/future microformats to do the discovery.
One can see that there are many common properties that can be shared about different types of things. Manufactor, brand name, generic name, color.... The base item microformat may avoid trying to define this and instead allow new/future microformats to do the discovery.
* Quantity - can be assumed to be 1 unless specified.


= See Also =
= See Also =


* http://microformats.org/discuss/mail/microformats-discuss/2006-November/007139.html
* http://microformats.org/discuss/mail/microformats-discuss/2006-November/007139.html

Revision as of 23:12, 16 November 2006

Item Brainstorming

This page is to collect ideas about an "item" microformat or design pattern, for representing things that physically exist. At this point, my thinking is to aim for understanding the intersection not the union of attribute of things!

Editors

Authors

Introduction to the idea

Rationale

  • items/things are used in other micrformats
  • unlike people and places, items do not currently get a "container"; thus, attributes being associated with a (say) Review actually should be attached the thing itself
  • to cut down on the work required to create new microformats about things (wine, houses, cars, ...)

Notes

This is very much analogous to hCard and there is no reason that this shouldn't reuse as much as possible of this. In particular:

  • fn - the name of an item
  • url - the web address of an item
  • photo - a photo of an item
  • adr - the address of an item (for example, a house)
  • geo - likewise

More of this will be discovered in the examples discovery.

hItem-based microformats

Representation

This may just be a design pattern -- that is, a template for create new microformats in the future. If it is a microformat, how we identify the type of thing is an open question -- we could do it like phone number types in hCard or it could be a new class element (or both). I.e. do we create a top-level class "hWine" or do we do <span class="type">wine</a>

New Attributes

One can see that there are many common properties that can be shared about different types of things. Manufactor, brand name, generic name, color.... The base item microformat may avoid trying to define this and instead allow new/future microformats to do the discovery.

  • Quantity - can be assumed to be 1 unless specified.

See Also