X-Git-Url: https://git.ao2.it/tweeper.git/blobdiff_plain/df627f368a58ca224b48000846bef9152d30d987..82881272e23e07a492a35ce13258da09069e8c59:/tweeper.1.asciidoc diff --git a/tweeper.1.asciidoc b/tweeper.1.asciidoc index 36c1b3b..2a4a523 100644 --- a/tweeper.1.asciidoc +++ b/tweeper.1.asciidoc @@ -5,7 +5,7 @@ TWEEPER(1) NAME ---- -tweeper - web scraper to convert a Twitter timeline to an RSS feed +tweeper - web scraper to convert supported websites (e.g. Twitter.com) to RSS SYNOPSIS @@ -16,24 +16,28 @@ SYNOPSIS DESCRIPTION ----------- -tweeper(1) is a web scraper which extracts the most recent public tweets of -a given user from their home page on Twitter.com and formats them in RSS, so -the information can be conveniently accessed and collected by a feed reader. +tweeper(1) is a web scraper which can be used to conveniently follow the +public activity of social network users without the need to log in or even be +subscribed to the social network; tweeper converts the public information to +RSS so that it can be accessed and collected by a feed reader. -Tweeper started as the TWitter FEEd scraPER but support for other web sites +tweeper started as the TWitter fEEd scraPER but support for other web sites has been added. The sites that tweeper is able to scrape and convert to RSS are: - + * Twitter.com * Pump.io based websites, like Identi.ca * Dilbert.com +* Howtoons.com +* Instagram.com +* Facebook.com (public pages) tweeper can be used as: 1. a command line tool; -2. as a filter for feed readers; -3. as a web based tool when PHP support is available in the web server. +2. a filter for feed readers; +3. a web based tool when used with a PHP-enabled web server. OPTIONS @@ -57,6 +61,31 @@ Using tweeper as a filter for the Liferea feed reader: liferea-add-feed "|tweeper http://twitter.com/NSAcareers" +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 +----- + +In order to use tweeper with a symlink with the apache 'userdir' module, the +'SymLinksIfOwnerMatch' option must be replaced by 'FollowSymlink' in +/etc/apache2/mods-enabled/userdir.conf + EXIT STATUS ----------- @@ -79,7 +108,7 @@ Main web site: COPYING ------- -Copyright \(C) 2013 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