Author image Brendan Francis O'Connor
and 1 contributors

NAME

Data::Microformat::hCard::organization - A module to parse and create orgs within hCards

VERSION

This documentation refers to Data::Microformat::hCard::organization version 0.03.

DESCRIPTION

This module exists to assist the Data::Microformat::hCard module with handling organizations 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 an organization; to wit, "org."

singular_fields

This is a method to list all the fields on an organization that can hold exactly one value.

They are as follows:

organization_name

The name of the organization.

organization_unit

The division within the organization.

plural_fields

This is a method to list all the fields on an organization that can hold multiple values.

There are none for organizations.

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.