From 3c2b35191d08c5da8fcddee8a73874b3126fd58b Mon Sep 17 00:00:00 2001 From: emkael Date: Mon, 9 Feb 2015 20:20:41 +0100 Subject: * README update --- README | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/README b/README index 4ea84ed..5667a7a 100644 --- a/README +++ b/README @@ -3,11 +3,10 @@ 1.1 Pre-requirements * HTTP server with mod_rewrite support - * PHP >= 5.4 - * HTTP stream context and remote file_get_contents (`allow_url_fopen=1`) - execution enabled - * PECL HTTP v2 (`pecl install pecl_http`) - * QueryPath library (developed and tested with v2.1.2) + * Apache mod_python + * Python 2.x (tested on 2.7) + * BeautifulSoup4 + * Python modules: hashlib, json, os, re, time, urllib, urllib2, urlparse 1.2 Installation @@ -17,13 +16,13 @@ 1.3 Configuration -Main application file, http/index.php defines some configuration parameters: +Main application file, http/index.py defines some configuration parameters: * BASE_PATH: absolute path for the application within host/domain (change if you're planning on running the app from a subfolder) * CACHE_PATH: path to the cache data folder (must be writable by web-server), - relative to http/index.php + relative to http/index.py * CEZAR_URL: remote URL for fetched site (main page) - * QUERYPATH_PATH: path to the QueryPath.php file from QueryPath library + * CACHE_EXPIRY_LIMIT: oldest cache timestamp to not be refreshed from remote 2. Usage -- cgit v1.2.3