mirror of
https://github.com/Yetangitu/owncloud-apps.git
synced 2025-10-02 14:49:17 +02:00
- add rudimentary epub parser for metadata extraction
- add cover images - add configurable preview settings (should probably be in core or in a separate app) - add some metadata to feed template (file size, type and filename)
This commit is contained in:
parent
64cfb7925e
commit
007b7c7791
13 changed files with 704 additions and 12 deletions
|
@ -2,6 +2,14 @@
|
|||
|
||||
$l = OC_L10N::get('files_opds');
|
||||
|
||||
require 'files_opds/lib/epub-preview.php';
|
||||
|
||||
\OCP\App::registerPersonal('files_opds', 'personal');
|
||||
\OCP\App::registerAdmin('files_opds', 'admin');
|
||||
|
||||
/* enable preview providers... */
|
||||
// \OCA\Files_Opds\Config::setPreview('OC\Preview\Epub',true);
|
||||
|
||||
/* ..and register preview provider */
|
||||
\OC\Preview::registerProvider('OC\Preview\Epub');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue