cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ugo Cei <u....@cbim.it>
Subject Google Web APIs and Cocoon
Date Fri, 19 Apr 2002 07:54:18 GMT
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 
(after having registered at http://www.google.com/apis) and putting it 
in your sitemap with a stylesheet of your liking.

You can see it live here:

<http://www.beblogging.com/blog/20020418-222559>

Just two small problems:

- caching results: this should be easy
- encoding: looks like the results are specified to be encoded in UTF-8, 
but sometimes the encoding is invalid and the following exception is 
generated:

java.io.UTFDataFormatException: invalid byte 1 of 1-byte UTF-8 sequence 
(0xfd)

Does anyone have a clue about it?

	Ugo

-- 
Ugo Cei - Consorzio di Bioingegneria e Informatica Medica
P.le Volontari del Sangue, 2 - 27100 Pavia - Italy
Phone: +39.0382.525100 - E-mail: u.cei@cbim.it


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message