* add rss service

* git ignore rss

* update readme

* go fmt

* maintain map by url

* make rss service multi-tenant

* fixup the feed
This commit is contained in:
Asim Aslam
2021-05-20 14:48:52 +01:00
committed by GitHub
parent 1a4db7c673
commit feee6f3ccd
4 changed files with 73 additions and 72 deletions

View File

@@ -25,14 +25,20 @@ message Feed {
}
message Entry {
// unique id of the entry
string id = 1;
string domain = 2;
string url = 3;
// the rss feed where it came from
string feed = 2;
// rss feed url of the entry
string link = 3;
// title of the entry
string title = 4;
// article summary
string summary = 5;
// article content
string content = 6;
// data of the entry
int64 date = 7;
string category = 8;
}
message AddRequest {