NAME
Data::Microformat::hCard::type - A module to parse and create typed things within hCards
VERSION
This documentation refers to Data::Microformat::hCard::type version 0.03.
DESCRIPTION
This module exists to assist the Data::Microformat::hCard module with handling typed things (emails and phone numbers) in hCards.
SUBROUTINES/METHODS
Data::Microformat::organization->from_tree($tree)
This method overrides but provides the same functionality as the method of the same name in Data::Microformat.
class_name
The hCard class name for a type; for types, it is not fully known, and thus this value should be ignored.
singular_fields
This is a method to list all the fields on a typed object that can hold exactly one value.
They are as follows:
value
The value of the object; for instance, in an email object, the email address.
kind
The kind of object this represents; either "email" or "tel."
plural_fields
This is a method to list all the fields on a typed object that can hold multiple values.
They are as follows:
type
The type of the object, such as "Home" or "Work."
BUGS
Please report any bugs or feature requests to bug-data-microformat at rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Data-Microformat. I will be notified,and then you'll automatically be notified of progress on your bug as I make changes.
AUTHOR
Brendan O'Connor, <perl at ussjoin.com>
COPYRIGHT
Copyright 2008, Six Apart Ltd. All rights reserved.
LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
This program is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose.