Welcome to Geeklog, Anonymous Monday, November 25 2024 @ 10:37 pm EST

Geeklog Forums

Geeklog and Google Webservices Integration


jhoke

Anonymous
I have started working on integrating Google's Webservices API (via PHP:SOAP) into Geeklog... So far I have had very good success, but have found a couple of issues: 1) Google's License supports only 1000 searches per day... after that it stops returning results. 2) No built in way to count how many queries have been made (so that you can redirect to google.com or other work around) 3) You must sign up for a dev token from www.google.com/apis (this is how they track the 1k / day limit) Other than that everything works fine. Is this something that is needed/usable by the community? If so then I will publish it Smile -John A copy of this is at my site (www.slapd.net) on the left hand blocks... but PLEASE do not hammer this, be respectfull and only do one query if you are intetested in seeing it in action ... otherwise, there is a screenshot at http://www.slapd.net/google/images/googlesearchresult.png
 Quote

Anonymous

Anonymous
John, The Google search block would be very useful indeed! So I for one would be very grateful for the block code if you are happy to share it. I popped over to your site for a quick look but did not use Google to keep your usage numbers down... Great work. Cheers, Clive
 Quote

jhoke

Anonymous
I will be cleaning up the code tonight and posting it as beta Smile Alot of the code is originally from xhtml.net (french) and I had to tweak it to work in GL -John
 Quote

Status: offline

squatty

Forum User
Full Member
Registered: 01/21/02
Posts: 269
Sign me up…quite a cool feature! BTW, love the search results in your screenshot ;-)
In a world without walls and fences, who needs Windows and Gates?
 Quote

jhoke

Anonymous
Thought you would like that LOL! I am also working on integrating my Amazon Webservices and Google together, so that when you search for something on Google, you get book recommendations also (but this will be enabled via an config variable) Tonight I will release the google stuff as it looks on my site, then start work on integrating the two webservices together Smile -John
 Quote

Status: offline

tomw

Forum User
Full Member
Registered: 08/12/02
Posts: 300
Nice work, It would be easy to set a variable in gl_vars that kept track of the number of searches done. Eagerly awaiting your release. Tom
 Quote

jhoke

Anonymous
Tom, Once I get this out (around 10PM Eastern Time US) I would love to hear any comments/suggestions you or squatty have on improving the code... including any way to utilize the gl_vars table for counting, and maybe even the last 10 searches so that you can show what other people looked for Smile -John
 Quote

jhoke

Anonymous
I have uploaded the first beta (0.2b) to both this site & www.squatty.com for people to test... Please remember, this is VERY beta, and shouldnt be used in a production site, except if you know what you are doing Smile -John
 Quote

jhoke

Anonymous
FYI: I made the search block only visible to registered users on my site. I did not want to do this, but as this is my production site, I could not chance running out of queries ... I will be putting up another site shortly for testing this, and will give out the information at that time Smile You can still download it, and test it locally after registering for your google key, and I will be posting updates to the code here and at www.squatty.com as they happen Smile Currently I am working on some of the advanced search features of the API to see if they can be incorporated here Smile -John
 Quote

Anonymous

Anonymous
Great work John. Will keep an eye open for your further Google exploits and thanks again. Hope to grab some time to try out your code next week. Thanks again, Clive
 Quote

All times are EST. The time is now 10:37 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content