mirror of
https://github.com/Yetangitu/owncloud-apps.git
synced 2025-10-02 14:49:17 +02:00
OPDS catalog: add Google Books API key (optional, increases rate limit when used)
This commit is contained in:
parent
0f7a2b145a
commit
e135c7ba14
5 changed files with 17 additions and 4 deletions
|
@ -26,6 +26,7 @@ $formats = array(
|
|||
$tmpl = new \OCP\Template('files_opds', 'admin');
|
||||
$tmpl->assign('feedSubtitle', Config::getApp('feed-subtitle', $l->t("%s OPDS catalog", $defaults->getName())));
|
||||
$tmpl->assign('isbndbKey', Config::getApp('isbndb-key', ''));
|
||||
$tmpl->assign('googleKey', Config::getApp('google-key', ''));
|
||||
$tmpl->assign('previewFormats', $formats);
|
||||
$tmpl->assign('cover-x', Config::getApp('cover-x', '200'));
|
||||
$tmpl->assign('cover-y', Config::getApp('cover-y', '200'));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue