Thanks for the nice example. It should be part of the users intro doc to Cocoon.
----- Original Message ----- From: "Ugo Cei" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, April 19, 2002 3:21 AM Subject: Re: Google Web APIs and Cocoon > Ugo Cei wrote: > > Thanks to the SOAP taglib, using the Google Web APIs from Cocoon is as > > simple as taking the attached XSP file, filling in your Google key > > Oops! As usual, I forgot to attach the file. Here it goes. > > -- > Ugo Cei - Consorzio di Bioingegneria e Informatica Medica > P.le Volontari del Sangue, 2 - 27100 Pavia - Italy > Phone: +39.0382.525100 - E-mail: [EMAIL PROTECTED] > ---------------------------------------------------------------------------- ---- > <?xml version="1.0" encoding="UTF-8"?> > <xsp:page > language="java" > xmlns:xsp="http://apache.org/xsp" > xmlns:xsp-request="http://apache.org/xsp/request/2.0" > xmlns:soap="http://apache.org/xsp/soap/3.0" > > > > <search-results> > <soap:call url="http://api.google.com:80/search/beta2" > xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" > xmlns:xsd="http://www.w3.org/1999/XMLSchema"> > <ns1:doGoogleSearch xmlns:ns1="urn:GoogleSearch"> > <key xsi:type="xsd:string">GETYOURSELFAKEY</key> > <q xsi:type="xsd:string"><xsp-request:get-parameter name="q"/></q> > <start xsi:type="xsd:int">0</start> > <maxResults xsi:type="xsd:int">10</maxResults> > <filter xsi:type="xsd:boolean">true</filter> > <restrict xsi:type="xsd:string"></restrict> > <safeSearch xsi:type="xsd:boolean">false</safeSearch> > <lr xsi:type="xsd:string"></lr> > <ie xsi:type="xsd:string">latin1</ie> > <oe xsi:type="xsd:string">latin1</oe> > </ns1:doGoogleSearch> > </soap:call> > </search-results> > </xsp:page> > > ---------------------------------------------------------------------------- ---- > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]