NAME

EBook::FB2::Description

SYNOPSIS

EBook::FB2::Description - FB2 document metadata

SUBROUTINES/METHODS

title_info()

Returns reference to EBook::FB2::Description::TitleInfo object that contains book metadata.

src_title_info()

Returns reference to EBook::FB2::Description::TitleInfo object that contains original book metadata. Valid if book is translation.

publish_info()

Returns reference to EBook::FB2::Description::PublicationInfo

document_info()

Returns reference to EBook::FB2::Description::DocumentInfo object that contains document metadata: program used, OCR info, etc.

custom_infos()

Returns list of references to EBook::FB2::Description::CustomInfo objects

FORWARDED METHODS

These methods provided to make access to document metada easier and generally they are just forwarders to title_info, src_title_info, document_info, publish_info members

    # these are the same
    my $src_title = $fb2->desciption->src_book_title;
    my $src_title = $fb2->desciption->src_title_info->book_title;

    # these are the same
    my $isbn = $fb2->desciption->isbn;
    my $isbn = $fb2->desciption->publication_info->isbn;

    

You've got the idea...

annotation()

Returns reference to XML::DOM::Node, parsed annotation

authors()

Returns list of book authors (references to EBook::FB2::Description::Author)

book_title()

Returns book title

coverpages()

Returns list of ids that references to images with original cover artwork

date()

Returns book creation date

document_authors()

Returns document(fb2) creators

document_date()

Returns document(fb2) moification/creation date

document_history()

Returns document(fb2) history

document_id()

Returns document(fb2) id

document_program_used()

Returns program that has been used for generating this document

document_publishers()

Returns publisher of FB2 document (not book)

document_src_ocr()

Returns OCR author

document_src_urls()

Returns source URL of original document

document_version()

Return document version

genres()

Returns list of genres book falls in (references to EBook::FB2::Description::Genre)

isbn()

Returns book ISBN

keywords()

Returns book keyword

lang()

Return book languagage: "ru", "en", etc...

publication_city()

Returns city where book has been published

publication_title()

Returns original publication title

publication_year()

Returns publication year

publisher()

Returns book publisher

sequences()

Returns list of sequences book belongs to (references to EBook::FB2::Description::Sequence)

src_authors()

See authors. Valid if book is translation.

src_book_title()

See book_title. Valid if book is translation.

src_coverpages()

See coverpages. Valid if book is translation.

src_date()

See date. Valid if book is translation.

src_genres()

See genres. Valid if book is translation.

src_keywords()

See keywords. Valid if book is translation.

src_lang()

Original book language. Valid if book is translation.

src_sequences()

See sequences. Valid if book is translation.

translators()

Returns list of translators represented by references to EBook::FB2::Description::Author objects;

AUTHOR

Oleksandr Tymoshenko, <gonzo@bluezbox.com>

BUGS

Please report any bugs or feature requests to <gonzo@bluezbox.com>

LICENSE AND COPYRIGHT

Copyright 2009, 2010 Oleksandr Tymoshenko.

http://bluezbox.com

This module is free software; you can redistribute it and/or modify it under the terms of the BSD license. See the LICENSE file included with this distribution.