NAME
Net::Delicious::Export::Post - shared functions for exporting del.icio.us posts
SYNOPSIS
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);
DESCRIPTION
Shared function for exporting del.icio.us posts.
FUNCTIONS
&group_by_tag(Net::Delicious::Iterator,\&sort_function)
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.
&mk_bookmarkid(Net::Delicious::Post)
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.
VERSION
1.1
DATE
$Date: 2005/12/11 19:40:53 $
AUTHOR
Aaron Straup Cope <ascope@cpan.org>
SEE AlSO
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.