aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/freshrss
diff options
context:
space:
mode:
authorLibravatar Vijay A <vraravam@users.noreply.github.com>2022-04-18 06:51:50 -0500
committerLibravatar Vijay A <vraravam@users.noreply.github.com>2022-04-18 06:51:50 -0500
commit18801ed0c02627e87639dc0848cab44dacc18be2 (patch)
tree15e56ba66c68bf7b4594e6c9fdef44e037b4be31 /recipes/freshrss
parentRemove deprecated webPreference flag (diff)
downloadferdium-recipes-18801ed0c02627e87639dc0848cab44dacc18be2.tar.gz
ferdium-recipes-18801ed0c02627e87639dc0848cab44dacc18be2.tar.zst
ferdium-recipes-18801ed0c02627e87639dc0848cab44dacc18be2.zip
Rebranded from 'ferdi' to 'ferdium' (companion changes for the main repo PR #2)
Diffstat (limited to 'recipes/freshrss')
-rw-r--r--recipes/freshrss/README.md4
-rw-r--r--recipes/freshrss/index.js4
-rw-r--r--recipes/freshrss/package.json4
-rw-r--r--recipes/freshrss/webview.js6
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
3Unofficial Ferdi recipe for [FeshRSS](https://freshrss.org/) \ No newline at end of file 3Unofficial 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
5module.exports = Ferdi => Ferdi; \ No newline at end of file 5module.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
3module.exports = Ferdi => { 3module.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};