Re: [uf-discuss] Org HCard with special phone number

2010-03-18 Thread Sean Edison-Albright

On 3/17/2010 5:23 PM, microformats-discuss-requ...@microformats.org wrote:

Here's how I'd do it:

   div class=vcard
 h1 class=fn orgMy Org/h1
 p
   bGeneral Enquiries:/b
   span class=tel01234 567 890/span
 /p
 p class=agent vcard
   span class=org
 abbr class=organization-name title=My Org/abbr
 b class=organization-unit fnHelp Desk/b
   /span
   span class=tel01234 567 899/span
 /p
   /div

-- Toby A Inkster mailto:m...@tobyinkster.co.uk 
http://tobyinkster.co.uk


This makes sense -- if I'm following correctly, the Help Desk is 
essentially an individual entity within the organization, rather than 
part of the contact info for the org.  Thanks for your help, all!


___
microformats-discuss mailing list
microformats-discuss@microformats.org
http://microformats.org/mailman/listinfo/microformats-discuss


Re: [uf-discuss] Org HCard with special phone number

2010-03-18 Thread Toby Inkster
On Thu, 2010-03-18 at 09:31 -0500, Sean Edison-Albright wrote:
 This makes sense -- if I'm following correctly, the Help Desk is 
 essentially an individual entity within the organization, rather than
 part of the contact info for the org.  Thanks for your help, all! 

Yes - and the 'agent' property relates the two hCards. Of interest may
be the definition of the AGENT property in vCard:

http://www.ietf.org/rfc/rfc2426.txt

-- 
Toby A Inkster
mailto:m...@tobyinkster.co.uk
http://tobyinkster.co.uk

___
microformats-discuss mailing list
microformats-discuss@microformats.org
http://microformats.org/mailman/listinfo/microformats-discuss


[uf-discuss] Org HCard with special phone number

2010-03-10 Thread Sean Edison-Albright
I'm coding up an hcard for my organization, and would like to list two 
phone numbers: one for general contact and one for help desk requests.  
It seems like both of these would be tel of type work, so that wouldn't 
distinguish them... is there a preferred way of indicating/labeling 
which is which?


Sean
___
microformats-discuss mailing list
microformats-discuss@microformats.org
http://microformats.org/mailman/listinfo/microformats-discuss


Re: [uf-discuss] Org HCard with special phone number

2010-03-10 Thread Paul Wilkins
On 11 March 2010 10:33, Sean Edison-Albright sedison-albri...@mcic.org wrote:

 I'm coding up an hcard for my organization, and would like to list two phone 
 numbers: one for general contact and one for help desk requests.  It seems 
 like both of these would be tel of type work, so that wouldn't distinguish 
 them... is there a preferred way of indicating/labeling which is which?

I believe that there is a label that can be applied for each phone number.

http://microformats.org/wiki/hcard-issues-resolved has an entry
starting with RFC2426 allows TYPE for LABEL which covers the need to
update the hCard specification so that they are formally used in the
same manner in which they are used in the vCard specification.
--
Paul Wilkins

___
microformats-discuss mailing list
microformats-discuss@microformats.org
http://microformats.org/mailman/listinfo/microformats-discuss


Re: [uf-discuss] Org HCard with special phone number

2010-03-10 Thread Brian Suda
On Wed, Mar 10, 2010 at 9:33 PM, Sean Edison-Albright
sedison-albri...@mcic.org wrote:
 I'm coding up an hcard for my organization, and would like to list two phone
 numbers: one for general contact and one for help desk requests.  It seems
 like both of these would be tel of type work, so that wouldn't distinguish
 them... is there a preferred way of indicating/labeling which is which?

there is a pref meaning preferred, but I am not sure how
applications would display this. You can see some examples here:

http://microformats.org/wiki/hcard#type_subproperty_values

-brian


-- 
brian suda
http://suda.co.uk

___
microformats-discuss mailing list
microformats-discuss@microformats.org
http://microformats.org/mailman/listinfo/microformats-discuss


Re: [uf-discuss] Org HCard with special phone number

2010-03-10 Thread Toby Inkster
On Thu, 2010-03-11 at 11:20 +1300, Paul Wilkins wrote:
 I believe that there is a label that can be applied for each phone
 number.
 
 http://microformats.org/wiki/hcard-issues-resolved has an entry
 starting with RFC2426 allows TYPE for LABEL which covers the need to
 update the hCard specification so that they are formally used in the
 same manner in which they are used in the vCard specification. 

I think you're misinterpreting that issue. It refers to the fact that
the label property (for address labels) can have types. e.g.

  div class=vcard
b class=fnJoe Bloggs/b
span class=label
  i class=typeHome/i
  span class=value123 Test Street, Testville/span
/span
span class=label
  i class=typeWork/i
  span class=value45 Example Lane, Testville/span
/span
  /div

The label property differs from adr in that it's not broken down into
subproperties (street-address, etc).

Here's how I'd do it:

  div class=vcard
h1 class=fn orgMy Org/h1
p
  bGeneral Enquiries:/b
  span class=tel01234 567 890/span
/p
p class=agent vcard
  span class=org
abbr class=organization-name title=My Org/abbr
b class=organization-unit fnHelp Desk/b
  /span
  span class=tel01234 567 899/span
/p
  /div

-- 
Toby A Inkster
mailto:m...@tobyinkster.co.uk
http://tobyinkster.co.uk

___
microformats-discuss mailing list
microformats-discuss@microformats.org
http://microformats.org/mailman/listinfo/microformats-discuss