NAME
EBook::Ishmael::EBook::Metadata - Ebook metadata interface
SYNOPSIS
use EBook::Ishmael::EBook::Metadata;
my $meta = EBook::Ishmael::EBook::Metadata->new;
$meta->title([ 'Moby-Dick' ]);
$meta->author([ 'Herman Melville' ]);
$meta->language([ 'en' ]);
DESCRIPTION
EBook::Ishmael::EBook::Metadata is a module used by ishmael to provide a format-agnostic interface to ebook metadata. This is developer documentation, for user documentation please consult the ishmael manual.
METHODS
$m = EBook::Ishmael::EBook::Metadata->new()
Returns a blessed EBook::Ishmael::EBook::Metadata object.
$h = $m->hash
Returns a plain hash ref of the object's metadata.
Accessors
@a = $m->author()
$m->set_author(@a)
$m->add_author(@a)
Set/get the author(s) of the ebook.
$s = $m->software()
$m->set_software($s)
Set/get the software used to create the ebook.
$c = $m->created()
$m->set_created($c)
Set/get the creation date of the ebook.
$o = $m->modified()
$m->set_modified($o)
Set/get the modification date of the ebook.
$f = $m->format()
$m->set_format($f)
Set/get the format of the ebook.
$t = $m->title()
$m->set_title($t)
Set/get the title of the ebook.
@l = $m->language()
$m->set_language(@l)
$m->add_language(@l)
Set/get the language(s) of the ebook.
@g = $m->genre()
$m->set_genre(@g)
$m->add_genre(@a)
Set/get the genre(s) of the ebook.
$i = $m->id()
$m->set_id($i)
Set/get the identifier of the ebook.
$d = $m->description()
$m->set_description($d)
Set/get the text description of the ebook.
@c = $m->contributor()
$m->set_contributor(@c)
$m->add_contributor(@c)
Set/get the contributor(s) of the ebook.
AUTHOR
Written by Samuel Young, <samyoung12788@gmail.com>.
This project's source can be found on its Codeberg Page. Comments and pull requests are welcome!
COPYRIGHT
Copyright (C) 2025-2026 Samuel Young
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.