commit 54a8ea53ade4ad861800d994fdaf4ec07be590f3
parent 955b0a89c80b7d0e7b7bdf0b17c30cef1bb1f13e
Author: Kebigon <git@kebigon.xyz>
Date: Sat, 28 Mar 2020 12:02:58 +0900
Update README
Diffstat:
1 file changed, 9 insertions(+), 6 deletions(-)
diff --git a/README.md b/README.md
@@ -5,14 +5,16 @@ Feed aggregator microservice based on Spring
Just send a POST request, with in the body of the request a JSON object with the below:
-| Parameter | Description |
-| --------- | ------------------------------------------- |
-| limit | Number of feed entries to be provided |
-| urls | List of RSS/Atom/RDF feed URLs to aggregate |
+| Parameter | Description |
+| ---------- | ------------------------------------------------------------------------------------------------------------------------------------------- |
+| limit | Number of feed entries to be provided |
+| urls | List of RSS/Atom/RDF feed URLs to aggregate |
+| dateBefore | Filter the entries to only keep the ones with a publication date before or equals to this argument. Format is "yyyy-MM-dd", timezone is UTC |
+| dateAfter | Filter the entries to only keep the ones with a publication date after or equals to this argument. Format is "yyyy-MM-dd", timezone is UTC |
Example:
- POST http://5.39.83.109:15866
+ POST https://yuzurss.kebigon.xyz
{
"limit": 2,
@@ -20,7 +22,8 @@ Example:
"https://www.youtube.com/feeds/videos.xml?user=epenser1",
"https://www.youtube.com/feeds/videos.xml?user=scilabus",
"https://www.youtube.com/feeds/videos.xml?user=TroncheEnBiais"
- ]
+ ],
+ "dateAfter": "2020-01-22"
}
The response will be a [JSON Feed](https://jsonfeed.org/version/1):