mcbot/cmds/xep.lua
changeset 22 4b360fe207e6
parent 16 064a50911e05
child 30 e5e20eed6c58
equal deleted inserted replaced
21:bc5d611e6d6f 22:4b360fe207e6
     4 -- The caching idea is borrowed from MattJ's riddim code,
     4 -- The caching idea is borrowed from MattJ's riddim code,
     5 -- and the function parse_xeps() as well.
     5 -- and the function parse_xeps() as well.
     6 
     6 
     7 local xeplisturl = "curl http://xmpp.org/extensions/xeps.xml"
     7 local xeplisturl = "curl http://xmpp.org/extensions/xeps.xml"
     8 
     8 
     9 local xep = { ["desc"] = "Lookup XEP database" }
     9 local xep = { ["desc"] = "Search XEP database" }
    10 
    10 
    11 local xeps = {}
    11 local xeps = {}
    12 
    12 
    13 -- parse_xep() from Matthew Wild (aka MattJ)
    13 -- parse_xep() from Matthew Wild (aka MattJ)
    14 local function parse_xeps(t)
    14 local function parse_xeps(t)