Option to disable linked URL indexing
[phinde.git] / data / config.php.dist
index 4c6a14fe8962151708a7929e7740e8bf209501c7..dc1cff85131b3c524121e1c4607df2871851fe80 100644 (file)
@@ -1,9 +1,23 @@
 <?php
 $GLOBALS['phinde'] = array(
     'elasticsearch' => 'http://127.0.0.1:9200/phinde/',
+    //whitelist of domains that shall be crawled
     'domains' => array(
         'www.example.org',
         'test.example.org'
-    )
+    ),
+    //list of URL beginnings that should be ignored
+    'blacklist' => array(
+        'http://bad.example.org/'
+    ),
+    //list of URLs that should be subscribed to with PubSubHubbub
+    'subscriptions' => array(
+        'http://www.example.org/feed',
+    ),
+    //time in seconds after which URLs may be re-indexed
+    'refreshtime' => 86400,
+    //if directly linked URLs shall be indexed, even if they are
+    // on a non-whitelisted domain
+    'indexNonAllowed' => true,
 );
 ?>
\ No newline at end of file