[dev] horde + soap + google... it works!

Marko marko at oblo.com
Thu Feb 6 01:02:38 PST 2003


well i got this going... if you install this as a separate app and go under
/hordoogle/search.php you'll get a (very crude) implementation of the google
search. attached is a registry.php diff.
in the conf.php file is an actual google license key that works. so no need to
go registering just to try this out.

in addition to this tar you will also need the pear soap classes (pear install
soap). one problem i had, your pear does have to be perfectly up to date. mine
was initially a few weeks old, and soap would not install and resolve all the
dependencies.
another problem i found is that on two machines, which i thought were identical,
on one it would not work at all due to some fsockopen error. so if you get a
Connect Error back, there's something not quite right with the fsockopen in
SOAP/Transport/HTTP.php

my thoughts are to have this as a separate horde mini app. it is not something
which i'd see useful to be bundled in the horde core. but definately would have
uses as a wider part of the horde_blocks family. the search.php script works
mainly off of the Google.php class (from http://www.sebastian-bergmann.de/)
interfacing with the PEAR classes. But i think the Google.php would need a total
rewrite to expand it and fit it in better with the horde framework. We might as
well start with our own one working directly with PEAR.
Plus thoughts on how to build the api for use in blocks?

this would also compliment nicely the horde companion bar that marcus has been
thinking about lately...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hordoogle.tar.gz
Type: application/gzip
Size: 3637 bytes
Desc: not available
Url : http://lists.horde.org/archives/dev/attachments/20030206/9f89c59f/hordoogle.tar.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: registry.php.dist.patch
Type: text/diff
Size: 944 bytes
Desc: not available
Url : http://lists.horde.org/archives/dev/attachments/20030206/9f89c59f/registry.php.dist.bin


More information about the dev mailing list