From: andrew mcelroy Date: 2011-03-07T02:40:47+09:00 Subject: Re: RCAP 0.4 Released --0016e6d7e0a76d9459049dd3dfe2 Content-Type: text/plain; charset=ISO-8859-1 On Sun, Mar 6, 2011 at 11:05 AM, Farrel Lifson wrote: > The Common Alerting Protocol is a lightweight standard to facilitate > the distribution of alerting data. RCAP is an implementation of the > CAP in Ruby. It allows for the creation of RCAP messages from Ruby > applications and the parsing of external messages. > > RCAP currently supports only CAP Version 1.1. > > 0.4 - 6th March 2011 > > * Implemented Hash generation and parsing > * Implemented JSON generation and parsing > * Circle is now a subclass of Point > This is rather fascinating. How exactly does the JSON generation and parsing work. As I understand the CAP , it is an xml based protocol. Does this simply do a xml to json conversion? I see in the api spec this appears to be the case. http://en.wikipedia.org/wiki/Common_Alerting_Protocol Also, can this gem pull in xml data from other sources using cap and repeat it back to json? Also, is this something you would want to put into a background process/ queue system? In otherwords, how performant is it? When you say this only supports version 1.1, how is that different from version 1.0? Is it worth supporting 1.0. Thanks. Respectfully, Anderw McElroy > > Farrel Lifson > -- > Aimred - Ruby Development and Consulting > http://www.aimred.com > > --0016e6d7e0a76d9459049dd3dfe2--