Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

html::microformats::format::adr(3pm) [debian man page]

HTML::Microformats::Format::adr(3pm)			User Contributed Perl Documentation		      HTML::Microformats::Format::adr(3pm)

NAME
HTML::Microformats::Format::adr - the adr microformat SYNOPSIS
use Data::Dumper; use HTML::Microformats::DocumentContext; use HTML::Microformats::Format::adr; my $context = HTML::Microformats::DocumentContext->new($dom, $uri); my @adrs = HTML::Microformats::Format::adr->extract_all( $dom->documentElement, $context); foreach my $adr (@adrs) { print Dumper($adr->data) . " "; } DESCRIPTION
HTML::Microformats::Format::adr inherits from HTML::Microformats::Format. See the base class definition for a description of property getter/setter methods, constructors, etc. MICROFORMAT
HTML::Microformats::Format::adr supports adr as described at <http://microformats.org/wiki/adr>, with the following additions: o 'type' property This module is used by HTML::Microformats::Format::hCard to handle addresses within the hCard microformat. hCard addresses include a 'type' property indicating the address type (e.g. home, work, etc). This module supports the 'type' property whether or the address is part of an hCard. o Embedded geo microformat If an instance of the geo microformat is found embedded within an address, that geographic location will be associated with the address. RDF OUTPUT
Data is returned using the W3C's vCard vocabulary (<http://www.w3.org/2006/vcard/ns#>) and occasional other terms. Like how HTML::Microformats::Format::hCard differentiates between the business card and the entity represented by the card, this module differentiates between the address and the location represented by it. The former is an abstract social construction, its definition being affected by ephemeral political boundaries; the latter is a physical place. Theoretically multiple addresses could represent the same, or overlapping locations, though this module does not generate any data where that is the case. Where possible, the module uses Locale::Country to determine the two letter ISO code for the country of the location, and include this in the RDF output. BUGS
Please report any bugs to <http://rt.cpan.org/>. SEE ALSO
HTML::Microformats::Format, HTML::Microformats, HTML::Microformats::Format::hCard, HTML::Microformats::Format::geo. AUTHOR
Toby Inkster <tobyink@cpan.org>. COPYRIGHT
Copyright 2008-2011 Toby Inkster This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. DISCLAIMER OF WARRANTIES
THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. perl v5.14.2 2011-12-06 HTML::Microformats::Format::adr(3pm)

Check Out this Related Man Page

HTML::Microformats::Format::hEvent(3pm) 		User Contributed Perl Documentation		   HTML::Microformats::Format::hEvent(3pm)

NAME
HTML::Microformats::Format::hEvent - an hCalendar event component SYNOPSIS
use Data::Dumper; use HTML::Microformats::DocumentContext; use HTML::Microformats::Format::hCalendar; my $context = HTML::Microformats::DocumentContext->new($dom, $uri); my @cals = HTML::Microformats::Format::hCalendar->extract_all( $dom->documentElement, $context); foreach my $cal (@cals) { foreach my $ev ($cal->get_vevent) { printf("%s: %s ", $ev->get_dtstart, $ev->get_summary); } } DESCRIPTION
HTML::Microformats::Format::hEvent is a helper module for HTML::Microformats::Format::hCalendar. This class is used to represent event components within calendars. Generally speaking, you want to use HTML::Microformats::Format::hCalendar instead. HTML::Microformats::Format::hEvent inherits from HTML::Microformats::Format. See the base class definition for a description of property getter/setter methods, constructors, etc. Additional Method o "to_icalendar" This method exports the data in iCalendar format. It requires RDF::iCalendar to work, and will throw an error at run-time if it's not available. BUGS
Please report any bugs to <http://rt.cpan.org/>. SEE ALSO
HTML::Microformats::Format::hCalendar, HTML::Microformats::Format, HTML::Microformats. AUTHOR
Toby Inkster <tobyink@cpan.org>. COPYRIGHT
Copyright 2008-2011 Toby Inkster This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. DISCLAIMER OF WARRANTIES
THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. perl v5.14.2 2011-12-06 HTML::Microformats::Format::hEvent(3pm)
Man Page