Rechercher une page de manuel
EBook::EPUB::Container::Zip.3pm
Langue: en
Version: 2010-05-05 (fedora - 01/12/10)
Section: 3 (Bibliothèques de fonctions)
NAME
EBook::EPUB::Container::ZipSYNOPSIS
Zip OEPBS Container implementationmy $container = EBook::EPUB::Container::Zip->new('/path/to/file.epub') # EBook::EPUB::Container methods $container->add_path('/path/to/content.ncx', 'DATA/content.nx'); $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'); # Write it to disk $container->write();
SUBROUTINES/METHODS
- new($zipfile)
- Create new instance of EBook::EPUB::Container::Zip object. $zipfile is a file where container should be saved
- write()
- Create zip file with container contents
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.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre