From c9d51c7de97f8af318fa7eb866c138a69676e1d7 Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Tue, 31 Oct 2023 11:05:28 +0100 Subject: Made a bunch of content fixes --- content/notes/2023-05-23-parse-rss-with-lua.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'content/notes/2023-05-23-parse-rss-with-lua.md') diff --git a/content/notes/2023-05-23-parse-rss-with-lua.md b/content/notes/2023-05-23-parse-rss-with-lua.md index c2cdcbc..ecd33d5 100644 --- a/content/notes/2023-05-23-parse-rss-with-lua.md +++ b/content/notes/2023-05-23-parse-rss-with-lua.md @@ -16,7 +16,7 @@ Example of parsing RSS feeds with Lua. Before running the script install: local http = require("socket.http") local feedparser = require("feedparser") -local feed_url = "https://mitjafelicijan.com/feed.rss" +local feed_url = "https://mitjafelicijan.com/index.xml" local response, status, _ = http.request(feed_url) if status == 200 then @@ -38,4 +38,3 @@ else print("! Request failed. Status:", status) end ``` - -- cgit v1.2.3