diff --git a/doc/index.html b/doc/index.html index d117d90..5820b57 100755 --- a/doc/index.html +++ b/doc/index.html @@ -29,6 +29,7 @@ ul { list-style-type: disc }; what's new · installation · manual · +license · history

@@ -58,6 +59,11 @@ ul { list-style-type: disc };

LuaXMLRPC is a library to make remote procedure calls over XML-RPC. +

+

+LuaXMLRPC is +free software. +

@@ -91,7 +97,8 @@ LuaXMLRPC can be downloaded in source code from the following links:

Installation

-LuaXMLRPC is a Lua library so the installation is very simple. +LuaXMLRPC is a Lua library so the installation is very simple: +just copy the Lua files to a directory in your LUA_PATH.

@@ -112,6 +119,7 @@ and FINEP.
what's new · installation · manual · +license · history

diff --git a/doc/manual.html b/doc/manual.html index 1667b36..efbcd33 100755 --- a/doc/manual.html +++ b/doc/manual.html @@ -17,7 +17,7 @@ ul { list-style-type: disc }; The Lua language LuaXMLRPC Reference Manual -A Lua library for Remote Procedure Call over HTTP +A Lua library for XMLRPC

@@ -27,8 +27,6 @@ ul { list-style-type: disc }; data types · client · server · -xml elements · -xml-rpc parser · example · related docs @@ -44,31 +42,40 @@ LuaXMLRPC is a Lua library to manage XML-RPC clients and servers. It enables a Lua program to:

-LuaXMLRPC provides simple API and an abstraction layer over XML +LuaXMLRPC provides a simple API and an abstraction layer over XML avoiding manipulation of string representation of data structures. It also offers ways to express everything when needed.

-The library is divided into four Lua files: + LuaXMLRPC is based on -LuaSocket, LuaExpat -and on Lua 5.0. +and on +Lua 5.0.
+ + @@ -200,7 +207,7 @@ Explicit conversions can be forced by the creation of typed values The result is a string containing the XML-RPC document. -

  • createTypeValue (value, type)
    +
  • createTypedValue (value, type)
    @@ -221,31 +228,21 @@ The client side library offers the following functions: - -

    Server side

    -

    - - - -

    Creating XML elements

    -

    - - - -

    Parsing XML-RPC elements

    -

    - -

    Example

    -Below is a small sample code displaying the basic use of the library. +Below is a small sample code displaying the use of the library +in a client application.
     require "xmlrpc"
    +require "luasocket"
    +require "xrh"
     
    -
    +local ok, res = xrh.call ("http://www.oreillynet.com/meerkat/xml-rpc/server.php", "system.listMethods")
    +print (ok)
    +for i, v in pairs(res) do print ('\t', i, v) end
     
    @@ -273,6 +270,9 @@ Here is a list of related documentation:

    home · +data types · +client · +server · example · related docs
    @@ -281,7 +281,7 @@ Here is a list of related documentation:
    Last modified on -Mon Sep 1 15:54:23 BRT 2003 +Tue Dec 9 14:52:18 BRST 2003