Console RSS reader application written in GnuCOBOL
Navigate to the source directory and run make
.
If that doesn't work you can also run the shell script build.sh
in the source directory. (Optional "--debug" parameter to create a debug build)
This will create the crssr
executable in the bin directory off the root of the repo as well as the necessary feeds directory.
- Open application in interactive mode and refresh feeds at start:
./crssr
- Open application in interactive mode and do not refresh feeds at start:
./crssr --no-refresh
- Open application in interactive mode and enable logging:
./crssr --logging=true
- Open application in interactive mode and disable logging (default if not set):
./crssr --logging=false
- Remove all current feeds by deleting data files in feeds directory:
./crssr --reset
- Run and enable auto configuration. This is turned on by default but is turned off if settings are manually modified on the configuration screen. Running with this command line arg will re-run and enable it. This can also be done through the configuration screen.
./crssr --auto-configuration
- Download and parse an RSS feed into feed list:
./crssr -a [url of rss feed]
- Delete existing RSS feed from feed list:
./crssr -d [url of rss feed]
- Export an existing RSS feed from feed list:
./crssr -o [output filename] [url of rss feed]
- Display usage help:
./crssr --help
- cobweb-pipes - https://sourceforge.net/p/gnucobol/contrib/HEAD/tree/trunk/tools/cobweb/cobweb-pipes/
- GnuCOBOL installed >= 3.1.2.0
- wget or curl installed
- lynx or links installed - optional - used to open RSS item in web browser
- xterm installed - optional - used to open web browser in new terminal window
- xmllint installed - optional - will be used if exists to attempt to format minified RSS feed XML to reparse.
- Linux(?) - Build script is written for Linux but can be modified to compile on other operating systems if needed.
RSS Feeds must be properly formatted application/rss+xml. Some RSS feeds will minify the data into a single line. If xmllint is installed, a second parse attempt will be attempted to properly format the RSS XML so that it can be parsed. If xmllint is not installed, RSS XML must be formatted correctly in order to be parsed.
Example of a properly formatted RSS feed: https://www.rssboard.org/files/sample-rss-2.xml