Net::Delicious::Export::Post - shared functions for exporting del.icio.us posts
use Net::Delicious; use Net::Delicious::Export::Post qw (group_by_tag); my $del = Net::Delicious->new({...}); my $it = $del->recent_posts(); my $hr_ordered = group_by_tag($it);
Shared function for exporting del.icio.us posts.
Build a nested hash reference of posts grouped by tag. This function will DWIM with "hierarchical" tags.
Posts for any given tag set will be grouped as an array reference. They will be ordered by their timestamp.
Valid arguments are :
Net::Delicious::Iterator required
An iterator object of Net::Delicious::Post objects.
CODE reference
Used as an argument for passing to Perl's sort function.
The default behaviour is to sort tags alphabetically.
Returns a hash reference.
Returns a Net::Delicious::Export::Post::Bookmarkid object.
The object subclasses Net::Delicious::Post but since its stringify method is overloaded to return the value of its bookmarkid method you can, pretty much, just treat it like a string.
1.1
$Date: 2005/12/11 19:40:53 $
Aaron Straup Cope <ascope@cpan.org>
Net::Delicious::Export
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.
To install Net::Delicious::Export, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Delicious::Export
CPAN shell
perl -MCPAN -e shell install Net::Delicious::Export
For more information on module installation, please visit the detailed CPAN module installation guide.