Skip to content

Correspondence Technologies

Sections
Personal tools
You are here: Home » Software » SfIndex Demo » collective - GoogleTool

Package: collective - GoogleTool

a test of SfIndex product

Sourceforge Info

Project Name: collective
Package Name: GoogleTool
Files Page:
Browse CVS: http://cvs.sourceforge.net/viewcvs.py/collective/GoogleTool/  

Package README (CVS ver. 1.1.1.1)

$Id: readme.txt,v 1.1.1.1 2004/07/06 15:38:39 zopezen Exp $
Copyright: Enfold Systems Ltd
License: http://www.enfoldsystems.com

This product allows you to do Google searches from Plone. It's basically a thin
wrapper around the pygoogle tool that doesn't do much except cache and munge the
results so they are a dictionary.

If you would like to see pygoogle in action see http://zopezen.org. This was
originally thrown together as an example for training by Enfold, but I thought
it was useful.

Install:

    Install pygoogle http://pygoogle.sourceforge.net/

    Put this directory into your products directory

    Restart Zope

    This tool does not actually add any skins in, see examples for an example
    Page Template that actually does something.

License:

    LGPL

Credits:

    Andy McKay

Usage:

    The tool exposes a search method which passes the string onto google.

    res = context.google_tool.search("someSearchString")
    for r in res:
       print r['title'], r['url']

To do:

    It would be nice to implement all the other features like spell checking,
    cached
    pages and the so on.
 

Powered by Plone

This site conforms to the following standards: