Does anyone know how to get this Lua utility-library from GitHub working in AMS?
Web Data Mining for Lua: https://github.com/mkottman/wdm
Using the example (google.lua) provided there, I've placed a copy of the wdm.lua script (module) in my project's Scripts folder, and then called it from my On Click event via:
However, the wdm.lua script itself uses several 'require' statements (ie. it has its own dependencies):
... for which I don't know how to compile the necessary .lua scripts (modules)
The aforementioned GitHub page on which this is hosted, does provide links to these required modules but they're either dead links or they don't link to actual .lua scripts. For example, the link for the 'tidy' module:(https://github.com/mkottman/tidy) just goes to the C++ source code for the Lua htmltidy bindings. And I have no clue as to how to produce a .lua tidy.script (module) from it.
If I try to google for pre-existing .lua scripts for any of the above-listed required modules, they just don't seem to exist. So, am I doing something wrong? Or am I misunderstanding something about this concept, entirely?
And can anyone actually get the example script (google.lua) which is provided there, up and running in an AMS .apz?
Because I'm thoroughly confused.
Web Data Mining for Lua: https://github.com/mkottman/wdm
Using the example (google.lua) provided there, I've placed a copy of the wdm.lua script (module) in my project's Scripts folder, and then called it from my On Click event via:
Code:
require 'wdm'.
- require, 'luasql.sqlite3'
- require, 'curl' (or require, 'luacurl')
- require, 'iconv'
- require, 'bz2'
- require, 'tidy'
... for which I don't know how to compile the necessary .lua scripts (modules)
The aforementioned GitHub page on which this is hosted, does provide links to these required modules but they're either dead links or they don't link to actual .lua scripts. For example, the link for the 'tidy' module:(https://github.com/mkottman/tidy) just goes to the C++ source code for the Lua htmltidy bindings. And I have no clue as to how to produce a .lua tidy.script (module) from it.
If I try to google for pre-existing .lua scripts for any of the above-listed required modules, they just don't seem to exist. So, am I doing something wrong? Or am I misunderstanding something about this concept, entirely?
And can anyone actually get the example script (google.lua) which is provided there, up and running in an AMS .apz?
Because I'm thoroughly confused.

Comment