1
0
Fork 0
mirror of https://github.com/Yetangitu/owncloud-apps.git synced 2025-10-02 14:49:17 +02:00

Added ISBN metadata gathering, currently using ISBNdb and Google Books, more sources to be added. ISBN is scraped from text or discovered through embedded metadata.

This commit is contained in:
frankdelange 2014-12-20 01:22:06 +01:00
parent b6ac51058d
commit a161bd0d05
12 changed files with 527 additions and 54 deletions

View file

@ -25,12 +25,14 @@ if (isset($_POST['opdsCoverX'])) {
$opdsThumbX = isset($_POST['opdsThumbX']) ? (int) $_POST['opdsThumbX'] : 36;
$opdsThumbY = isset($_POST['opdsThumbY']) ? (int) $_POST['opdsThumbY'] : 36;
$opdsFeedSubtitle = isset($_POST['opdsFeedSubtitle']) ? $_POST['opdsFeedSubtitle'] : $l->t("%s OPDS catalog", $defaults->getName());
$opdsIsbndbKey = isset($_POST['opdsIsbndbKey']) ? $_POST['opdsIsbndbKey'] : '';
Config::setApp('cover-x', $opdsCoverX);
Config::setApp('cover-y', $opdsCoverY);
Config::setApp('thumb-x', $opdsThumbX);
Config::setApp('thumb-y', $opdsThumbX);
Config::setApp('feed_subtitle', $opdsFeedSubtitle);
Config::setApp('isbndb-key', $opdsIsbndbKey);
} else {
// set preview preferences
$opdsPreviewEpub = $_POST['opdsPreviewEpub'];