Git Product home page Git Product logo

feedreader's Introduction

ISA Project 2022/23 - RSS/Atom FeedReader

Project for the BUT FIT course ISA, year 22/23. RSS 2.0 / Atom CLI reader.

Author: Tadeas Kozub xkozub06

Contact: [email protected]

Installation

Run the Makefile to compile the project:

$ make

This will create a file named feedreader.

!WARNING! Error /usr/bin/ld: cannot find -lstdc++ during compilation means that you do not have static libraries available. In this case, use the nostatic target as follows:

$ make nostatic

The program should now compile correctly and, as mentioned in the previous paragraph, create an executable file named feedreader.

To run the tests, use the following command:

$ make test

To clean the directory, use:

$ make clean

Usage

Display the content from the specified feeds and any additional information using this command:

$ ./feedreader <URL | -f <feedfile>> [-c <certfile>] [-C <certaddr>] [-T] [-a] [-u] [-d]

Both HTTP and HTTPS connections are supported for feed sources. The feedfile format is a standard text file containing URL links, each on its own line, and optionally also containing comments starting with the # symbol on their own line. The file is a standard UNIX file with \n line endings and one \n at the end of the file.

You can provide the program with a certificate file, a directory with certificates, or both. If you do not use either of these options, the system's default certificates will be used.

Usage Examples

$ ./feedreader -f ~/feed_file.txt -a
# Display feeds from URLs specified in the feedfile and for each article
# also display author information if available

$ ./feedreader https://what-if.xkcd.com/feed.atom -c ~/certs/my_cert_file.crt
# Display the feed from xkcd.com and use the specified certificate from the ~/certs/ directory
# for identity verification

$ ./feedreader https://what-if.xkcd.com/feed.atom -Tau >> feed_output.txt
# Display all supported information (if available)
# and redirect the program's output to the specified file

feedreader's People

Contributors

tedkozub avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.