aboutsummaryrefslogtreecommitdiff
path: root/data/config.default.php
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2014-04-23 23:12:55 +0200
committerChristian Weiske <cweiske@cweiske.de>2014-04-23 23:12:55 +0200
commit6b3f1d4bb5c909413f31d7df5bab0e8a4084e29e (patch)
treefe1ea7bbefe3721bd3bb536da4c9c20bffca35df /data/config.default.php
parentaf2a061ecdfb4414ee0e8b500eccdf39a8d8cec5 (diff)
downloadsemanticscuttle-6b3f1d4bb5c909413f31d7df5bab0e8a4084e29e.tar.gz
semanticscuttle-6b3f1d4bb5c909413f31d7df5bab0e8a4084e29e.tar.bz2
Add support for phancap website thumbnailer.
Drop support for artviper, since their service is gone.
Diffstat (limited to 'data/config.default.php')
-rw-r--r--data/config.default.php34
1 files changed, 13 insertions, 21 deletions
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();