1EBook::EPUB::Container(U3s)er Contributed Perl DocumentatEiBoonok::EPUB::Container(3)
2
3
4
6 EBook::EPUB::Container
7
9 Abstract OEPBS Container implementation
10
11 my $container = EBook::EPUB::Container->new()
12 $container->add_path('/path/to/content.ncx', 'DATA/content.ncx');
13 $container->add_path('/path/to/page1.xhtml', 'DATA/page1.xhtml');
14 $container->add_path('/path/to/page2.xhtml', 'DATA/page2.xhtml');
15 $container->add_root_file('DATA/content.ncx');
16
18 new()
19 Create new instance of EBook::EPUB::Container object
20
21 add_path($file_path, $container_path)
22 Add existing file into container
23
24 add_encrypted_path($container_path)
25 Mark file $container_path as encrypted. File should be already
26 encrypted and added. This function just marks it encrypted
27
28 add_root_path($container_path)
29 Set file in container to be root file
30
32 Oleksandr Tymoshenko, <gonzo@bluezbox.com>
33
35 Please report any bugs or feature requests to <gonzo@bluezbox.com>
36
38 Copyright 2009, 2010 Oleksandr Tymoshenko.
39
40 <http://bluezbox.com>
41
42 This module is free software; you can redistribute it and/or modify it
43 under the terms of the BSD license. See the LICENSE file included with
44 this distribution.
45
46
47
48perl v5.38.0 2023-07-20 EBook::EPUB::Container(3)