Aaron Straup Cope > Net-Delicious-Export-Post-XBEL-1.1 > Net::Delicious::Export::Post::XBEL

Download:
Net-Delicious-Export-Post-XBEL-1.1.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View Bugs
Report a bug
Module Version: 1.1   Source   Latest Release: Net-Delicious-Export-Post-XBEL-1.4

NAME ^

Net::Delicious::Export::Post::XBEL - export your del.icio.us posts as XBEL

SYNOPSIS ^

 use Net::Delicious;
 use Net::Delicious::Export::Post::XBEL;

 use IO::AtomicFile;
 use XML::SAX::Writer;

 my $fh     = IO::AtomicFile->open("/my/posts.xbel","w");
 my $writer = XML::SAX::Writer->new(Output=>$fh);

 my $del = Net::Delicious->new({...});
 my $exp = Net::Delicious::Export::Post::XBEL->new(Handler=>$writer);

 my $it = $del->posts();
 $exp->by_date($it);

DESCRIPTION ^

Export your del.icio.us posts as XBEL.

This package subclasses Net::Delicious::Export.

PACKAGE METHODS ^

__PACKAGE__->new(\%args)

Valid arguments are :

Returns a Net::Delicious::Export::Post::XBEL object. Woot!

OBJECT METHODS ^

$obj->by_date(\%args)

Valid args are

Returns whatever the handler passed to the object contructor sends back.

$obj->by_tag(\%args)

Valid args are

Bookmarks with multiple tags will be added once; subsequent instances of the same bookmark will use XBEL's <alias> element to refer back to the first URL.

Multiple tags for a bookmark will be ordered alphabetically or using the same sort argument passed to the method.

Returns whatever the handler passed to the object contructor sends back.

VERSION ^

1.1

DATE ^

$Date: 2004/02/10 18:59:18 $

AUTHOR ^

Aaron Straup Cope <ascope@cpan.org>

SEE AlSO ^

Net::Delicious

Net::Delicious::Export

http://pyxml.sourceforge.net/topics/xbel/

LICENSE ^

Copyright (c) 2004 Aaron Straup Cope. All Rights Reserved.

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