Aaron Straup Cope

NAME

XML::SAXDriver::vCard - generate SAX2 events for vCard 3.0

SYNOPSIS

 use XML::SAX::Writer;
 use XML::SAXDriver::vCard;

 my $writer = XML::SAX::Writer->new();
 my $driver = XML::SAXDriver::vCard->new(Handler=>$writer);

 $driver->parse_file("test.vcd");

DESCRIPTION

Generate SAX2 events for vCard 3.0

PACKAGE METHODS

__PACKAGE__->new(%args)

This method is inherited from XML::SAX::Base

OBJECT METHODS

$pkg->parse($string)

$pkg->parse_file($path)

$pkg->parse_uri($uri)

VERSION

0.05

DATE

February 18, 2003

AUTHOR

Aaron Straup Cope

NOTES

What about representing vCard objects in RDF/XML?

It's not going to happen here.

I might write a pair of vcard-rdfxml <-> vcard-xml filters in the future. If you're chomping at the bit to do this yourself, please, go nuts.

TO DO

  • Better (proper) support for properties that span multiple lines. See also:

     section 5.8.1.  Line delimiting and folding (RFC 2425)
     section 2.6     Line Delimiting and Folding (RFC 2426)

    This is planned for version 0.06

  • Wrap lines at 75 chars for media thingies.

    This is planned for version 0.06

  • Better checks to prevent empty elements from being include in final output.

  • Add support for LABEL property

  • Add support for X-CUSTOM properties. These are not actually defined in the vcard-xml DTD :-(

  • Add support for pronounciation attribute extension

SEE ALSO

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

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

http://www.globecom.net/ietf/draft/draft-dawson-vcard-xml-dtd-03.html

http://www.imc.org/pdi/vcard-pronunciation.html

http://www.w3.org/TR/vcard-rdf

BUGS

Sadly, there are probably a few.

Please report all bugs via http://rt.cpan.org

LICENSE

Copyright (c) 2002-2003, Aaron Straup Cope. All Rights Reserved.

This is free software, you may use it and distribute it under the same terms as Perl itself.