CDS registry participation

Pierre Fernique fernique at simbad.u-strasbg.fr
Mon Jun 2 09:03:37 PDT 2003



Dear all,

As announced in Cambridge, the Glu java client has been released and is, 
I hope, enough documented to allow anybody to use it easely. Have a look 
on this few lines below if your are interested by it and load the source 
code at this following address: 
http://simbad.u-strasbg.fr/registry/registry.htx

As presented in Cambridge, the CDS will try to maintain the 
compatibility of this Glu client with the future IVOA registry (registry 
synchronization or gateway mechanism).

Any feedback and remarks are welcome.
Pierre Fernique

----

  Typical Glu.java usage

    1. To get the URL to the home page of the nearest ADS site:
          String ADSUrl = glu.getUrl("ADS.home");
    2. To get the URL to the nearest VizieR site to retrieve the excerpt
       of the USNOB catalog around M1 in VOTable format:
          String vizierUrl = glu.getUrl("VizFind","USNOB M1");
    3. To get the result of a Simbad resolver call for 3C273:
          String coord = glu.getDocument("SimbadResolve","3C273");
    4. To open a browser (Explorer, Netscape or Mozilla - depending of
       your platform) with the result of the nearest "astro-ph" site
       concerning "GAIA" keyword:
          glu.showDocument("astro-ph","GAIA");
    5. To retrieve the list of all Glu record IDs (such as "ADS.home",
       "VizFind", "SimbadResolve", "astro-ph"...):
          String ids[] = glu.getIds();
    6. To retrieve the list of Glu record IDs concerning one specific Glu
       domain such as ASTRO:
          String ids[] = glu.getIds("ASTRO");
    7. To retrieve all Glu available domains (such as "ASTRO"...):
          String domains[] = glu.getDomains();
    8. To retrieve the full Glu record concerning Skyview direct image
       access in XML format:
          String xmlRecord = glu.getRecord("Skyview");
    9. To retrieve the full Glu dictionary in XML:
          String xmlDic = glu.getRecords();




More information about the registry mailing list