commit 15451be030a48779a5c1d2f61d547f77e91378a5
parent 80424d2854f8cb8978fe845fa6dee1d9e5bd8bcc
Author: NunoSempere <nuno.semperelh@protonmail.com>
Date: Sun, 28 Apr 2024 19:48:40 +0200
add forecasting newsletter shortcut
Diffstat:
5 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/plugins/readability/readability.c b/plugins/readability/readability.c
@@ -1,7 +1,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#define READABILITY_N 88067 + 1000
+#define READABILITY_N 88097 + 1000
void read_readability_js(char* string)
{
diff --git a/plugins/readability/readability.h b/plugins/readability/readability.h
@@ -1,5 +1,5 @@
#pragma once
-#define READABILITY_N 88067 + 1000
+#define READABILITY_N 88097 + 1000
void read_readability_js(char* string);
diff --git a/plugins/shortcuts/shortcuts.c b/plugins/shortcuts/shortcuts.c
@@ -22,6 +22,7 @@ int shortcut_expand(const char* uri, char* output)
"!blog",
"!fnf",
"!fnc",
+ "!fs",
"!hn",
"!hnb",
"!ww",
@@ -33,6 +34,7 @@ int shortcut_expand(const char* uri, char* output)
"https://nunosempere.com/blog",
"https://forum.nunosempere.com/frontpage",
"https://forum.nunosempere.com/comments",
+ "https://forecasting.substack.com",
"https://news.ycombinator.com",
"https://news.ycombinator.com/best",
"https://web.whatsapp.com",
diff --git a/plugins/style/style.c b/plugins/style/style.c
@@ -1,7 +1,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#define STYLE_N 7830 + 1000
+#define STYLE_N 7831 + 1000
void read_style_js(char* string)
{
diff --git a/plugins/style/style.h b/plugins/style/style.h
@@ -1,5 +1,5 @@
#pragma once
-#define STYLE_N 7830 + 1000
+#define STYLE_N 7831 + 1000
void read_style_js(char* string);