mirror of
https://github.com/Yetangitu/owncloud-apps.git
synced 2025-10-02 14:49:17 +02:00
OC8 port, 'should be compatible' with OC7 - please test...
Reader: ported to appframework, new version of epub.js
This commit is contained in:
parent
ba221c1d61
commit
c4d1ace999
50 changed files with 653 additions and 6064 deletions
|
@ -1,5 +1,17 @@
|
|||
<?php
|
||||
//load the required files
|
||||
|
||||
$l = OC_L10N::get('files_reader');
|
||||
OCP\Util::addscript( 'files_reader', 'loader');
|
||||
/**
|
||||
* ownCloud - Files_Reader App
|
||||
*
|
||||
* @author Frank de Lange
|
||||
* @copyright 2015 Frank de Lange
|
||||
*
|
||||
* This file is licensed under the Affero General Public License version 3 or
|
||||
* later.
|
||||
*/
|
||||
|
||||
namespace OCA\Files_Reader\AppInfo;
|
||||
|
||||
use OCP\Util;
|
||||
|
||||
Util::addscript( 'files_reader', 'plugin');
|
||||
|
|
|
@ -2,10 +2,18 @@
|
|||
<info>
|
||||
<id>files_reader</id>
|
||||
<name>Reader (ebook reader)</name>
|
||||
<description>Online ePub file reader</description>
|
||||
<version>0.5.0</version>
|
||||
<description>
|
||||
Reader is an ebook reader based on a pure javascript epub renderer. It only works for books formatted according to the epub standard.
|
||||
|
||||
Using the futurepress epub.js renderer (https://github.com/futurepress/epub.js) it provides near-native looks, especially when used full-screen. Turn pages by pressing the left/right hand side of the screen/window or using the cursor keys (if you have those), use the sidebar to browse through chapters or bookmarks and add annotations.
|
||||
|
||||
Reader has a night mode (toggled by clicking or pressing the book title/author on top of the viewer) to read in the dark without waking up the neighbours. This is obviously most effective when used full-screen. The colours used for night mode are configurable in the Settings dialog.
|
||||
|
||||
Also in Settings you'll find the option to use ignore any internal formatting in the book by forcing a given font style and size.
|
||||
</description>
|
||||
<version>0.6.0</version>
|
||||
<licence>LGPL</licence>
|
||||
<author>Frank de Lange, (taken clues from Thomas Müller/files_pdfviewer, using slightly modified Futurepress/epub.js)</author>
|
||||
<author>Frank de Lange</author>
|
||||
<require>7.0</require>
|
||||
<shipped>false</shipped>
|
||||
<default_enable/>
|
||||
|
|
|
@ -10,6 +10,9 @@
|
|||
* later.
|
||||
*/
|
||||
|
||||
$this->create('files_reader', '/')
|
||||
->actionInclude('files_reader/viewer.php');
|
||||
namespace OCA\Files_Reader\AppInfo;
|
||||
|
||||
return ['routes' => [
|
||||
['name' => 'display#showReader', 'url' => '/', 'verb' => 'GET'],
|
||||
]];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue