diff options
Diffstat (limited to 'recipes/freshrss')
-rw-r--r-- | recipes/freshrss/README.md | 4 | ||||
-rw-r--r-- | recipes/freshrss/index.js | 4 | ||||
-rw-r--r-- | recipes/freshrss/package.json | 4 | ||||
-rw-r--r-- | recipes/freshrss/webview.js | 6 |
4 files changed, 9 insertions, 9 deletions
diff --git a/recipes/freshrss/README.md b/recipes/freshrss/README.md index 4b9b17c..3f50e87 100644 --- a/recipes/freshrss/README.md +++ b/recipes/freshrss/README.md | |||
@@ -1,3 +1,3 @@ | |||
1 | # FreshRSS for Ferdi | 1 | # FreshRSS for Ferdium |
2 | 2 | ||
3 | Unofficial Ferdi recipe for [FeshRSS](https://freshrss.org/) \ No newline at end of file | 3 | Unofficial Ferdium recipe for [FeshRSS](https://freshrss.org/) |
diff --git a/recipes/freshrss/index.js b/recipes/freshrss/index.js index f8a6e85..ede7c6d 100644 --- a/recipes/freshrss/index.js +++ b/recipes/freshrss/index.js | |||
@@ -1,5 +1,5 @@ | |||
1 | "use strict"; | 1 | "use strict"; |
2 | 2 | ||
3 | // just pass through ferdi | 3 | // just pass through ferdium |
4 | 4 | ||
5 | module.exports = Ferdi => Ferdi; \ No newline at end of file | 5 | module.exports = Ferdium => Ferdium; |
diff --git a/recipes/freshrss/package.json b/recipes/freshrss/package.json index 64d44db..b0396d3 100644 --- a/recipes/freshrss/package.json +++ b/recipes/freshrss/package.json | |||
@@ -1,9 +1,9 @@ | |||
1 | { | 1 | { |
2 | "id": "freshrss", | 2 | "id": "freshrss", |
3 | "name": "FreshRSS", | 3 | "name": "FreshRSS", |
4 | "version": "1.0.1", | 4 | "version": "1.1.0", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "hasCustomUrl": true | 7 | "hasCustomUrl": true |
8 | } | 8 | } |
9 | } | 9 | } |
diff --git a/recipes/freshrss/webview.js b/recipes/freshrss/webview.js index 75da933..cdc6e55 100644 --- a/recipes/freshrss/webview.js +++ b/recipes/freshrss/webview.js | |||
@@ -1,6 +1,6 @@ | |||
1 | "use strict"; | 1 | "use strict"; |
2 | 2 | ||
3 | module.exports = Ferdi => { | 3 | module.exports = Ferdium => { |
4 | const getMessages = function getMessages() { | 4 | const getMessages = function getMessages() { |
5 | // Initialize empty vars | 5 | // Initialize empty vars |
6 | var unread = 0; | 6 | var unread = 0; |
@@ -14,12 +14,12 @@ module.exports = Ferdi => { | |||
14 | // Some logic to handle the match groups | 14 | // Some logic to handle the match groups |
15 | unread = match != null && match.length > 0 ? match[0] : 0; | 15 | unread = match != null && match.length > 0 ? match[0] : 0; |
16 | // Set unread msgs badge | 16 | // Set unread msgs badge |
17 | Ferdi.setBadge(Number.parseInt(unread, 10)); | 17 | Ferdium.setBadge(Number.parseInt(unread, 10)); |
18 | }; | 18 | }; |
19 | 19 | ||
20 | const loopFunc = () => { | 20 | const loopFunc = () => { |
21 | getMessages(); | 21 | getMessages(); |
22 | }; | 22 | }; |
23 | 23 | ||
24 | Ferdi.loop(loopFunc); | 24 | Ferdium.loop(loopFunc); |
25 | }; | 25 | }; |