Skip to content
lantrix edited this page Aug 19, 2010 · 6 revisions

This page tells you how to install and run the Generic Perl Version on Linux and similar systems as well as on a Web Server. If you want you can also read the Installation On Mac OS X.

INTRODUCTION

The prsslist program is written in the Perl computer language. In order to run, it requires a copy of the Perl language system which is commonly found preinstalled on most Linux and similar systems, as well as on most web servers.

This page is oriented towards users with technical experience who are comfortable with configuring and running programs from the command line or setting up web CGI programs.

The system requirements are: Internet connection if uploading the RSS files by FTP, 200KB+ disk space, Perl language system that includes the library modules:

  • LWP::UserAgent
  • Net::FTP
  • Time::Local.

USING IT ON YOUR SYSTEM

Installation

Follow these instructions to install and run prsslist:

  • Make sure that you have Perl installed on your system. When you have Perl installed, you can run Perl programs from the command line by executing “perl programfile” or if you are running a web server, by serving a Perl program whose permission is set to “Execute”. You can check that Perl is installed and see the version information by executing the command perl -v.
  • Read the License Agreement to make sure that you understand the restrictions and rights that apply to this program. The source code is covered by the GNU GPLv2. The Generic Perl Version is available for free and comes with no warranty of any kind.
  • If you do not agree to the above license, do not download or use the program.* You may not use or copy the program except under terms of the license.
  • Download the Local Generic Perl Version from the Downloads page, or use git to clone the latest version by following these steps

    git clone git://github.com/lantrix/prsslist.git
  • You run the program locally by extracting the download and executing the commands:

    cd prsslist perl prsslist.pl option values
  • You can get a list of options by using the “-h” option. When executing the program, you can exit before it’s finished by pressing Ctrl-C.

Using the program

After you start the program running, you interact with it by accessing the URL it lists. By default, you need to open the following local URL with your browser:

http://127.0.0.1:6555
You normally quit by using the “Quit” command in the user interface.

Only the following files are needed for local execution. All others may be deleted.

  • prsslist.pl
  • prsslist.pm
  • prsslistLicense.pm

prsslist maintains one or more files locally to save all the feed information. By default, those files are stored in the current directory. The files are named “prefix.feed.name.txt”, where “prefix” is “listdata” by default and “name” is a name you give to each feed when you create it (for example, “listdata.feed.dblog.txt”). The -d string option can be used to set a different datafile prefix than the default “listdata”. The prefix may include path information to use a different directory, e.g., “~/prsslist/data/feeddata”.

Troubleshooting

If the program displays an error message when run complaining about a missing module, such as LWP, or LWP::UserAgent, you can get the missing module from CPAN. Most Perl installations include the CPAN.pm module to automate this downloading process. You can seek further help to get an idea how to use CPAN.pm. CPAN.pm documentation should be available on your computer by using the command “perldoc CPAN”.

Uninstall

Delete the directory created when you cloned the git repository.

Clone this wiki locally