ntopng/scripts/callbacks/daily-delayed/system/fetch_blog_feed.lua
2023-01-01 16:37:57 +01:00

15 lines
329 B
Lua

--
-- (C) 2013-23 - ntop.org
--
--
-- This script fetches the latest blog entries that
-- will be shown in the web GUI on the top right corner
--
local dirs = ntop.getDirs()
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
local blog_utils = require("blog_utils")
blog_utils.fetchLatestPosts()