HTML::Microformats::Format::hEvent(3pm)

HTML::Microformats::Format::hEvent3pm

An hcalendar event component

Usage

 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\n", $ev->get_dtstart, $ev->get_summary);
   }
 }

Overview

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

•

"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.

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.

Releases

5 releases since Debian 7 (Wheezy); the text changed 2 times.

  1. 7
  2. 8–9
  3. 12–13

Bugs

Please report any bugs to <http://rt.cpan.org/>.

Author

Toby Inkster <[email protected]>.

From libhtml-microformats-perl 0.105-6 in Debian 13 (Trixie). Parsed by carta from the page's man source.