From 6b3f1d4bb5c909413f31d7df5bab0e8a4084e29e Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Wed, 23 Apr 2014 23:12:55 +0200 Subject: Add support for phancap website thumbnailer. Drop support for artviper, since their service is gone. --- data/config.default.php | 34 +++++++++++++--------------------- 1 file changed, 13 insertions(+), 21 deletions(-) (limited to 'data/config.default.php') diff --git a/data/config.default.php b/data/config.default.php index 2f32df7..5e560a7 100644 --- a/data/config.default.php +++ b/data/config.default.php @@ -542,35 +542,27 @@ $defaults['privacy'] = 0; */ /** - * Enable bookmark website thumbnails. + * Which thumbnail service type to use. * - * According to artviper.net license, buy a license if you - * gain profit with your pages. + * Currently supported: + * - null (no screenshots) + * - 'phancap', see http://cweiske.de/phancap.htm * - * @var boolean - * @link http://www.websitethumbnail.de/ + * @var string */ -$enableWebsiteThumbnails = false; +$thumbnailsType = null; /** - * User ID from websitethumbnail.de - * - * You need to register on - * http://www.artviper.net/registerapi.php - * in order to use thumbnails on your domain + * Configuration for thumbnail service. * - * @var string - * @link http://www.artviper.net/registerapi.php - */ -$thumbnailsUserId = null; - -/** - * API key. - * Sent to you by artviper.net after registration. + * Phancap requires an array with the following keys: + * - url: URL to phancap's get.php file + * - token: user name (if access protected) + * - secret: password for the user (if access protected) * - * @var string + * @var array */ -$thumbnailsKey = null; +$thumbnailsConfig = array(); -- cgit v1.2.3-54-g00ecf