
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 :
An iterator object of Net::Delicious::Post objects.
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.0

$Date: 2004/02/12 13:44:46 $

Aaron Straup Cope <ascope@cpan.org>


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.