From: Michael Neumann Date: 2001-09-11T18:43:10+09:00 Subject: [ruby-talk:21060] Re: Question about RAA listings JamesBritt wrote: > I'm putting together a web site devoted to Ruby and XML, and plan to include > a listing of available Ruby packages for processing XML. Most of the > information would likely come from the RAA, but I would like to include > details that currently aren't part of the RAA listings. > > In particular I want to list dependencies, and an explicit notice of > whether or not any native-code libraries or compilation is required. > > Two questions: Does anyone know of an existing XML syntax for > describing software (e.g. author, OS, version, dependencies, ...), > and would it be possible to have the RAA listings include a few > more details in the main listing? You can access full informations of all RAA entries through XML-RPC or SOAP. See SOAP4R's "sample/RAA" or xmlrpc4r's "samples/raa" directory for more informations. For example, to get a hash describing all informations of the RAA entry "XML-RPC" you'd write the following: require "raa" # samples/raa/raa.rb raa = RAA.new("www.ruby-lang.org", "/~nahi/xmlrpc/raa/") info = raa.getInfoFromName( "XML-RPC" ) p info["product"]["version"] # => 1.7.2 Regards, Michael -- Michael Neumann merlin.zwo InfoDesign GmbH http://www.merlin-zwo.de