|
@@ -10,6 +10,7 @@
|
|
- [RSS](#rss)
|
|
- [RSS](#rss)
|
|
- [Videos](#videos)
|
|
- [Videos](#videos)
|
|
- [Hacker News](#hacker-news)
|
|
- [Hacker News](#hacker-news)
|
|
|
|
+ - [Lobsters](#lobsters)
|
|
- [Reddit](#reddit)
|
|
- [Reddit](#reddit)
|
|
- [Search](#search-widget)
|
|
- [Search](#search-widget)
|
|
- [Weather](#weather)
|
|
- [Weather](#weather)
|
|
@@ -533,6 +534,49 @@ Can be used to specify an additional sort which will be applied on top of the al
|
|
|
|
|
|
The `engagement` sort tries to place the posts with the most points and comments on top, also prioritizing recent over old posts.
|
|
The `engagement` sort tries to place the posts with the most points and comments on top, also prioritizing recent over old posts.
|
|
|
|
|
|
|
|
+### Lobsters
|
|
|
|
+Display a list of posts from [Lobsters](https://lobste.rs).
|
|
|
|
+
|
|
|
|
+Example:
|
|
|
|
+
|
|
|
|
+```yaml
|
|
|
|
+- type: lobsters
|
|
|
|
+ sort-by: hot
|
|
|
|
+ tags:
|
|
|
|
+ - go
|
|
|
|
+ - security
|
|
|
|
+ - linux
|
|
|
|
+ limit: 15
|
|
|
|
+ collapse-after: 5
|
|
|
|
+```
|
|
|
|
+
|
|
|
|
+<!--
|
|
|
|
+TODO: add preview
|
|
|
|
+
|
|
|
|
+Preview:
|
|
|
|
+
|
|
|
|
+ -->
|
|
|
|
+
|
|
|
|
+#### Properties
|
|
|
|
+| Name | Type | Required | Default |
|
|
|
|
+| ---- | ---- | -------- | ------- |
|
|
|
|
+| limit | integer | no | 15 |
|
|
|
|
+| collapse-after | integer | no | 5 |
|
|
|
|
+| sort-by | string | no | hot |
|
|
|
|
+| tags | array | no | |
|
|
|
|
+
|
|
|
|
+##### `limit`
|
|
|
|
+The maximum number of posts to show.
|
|
|
|
+
|
|
|
|
+##### `collapse-after`
|
|
|
|
+How many posts are visible before the "SHOW MORE" button appears. Set to `-1` to never collapse.
|
|
|
|
+
|
|
|
|
+##### `sort-by`
|
|
|
|
+The sort order in which posts are returned. Possible options are `hot` and `new`.
|
|
|
|
+
|
|
|
|
+##### `tags`
|
|
|
|
+Limit to posts containing one of the given tags. **You cannot specify a sort order when filtering by tags, it will default to `hot`.**
|
|
|
|
+
|
|
### Reddit
|
|
### Reddit
|
|
Display a list of posts from a specific subreddit.
|
|
Display a list of posts from a specific subreddit.
|
|
|
|
|
|
@@ -629,7 +673,7 @@ https://your.proxy/?url={REQUEST-URL}
|
|
##### `sort-by`
|
|
##### `sort-by`
|
|
Can be used to specify the order in which the posts should get returned. Possible values are `hot`, `new`, `top` and `rising`.
|
|
Can be used to specify the order in which the posts should get returned. Possible values are `hot`, `new`, `top` and `rising`.
|
|
|
|
|
|
-##### `top-perid`
|
|
|
|
|
|
+##### `top-period`
|
|
Available only when `sort-by` is set to `top`. Possible values are `hour`, `day`, `week`, `month`, `year` and `all`.
|
|
Available only when `sort-by` is set to `top`. Possible values are `hour`, `day`, `week`, `month`, `year` and `all`.
|
|
|
|
|
|
##### `search`
|
|
##### `search`
|