feature/article #14

Closed
roxane.rossetto wants to merge 0 commits from feature/article into pre-master
Owner

The parser has been remade. There was a problem with the format of the data which goes in array into parser.

Now there are function in the gateway to add one article in database (addArticle(Article)) and one to remove all Article. This last one is used especially for the parser. I call it when I use the parser to display only the new articles.

In the model, we have the function getArticles() which return an array of articles. It creates an articleGateway to use getAllArticles.

And then, in the parser there are 3 functions which manage several stream (parseAll(fluxes)) and one stream which parse several articles (parseArticles(flux)). And finally addAllArticles() is the function which parse all articles of all stream in database.

This function has been tested

The parser has been remade. There was a problem with the format of the data which goes in array into parser. Now there are function in the gateway to add one article in database (addArticle(Article)) and one to remove all Article. This last one is used especially for the parser. I call it when I use the parser to display only the new articles. In the model, we have the function getArticles() which return an array of articles. It creates an articleGateway to use getAllArticles. And then, in the parser there are 3 functions which manage several stream (parseAll(fluxes)) and one stream which parse several articles (parseArticles(flux)). And finally addAllArticles() is the function which parse all articles of all stream in database. This function has been tested
roxane.rossetto added 18 commits 1 year ago
roxane.rossetto closed this pull request 1 year ago
roxane.rossetto reopened this pull request 1 year ago
roxane.rossetto closed this pull request 1 year ago
Please reopen this pull request to perform a merge.
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: roxane.rossetto/Php_RSS#14
Loading…
There is no content yet.