Git Product home page Git Product logo

projetjava's People

Contributors

alla-dubovska avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

abishekatl

projetjava's Issues

[3h]. Implement Statistic module.

  1. Calculate statistic for every day.
  2. Send an email with gathered statistic once per day.

Statistic is the table with following information for every RSS link:

  • number of update requests.
  • number of failed update requests.
  • number of new articles that were fetched and saved.
  • number of new articles that were saved.

Then just add one more line with sums for every column.

[1h]. Save parsed models to specific files.

Here is a pattern app_dir/default/rss_link_name/timestamp_of_creation.csv.

Format of CSV file:
First line - titles of columns separated by \t - rss title description date author source link
Next lines - article fields separated by \t.

[2h]. Implement CLI to handle adding/listing/removing of RSS links.

Implement CLI to handle adding/listing/removing of RSS links:

  • add name link period_in_seconds
  • list
  • update name link period_in_seconds
  • remove name

Here is RssFeed structure:

  • Name (“name”)
  • Link (“url”)
  • Update period (“period”)
  • Last update timestamp (“last_update_ts”)

[1h]. Parse fetched data into models.

Here is Article structure:

  • The name of related RSS feed (“rss”)
  • Title (“title”)
  • Description (“description”)
  • Date of publication (“date”)
  • Author (“author”)
  • Website which is the source of the article (“source”)
  • URL link with original article (“link”)

[30m]. Add text filters.

Add text filters to:

  1. remove html tags and its content (what is inside of tags itself, not a content).
  2. replace all the space symbols with usual space “ ”.
  3. replace all sequences of several spaces with one space symbol.

[30m]. Implement Settings.

There are must be 2 commands:

  • set username
  • set email

Here is Settings structure:

  • Username (“username”)
  • Email (“email”)

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.