15 Apr 2002

Mon, 15 Apr 2002

Google catalog search

Google catalog search


Wow! These guys never stop innovating. I wonder what they'll think of next.

Posted at: 22:56 | permalink

The wonder of archive.org

The wonder of archive.org


Several years ago, Phil Shevrin and I did a PR piece for Stingray when we worked at Platinum Technology. Scot Wingo later sold Stingray to Rogue Wave and stingray.com is long gone. But archive.org still has the article. How cool is that? I'm not sure why it matters to me now but it has a certain nostalgic effect. I miss Phil and the crew in Boston. Don't get up there much anymore. Sigh.

Posted at: 22:48 | permalink

Very Strange Google Search Results Revisited

Very Strange Google Search Results Revisited


It might not seem particularly odd that I'm the #2 site when searching google for "The Mind Electric" until you consider that their own website doesn't appear in the top 10. :-/

Posted at: 20:55 | permalink

Java Client for the Google API using Glue from the Mind Electric (SOAP)

Java Client for the Google API using Glue from the Mind Electric (SOAP)


This one has several source files so I'm including it here in zip form. This one is easy to follow and like my vbscript example, it has built-in proxy support thanks to the slick design from Graham Glass and the guys at the Mind Electric.


If you don't have GLUE you can get it here. You'll need a recent JDK (1.3 or 1.4) and you'll also need to have your classpath set. Mine looks like:


CLASSPATH=.;c:\\glue231\\lib\\GLUE-STD.jar;c:\\glue231\\lib\\servlet.jar;c:\\glue231\\lib\\dom.jar;c:\\glue231lib\\jnet.jar


so on Windows:


set CLASSPATH=.;c:\\glue231\\lib\\GLUE-STD.jar;c:\\glue231\\lib\\servlet.jar;c:\\glue231\\lib\\dom.jar;c:\\glue231lib\\jnet.jar


Unzip all of the files into a single directory and type:


javac *.java


Then:


java GoogleShell


Enjoy!


import electric.registry.Registry;
import electric.util.Context;


public class GoogleShell
  {
  public static void main( String[] args )
    throws Exception
    {
      // set proxy location and authentication credentials
    Context context = new Context();
    context.setProperty( "proxyHost", "your.proxy.here" );
    context.setProperty( "proxyPort", "8080" );


    // bind to web service whose WSDL is at the specified URL
    String url = "file://GoogleSearch.wsdl";
    IGoogleSearchService google = (IGoogleSearchService) Registry.bind(url, IGoogleSearchService.class, context);


    // invoke the web service as if it was a local java object
    String ret = google.doSpellingSuggestion("YourKeyHere", "Britney Spars");
    System.out.println( "Spelling = " + ret );


    GoogleSearchResult result = google.doGoogleSearch( "YourKeyHere", "david watson", 0, 10, false, "",false,"lang_en","latin1","latin1");
    for(int i = 0; i < result.endIndex; i++)
                System.out.println(result.resultElements[i].URL);


    }
  }

Posted at: 16:56 | permalink

Bill Gates comes to Butler County, PA

Bill Gates comes to Butler County, PA


Hmm... Corbis moves it's archives to Butler County, PA.

Posted at: 14:48 | permalink

Swinging into patent litigation

Swinging into patent litigation


The absurdity at the US patent office continues.

Posted at: 13:02 | permalink