X-Git-Url: https://git.ao2.it/tweeper.git/blobdiff_plain/73c2c3b86ad0bc069e3a3e905fb84d94e2832971..21834a24e33e223229427361b1bd2c793801ddd4:/tweeper.1.asciidoc?ds=sidebyside diff --git a/tweeper.1.asciidoc b/tweeper.1.asciidoc index 56beabd..2a4a523 100644 --- a/tweeper.1.asciidoc +++ b/tweeper.1.asciidoc @@ -37,7 +37,7 @@ tweeper can be used as: 1. a command line tool; 2. a filter for feed readers; -3. a web based tool when PHP support is available in the web server. +3. a web based tool when used with a PHP-enabled web server. OPTIONS @@ -61,10 +61,22 @@ Using tweeper as a filter for the Liferea feed reader: liferea-add-feed "|tweeper http://twitter.com/NSAcareers" -Using tweeper via web (the symlink must be created only the very first time): +To use tweeper via web there are two options (the examples assume the +installation directory to be `/usr/share/php/tweeper/`): + +1. Using the PHP built-in web server: + + php -S localhost:8000 -t /usr/share/php/tweeper/ ++ +and then visit 'http://localhost:8000/tweeper.php' in the web browser. + +2. Using a generic web server with the document root in '/var/www': sudo ln -s /usr/share/php/tweeper/tweeper.php /var/www xdg-open http://localhost/tweeper.php?src_url=http://twitter.com/NSAcareers ++ +It is enough to create the symlink only the very first time tweeper is used +this way. NOTES @@ -96,7 +108,7 @@ Main web site: COPYING ------- -Copyright \(C) 2013-2014 Antonio Ospite +Copyright \(C) 2013-2015 Antonio Ospite This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by