RSS Reader - Printable Version +- Logic Machine Forum (https://forum.logicmachine.net) +-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1) +--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8) +--- Thread: RSS Reader (/showthread.php?tid=70) |
RSS Reader - Pawel - 28.08.2015 I want to show on visualization some rss feed. Is there some example of this functionality? Or maybe some library which help to work with xml files? RE: RSS Reader - admin - 31.08.2015 You can use LuaSocket to fetch the RSS feed and the parse it using LuaExpat: http://w3.impa.br/~diego/software/luasocket/http.html#request https://matthewwild.co.uk/projects/luaexpat/examples.html RE: RSS Reader - Pawel - 31.08.2015 Thanks, i didnt know which module, to handle with xml, you add. RE: RSS Reader - Pawel - 01.09.2015 Can you give me some working example of luaexpat? this, on the web you gave, is very strange and non documented, so understanding is very difficult. RE: RSS Reader - admin - 01.09.2015 Here's an example that will get text from <title> and <description> tags inside of each <item> tag and save them in a table. Code: itemtag = false RE: RSS Reader - Pawel - 01.09.2015 The best and the fastest support in KNX world |