sfeed_gopher: add some h type tests - sfeed_tests - sfeed tests and RSS and Atom files
(HTM) git clone git://git.codemadness.org/sfeed_tests
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 13e039c87cd7c428899ca85c8705c2316ce9c3e4
(DIR) parent d42f484478d1e8753afe83ad3ccb0605c55d2b0c
(HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sat, 20 Sep 2025 15:27:19 +0200
sfeed_gopher: add some h type tests
use separate baseuri and gopherhost to for easier review.
Diffstat:
M input/sfeed_gopher/feed.sh | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
---
(DIR) diff --git a/input/sfeed_gopher/feed.sh b/input/sfeed_gopher/feed.sh
@@ -26,6 +26,11 @@ link "gopher://codemadness.org:7070/1/cgi?query=hello%20world"
link "gophers://codemadness.org:7070/1/cgi?query=hello%20world"
link "gophers://codemadness.org/1/cgi?query=hello%20world"
+# h type, but not an external link: HTML file.
+link "gopher://codemadness.org/h/index.html"
+# h type, external link (weird case that should never happen)
+link "gopher://codemadness.org/hURL:https://external.org"
+
link "tel:0612345678"
link "mailto:test@test.org"
@@ -49,8 +54,8 @@ sfeed_gopher="sfeed_gopher"
#sfeed_gopher="$HOME/p/sfeed/sfeed_gopher"
#feed | $sfeed | ${sfeed_gopher}
-#feed | $sfeed "https://codemadness.org" | ${sfeed_gopher}
-#feed | $sfeed "https://codemadness.org" | SFEED_GOPHER_HOST="codemadness.org" SFEED_GOPHER_PORT="6969" SFEED_GOPHER_PATH="" ${sfeed_gopher}
-#feed | $sfeed "https://codemadness.org" | SFEED_GOPHER_HOST="codemadness.org" SFEED_GOPHER_PORT="6969" SFEED_GOPHER_PATH="/" ${sfeed_gopher}
+#feed | $sfeed "https://baseuri.org" | ${sfeed_gopher}
+#feed | $sfeed "https://baseuri.org" | SFEED_GOPHER_HOST="gopherhost.org" SFEED_GOPHER_PORT="6969" SFEED_GOPHER_PATH="" ${sfeed_gopher}
+#feed | $sfeed "https://baseuri.org" | SFEED_GOPHER_HOST="gopherhost.org" SFEED_GOPHER_PORT="6969" SFEED_GOPHER_PATH="/" ${sfeed_gopher}
-feed | $sfeed "gopher://codemadness.org" | SFEED_GOPHER_HOST="codemadness.org" SFEED_GOPHER_PORT="6969" SFEED_GOPHER_PATH="/" ${sfeed_gopher}
+feed | $sfeed "gopher://baseuri.org" | SFEED_GOPHER_HOST="gopherhost.org" SFEED_GOPHER_PORT="6969" SFEED_GOPHER_PATH="/" ${sfeed_gopher}