EBook::EPUB::Container.3pm

Langue: en

Version: 2010-03-19 (fedora - 01/12/10)

Section: 3 (Bibliothèques de fonctions)

NAME

EBook::EPUB::Container

SYNOPSIS

Abstract OEPBS Container implementation
     my $container = EBook::EPUB::Container->new()
     $container->add_path('/path/to/content.ncx', 'DATA/content.ncx');
     $container->add_path('/path/to/page1.xhtml', 'DATA/page1.xhtml');
     $container->add_path('/path/to/page2.xhtml', 'DATA/page2.xhtml');
     $container->add_root_file('DATA/content.ncx');
 
 

SUBROUTINES/METHODS

new()
Create new instance of EBook::EPUB::Container object
add_path($file_path, $container_path)
Add existing file into container
add_encrypted_path($container_path)
Mark file $container_path as encrypted. File should be already encrypted and added. This function just marks it encrypted
add_root_path($container_path)
Set file in container to be root file

AUTHOR

Oleksandr Tymoshenko, <gonzo@bluezbox.com>

BUGS

Please report any bugs or feature requests to <gonzo@bluezbox.com> 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.