Feb 9, 2018:
luarocks install feedparser
will use feedparser to parse rss and atom files. it requires the lxp or lua expat module to be installed too, which i did above.
Lua's builtin string.match is okay for light work, but I'll occasionally need more Perl-like power.
Feb 14, 2018 on my DO Droplet:
apt-get update apt-get install libpcre3 libpcre3-dev
luarocks install lrexlib-pcre
I need to compile few application and I need Perl 5 Compatible Regular Expression Library (PCRE). Under CentOS I can use a package called pcre-devel, but Debian do not have the same. How do I install pcre-devel under Debian / Ubuntu Linux?
Perl-compatible regular expression library. PCRE has its own native API, but a set of “wrapper” functions that are based on the POSIX API are also supplied in the library libpcreposix. Note that this just provides a POSIX calling interface to PCRE: the regular expressions themselves still follow Perl syntax and semantics. The header file for the POSIX-style functions is called pcreposix.h. To install PCRE, type thy following command:
Feb 15, 2018
luarocks install html-entities
Something to consider. I'll probably need this. Have not installed it yet as of Feb 15, 2018. Looks interesting.
someone else's helper functions for lists:
luarocks install cgilua
installed cgilua-5.2.1-1 on Mar 21.
web projects to view in the future.
did this on mar 21, 2018:
luarocks install wsapi-xavante
luarocks install wsapi
trying to resolve an error in cgilua.
/usr/local/share/lua/5.3/cgilua.lua:93: attempt to index a nil value (upvalue 'SAPI')
This guy had the same error 4 months ago, but his post received no replies.
tried installing this but it won't build because of fcgi .h file missing. https://luarocks.org/modules/mascarenhas/wsapi-fcgi
i may need https://github.com/eatonphil/fastcgi-development-kit if i want to continue with this crap.
Xavante is a webserver written in pure Lua. To use the Xavante connector, install the "wsapi-xavante" rock