User:Klumsy/Google
OVERVIEW
editbasically use the google API (with uses SOAP) to get results , and include it in the page.
how would it be googled
<google> any valid google search </google> <google> any valid google search | options </google>
where options may be formatting, or number of rows etc
ISSUES
edit- how many rows returned
- how to style it (how to use a special CSS for just this, or maybe one
of the wikimedia common style elements?
- Caching results
- PHP doesn't have SOAP bindings naturally.
RESOURCES
edit- http://groups-beta.google.com/group/google.public.web-apis - google groups on google web api
- http://www.google.com/apis/ - API
- http://scripts.incutio.com/google/ -php google script usese PEAR SOAP API
- http://dietrich.ganx4.com/nusoap/ - nuSOAP php SOAP library
- http://www.hebig.org/blogs/archives/main/000022.php
- http://promoxy.mirrors.phpclasses.org/browse.html/package/920.html - good example i think
PROGRESS
edit- initial research did
- found got initial prototype working. can be accessed via http://blesses.us/mediawiki/index.php?title=Google_page .
FURTHER IDEA
edit- <googlelinkback/> will do a google search that finds all the links to the current page.. maybe two versions of this, one that lists them inline.. and one that rather creates a link that when clicked does the google search(this one wouldn't require the soap API)
- still in research stage