Google.cfc v0.3WhyIt took me a few hours to make the Google API work with Cold Fusion. The results of the search API are a complex java object, so there seemed a need for translating this to something more coldfusion native.Usage<cfinvoke component="lab.cf.google.google" method="search" returnvariable="googleResults" > The search method returns an array of structures with the following keys:
Change Notes
Sourcegoogle_cfc.zipLicensegoogle.cfc is licensed under the Mozilla Public License. If you improve it, you are obligated to share your enhancements. Future WorkAdditional development might support more methods of the google api, optionally return a query instead of a struct. What else? Built-in caching? Feedback to andyed(at)surfmind.com. |