NAME
Marky::Bookmarker - Marky::Bookmarker - adding bookmarks
VERSION
version 0.035
SYNOPSIS
use Marky::Bookmarker;
DESCRIPTION
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.
NAME
Marky::Bookmarker - adding bookmarks
VERSION
version 0.035
METHODS
new
Create a new object, setting global values for the object.
my $obj = Marky::Bookmarker->new(
database=>$database);
fields
Add a new bookmark
my @fields = $bookm->fields();
save_new_bookmark
Add a new bookmark
$results = $bookm->save_new_bookmark(data=>\%hash);
bookmark_form
Return a form for the bookmark
my $form = $bookm->bookmark_form(action=>$url);
bookmarklet
Return a bookmarklet
my $bm = $bookm->bookmarklet(action=>$url);
Helper Functions
These are functions which are NOT exported by this plugin.
_set_defaults
Set the defaults for the object if they are not defined already.
_add_bookmark_form
Create an "add bookmark" form.
$bookm->_add_bookmark_form(action=>$url);
_make_bookmarklet
Create a javascript bookmarklet for adding a bookmark.
my $bml = $bookm->_make_bookmarklet(%args);
_construct_filename
Figure out a (unique) name from the given title.
my $fn = $bookm->_construct_filename(title->$title);
_save_new_bookmark
Add a new bookmark
$results = $bookm->_save_new_bookmark(data=>\%hash);
AUTHOR
Kathryn Andersen <perlkat@katspace.org>
COPYRIGHT AND LICENSE
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.