From 22f5ac8fcec4dbfcc1f5033f18bc4eeca52a747d Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Tue, 31 Oct 2023 08:20:22 +0100 Subject: Made the side more retro! --- public/parse-rss-with-lua.html | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) (limited to 'public/parse-rss-with-lua.html') diff --git a/public/parse-rss-with-lua.html b/public/parse-rss-with-lua.html index e004a60..98a8548 100755 --- a/public/parse-rss-with-lua.html +++ b/public/parse-rss-with-lua.html @@ -1,9 +1,12 @@ -Parse RSS feeds with Lua

Parse RSS feeds with Lua

note, May 23, 2023 on Mitja Felicijan's blog

Example of parsing RSS feeds with Lua. Before running the script install:

  • feedparser with luarocks install feedparser
  • luasocket with luarocks install luasocket
local http = require("socket.http")
 local feedparser = require("feedparser")
 
 local feed_url = "https://mitjafelicijan.com/feed.rss"
@@ -27,7 +30,7 @@
 else
   print("! Request failed. Status:", status)
 end
-

Posts from blogs I follow around the net