# Wednesday, July 23, 2008

Five new commands went live recently, here's a brief description of each.

GetContent - Gets the content of a URL. Can be called as `get` or `cat`.

AsXml, AsJson - takes a string of text and converts it into a XML or JSON object.

ToXml - Takes a JSON string or object and converts it to XML.

ToJson - Takes a XML string or object and converts it to JSON.

Example:

get "http://www.cloudsh.com" | asxml | tojson

The above will get the HTML text from CloudSH.com as XML then converts it to JSON.

These are not too exciting my themselves, but as more commands and output options are created, these should become much more useful. Please leave  feedback and suggestions at http://feedback.cloudsh.com.

Wednesday, July 23, 2008 4:11:04 PM (Mountain Standard Time, UTC-07:00)  #    Disclaimer  |  Comments [0]  |  Feed your aggregator (RSS 2.0)