Tuesday, April 20, 2010

Updates coming, new commands, better servlet code, better MarkLoigc

Just a quick note to say new commands are coming.

* base64 (posix)
* xmd5sum (md5 sums of files)
* xunzip (unzip and list zip archive in xml friendly way)


Improved servlet integration.
Much improved marklogic integration,
* multi-threaded put
* commands for properties and permission control

2 comments:

  1. Hi David,

    Your project seems quite appropriate for this: I need a couple of extra Unix commands (lsof, netstat, ps) on top of yours, but usable as URLs such that:
    - They can be executed as HTTP links, for example: http://user@host/netstat?arg1=val1&arg2=val2
    - They return a XML document which can for example be easily integrated into a HTML page.

    The target, as you might have guessed, is to run Unix commands from a browser, mostly for diagnostic purpose, and to nicely display the result. Apache already gives such a feature by allowing to view the content of a directory in a web page, but this is hard-coded and it sounds possible to go much further with xmlsh.

    As far as I have understood your plan, what is just needed (on top of the new commands) is to wrap xmlsh commands into a generic CGI script, transforming the HTTP arguments into command-line args.

    What do you think ?

    Thanks in advance.

    RC

    ReplyDelete
  2. Sorry for taking so long to approve this comment, I wasnt getting notified.

    Look at the XMLSH Servlet support, it does exactly what your asking.

    http://www.xmlsh.org/EmbeddingServlet

    ReplyDelete

Due to comment spam, moderation is turned on. I will approve all non-spam comments.