-
-
07 Apr 2008 19:09:49 UTC
- Distribution: delicious-backup
- Module version: 0.013
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues
- Testers (411 / 0 / 1)
- Kwalitee
Bus factor: 1- % Coverage
- License: perl_5
- Activity
24 month- Tools
- Download (10.14KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- Config::Auto
- Net::Delicious
- Netscape::Bookmarks
- YAML
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
Net::Delicious::Simple - Net::Delicious for backups
VERSION
version 0.013
SYNOPSIS
use Net::Delicious::Simple; my $del = Net::Delicious->new(user => 'plki', pswd => 'secret'); print "$_->{href}\n" for $del->all_posts;
DESCRIPTION
If you want to do anything interesting with del.icio.us automation, you probably want Net::Delicious. It's good. This module is not. It's just here to return all of your tags or posts as a basic Perl data structure. This makes it very easy to store that structure using existing dumpers. In fact, it only exists to power
delbackup
, which dumps to YAML or Netscape::Bookmarks.METHODS
new
The constructor gets passed the same things as you'd pass to Net::Delicious. Basically, you need to pass
user
andpswd
arguments, giving your login credentials.tags
This returns all of your tags, in a list.
all_posts
This returns all of your posts, in a list. Every post is hash with the following keys: description, extended, href, tags, and datetime.
Tags is an arrayref, and datetime is in seconds-sicne-epoch, GMT.
SEE ALSO
AUTHOR
Ricardo SIGNES <
rjbs@cpan.org
>COPYRIGHT
(C) 2004, Ricardo SIGNES. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Module Install Instructions
To install Net::Delicious::Simple, copy and paste the appropriate command in to your terminal.
cpanm Net::Delicious::Simple
perl -MCPAN -e shell install Net::Delicious::Simple
For more information on module installation, please visit the detailed CPAN module installation guide.