Marky::Bookmarker - Marky::Bookmarker - adding bookmarks
version 0.035
use Marky::Bookmarker;
Bookmarking and Tutorial Library application. Adding bookmarks. These are YAML files added to a designated Bookmarks directory, where they can then be added to the database by stickerx.
Marky::Bookmarker - adding bookmarks
Create a new object, setting global values for the object.
my $obj = Marky::Bookmarker->new( database=>$database);
Add a new bookmark
my @fields = $bookm->fields();
$results = $bookm->save_new_bookmark(data=>\%hash);
Return a form for the bookmark
my $form = $bookm->bookmark_form(action=>$url);
Return a bookmarklet
my $bm = $bookm->bookmarklet(action=>$url);
These are functions which are NOT exported by this plugin.
Set the defaults for the object if they are not defined already.
Create an "add bookmark" form.
$bookm->_add_bookmark_form(action=>$url);
Create a javascript bookmarklet for adding a bookmark.
my $bml = $bookm->_make_bookmarklet(%args);
Figure out a (unique) name from the given title.
my $fn = $bookm->_construct_filename(title->$title);
$results = $bookm->_save_new_bookmark(data=>\%hash);
Kathryn Andersen <perlkat@katspace.org>
This software is copyright (c) 2017 by Kathryn Andersen.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Marky, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Marky
CPAN shell
perl -MCPAN -e shell install Marky
For more information on module installation, please visit the detailed CPAN module installation guide.