View on
MetaCPAN
Aaron Straup Cope > Net-Delicious-Export-1.2 > Net::Delicious::Export::Post

Download:
Net-Delicious-Export-1.2.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Module Version: 1.1   Source  

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 :

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 ^

Net::Delicious::Export

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.

syntax highlighting: