Net::Delicious::Export::Post - shared functions for exporting del.icio.us posts


Net-Delicious-Export documentation  | view source Contained in the Net-Delicious-Export distribution.

Index


NAME

Top

Net::Delicious::Export::Post - shared functions for exporting del.icio.us posts

SYNOPSIS

Top

 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

Top

Shared function for exporting del.icio.us posts.

FUNCTIONS

Top

&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 :

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

Top

1.1

DATE

Top

$Date: 2005/12/11 19:40:53 $

AUTHOR

Top

Aaron Straup Cope <ascope@cpan.org>

SEE AlSO

Top

Net::Delicious::Export

LICENSE

Top

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.


Net-Delicious-Export documentation  | view source Contained in the Net-Delicious-Export distribution.