Welcome Guest.   Make a donation to an author on the site September 30, 2014, 05:01:12 PM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
Learn about the DonationCoder.com microdonation system (DonationCredits).
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1] 2 3 4 Next   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: Updated: GooglePlus - View Google search results in FARR as you type  (Read 60404 times)
s.newave
Supporting Member
**
Posts: 124


View Profile Give some DonationCredits to this forum member
« on: July 21, 2008, 10:45:52 PM »

GooglePlus
This plugin allows you to choose from five different Google search types including Web, Local, Video, Images, and Books and will display search results in real time based on your search criteria. You can also choose to display extended information specific to each search type for each result.









Version 1.1 - March 20, 2009
  • Added Google News search
  • Added Google Blog search
  • Added ability to use custom icons for each website that will show up in search results as shown in the 2nd image above. See Tips below on how to add your own custom icons
  • Added a google search entry for each search type at the end of the search results
  • Added options to specify whether or not to launch search results within FARR for each search type
  • Fixed bug which would cause results not to show up
  • Cleaned up description of search results
  • Added some google search aliases for popular sites like amazon, imdb, wikipedia, metacritic, and donationcoder forums.

Usage
gp   - This will present you with the 7 different search types (Web, Local, Video, News, Images, Blogs, Books). Select one of the search types by typing in its name to filter the search or using the arrow keys to select and then press tab to activate that search. Tip: Typing "gp" followed by two spaces will recall the last search you executed since launching FARR.

gpw    - Alias for web search. The same as typing gp +web
gpl    - Alias for local search. The same as typing gp +local
gplw    - Google Local search alias for work. Edit the googleplus.alias file to change the zip code to your work zip code.
gplh    - Google Local search alias for home. Edit the googleplus.alias file to change the zip code to your home zip code.
gpv    - Alias for video search. The same as typing gp +video
gpn    - Alias for news search. The same as typing gp +news
gpi    - Alias for image search. The same as typing gp +images
gpg    - Alias for blog search. The same as typing gp +blog
gpb    - Alias for book search. The same as typing gp +book
gph    - Alias for GooglePlus search history. This will show you a list of all your previous searches since launching FARR.

Options
Show Description:  Selecting this option will display extended information in ( ) next to the name of each result specific to the search type you choose:
  • Web: Extended description of website
  • Video: The date the video was added, video duration, and an extended description
  • News: The publisher, date the article was added and an extended description
  • Local: The address and telephone # if provided for the search result
  • Images: The image's dimensions followed by an extended description
  • Blog: The date the post was added and an extended description
  • Book: The book's ISBN number followed by the books authors, year published, and page count.

Launch result in FARR: Select whether to launch the selected url in FARR's internal browser for each search type

Tips
- To add your own custom icon for a web site simply add the icon to the GooglePlus icons directory using the name of the website as the filename. For example you would name the file wikipedia.ico and donationcoder.ico for the sites www.wikipedia.org and www.donationcoder.com.
- You can also use Google search operators to alter the search results. Try adding site:donationcoder.com anywhere in your web search to limit results to donationcoder.com. Other useful operators include intitle and inurl. More operators can be found here. There are also many other search type specific operators that can be used.
- For the Local search try using the zipcode for the area you are searching in. Try something like "pizza 10021" for a list of pizza restaurants in the 10021 zip code or "atm 10021".
- For the Video search try using the duration:long operator to search for videos that are at least 20mins long.

Readme
http://sine.dcmembers.com/googleplus/

Download (extract to folder called GooglePlus in plugins dir)
http://sine.dcmembers.com...googleplus/GooglePlus.zip


Big thanks to ecaradec for creating the Javascript SDK and of course to Mouser who created this awesome piece of software!!!
« Last Edit: March 20, 2009, 08:59:53 PM by s.newave » Logged
lanux128
Global Moderator
*****
Posts: 6,100



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #1 on: July 21, 2008, 11:00:15 PM »

wow, cool! this is going to change the way i search in google. Cool
Logged

TucknDar
Charter Member
***
Posts: 1,094


Advanced coder of Nowt

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #2 on: July 22, 2008, 03:38:09 AM »

Amazing plugin! A few credits on their way ASAP!

I've got a request: I'd like to be able to launch the Google Images search in FARRs internal browser, while the regular Google searches in my default browser. The way I see it, it would be fine to have a modifier for a search (gp +images +internal), while still the same plugin configuration option. I suppose there should also be a +external modifier, if internal launch is the default.

Hope that made sense smiley
Logged
mouser
First Author
Administrator
*****
Posts: 33,419



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #3 on: July 22, 2008, 04:04:23 AM »

all i can say is:
Logged
mouser
First Author
Administrator
*****
Posts: 33,419



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #4 on: July 22, 2008, 04:08:45 AM »

I see that i probably need to add something to farr that will tell you the FULL alias name of the aliases that are partially matched.  so that way when you type gp you would see for each of the entries the full thing to type for each of the partial matches.
Logged
jgpaiva
Global Moderator
*****
Posts: 4,710



Artificial Idiocy

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #5 on: July 22, 2008, 04:29:30 AM »

s.newave: this looks like a great plugin!
But I can't understand why, but everytime I type "gp", the options dialog comes up Sad
Logged

lanux128
Global Moderator
*****
Posts: 6,100



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #6 on: July 22, 2008, 07:13:06 AM »

i just noticed that the past search history can be deleted, this is a cool feature! anyway s.newave, as with all plugins that interact with the web, is it possible to include a trigger key that will search after we have finished typing? this will be very helpful for those with slower connection speed. smiley
Logged

mouser
First Author
Administrator
*****
Posts: 33,419



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #7 on: July 22, 2008, 07:15:19 AM »

Quote
possible to include a trigger key that will search after we have finished typing?
an OPTION in the plugin to say only search when i hit enter would make sense for this and other plugins.

alternatively i could make it something in farr so that for a given plugin you can tell farr not to call it until you hit enter.
Logged
nudone
Cody's Creator
Columnist
***
Posts: 4,116



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #8 on: July 22, 2008, 07:30:29 AM »

an excellent plugin.  Thmbsup

google search fans may like this little thing i use - it allows you to keep your fingers on the keys whilst moving from farr to google's search results as it uses the beta google hotkey thingy.

a screengrab will help explain



so you open farr and type gh followed by your search term and then hit enter. you'll be able to then navigate the results in your browser using the google hotkeys:
J = next
L = previous
/ = search field
etc, etc.
Logged
s.newave
Supporting Member
**
Posts: 124


View Profile Give some DonationCredits to this forum member
« Reply #9 on: July 22, 2008, 12:12:11 PM »

Amazing plugin! A few credits on their way ASAP!

Thanks!!

Quote
I've got a request: I'd like to be able to launch the Google Images search in FARRs internal browser, while the regular Google searches in my default browser. The way I see it, it would be fine to have a modifier for a search (gp +images +internal), while still the same plugin configuration option. I suppose there should also be a +external modifier, if internal launch is the default.

I thought about doing this but didnt know if anyone would use it cheesy. I will probably end up creating options where you can specify if you want to launch the result in FARR or not for each search type. This will avoid you having to type the modifiers every time. Will also add a search modifier as you suggested for one off situations.

s.newave: this looks like a great plugin!
But I can't understand why, but everytime I type "gp", the options dialog comes up Sad

Are you talking about the GP settings dialog or FARR's? Not sure what could be causing this but i will look into it.

i just noticed that the past search history can be deleted, this is a cool feature! anyway s.newave, as with all plugins that interact with the web, is it possible to include a trigger key that will search after we have finished typing? this will be very helpful for those with slower connection speed. smiley

Mouser also mentioned this during beta testing. Will look into adding something like this.
Logged
herojoker
Participant
*
Posts: 124


View Profile Give some DonationCredits to this forum member
« Reply #10 on: July 22, 2008, 01:03:07 PM »

I think you can already do this with the "dosearch" command and additional aliases.
Logged
s.newave
Supporting Member
**
Posts: 124


View Profile Give some DonationCredits to this forum member
« Reply #11 on: July 22, 2008, 04:03:08 PM »

I think you can already do this with the "dosearch" command and additional aliases.
Not clear what you are referring to?
Logged
jgpaiva
Global Moderator
*****
Posts: 4,710



Artificial Idiocy

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #12 on: July 22, 2008, 04:04:19 PM »

herojoker: the results of the google search come up on farr itself, it doesn't launch the google search in the browser like the "search" alias.

s.newave: forget about my bug, must have been a strange mommentaneous configuration, I reinstalled the plugin and it's all good now.
Logged

herojoker
Participant
*
Posts: 124


View Profile Give some DonationCredits to this forum member
« Reply #13 on: July 22, 2008, 04:28:20 PM »

Ah, ... I wrote non-sense cheesy
I meant: If the desired option is there one could avoid writing +external / +internal by creating a new alias using dosearch. (Ok, that's obvious...)
Forget it  embarassed  Cry

BTW: Isn't Google blocking people who start too many searches in a short period of time?
Logged
s.newave
Supporting Member
**
Posts: 124


View Profile Give some DonationCredits to this forum member
« Reply #14 on: July 22, 2008, 04:34:04 PM »

s.newave: forget about my bug, must have been a strange mommentaneous configuration, I reinstalled the plugin and it's all good now.

Glad to hear its working
Logged
Armando
Charter Member
***
Posts: 2,674



see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #15 on: July 23, 2008, 12:09:08 AM »

Very nice plugin!! Wow.

Is it possible to specify the maximum number of results (right now it's set to 8, if I'm not mistaken)
Logged

"I suppose it can be said that I'm an absent-minded driver. It's true that I've driven through a number of red lights on occasion, but on the other hand, I've stopped at a lot of green ones but never gotten credit for it."
Glenn Gould
czb
Moderator
*****
Posts: 335



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #16 on: July 23, 2008, 02:34:38 AM »

Hi, I have debugging set on for JS and I get an error with
FARR.setState(querykey,1);
FARR.emitResult(querykey,aliasstr, aliasstr, iconfilename,ALIAS,IMMEDIATE_DISPLAY,300);
FARR.setState(querykey,0);

I think you miss the querykeys....

otherwise it works fine Wink thanks for that plugin Thmbsup
Logged

My open-source online piano game: http://musicope.com/
s.newave
Supporting Member
**
Posts: 124


View Profile Give some DonationCredits to this forum member
« Reply #17 on: July 23, 2008, 11:37:02 AM »

Armando: Yes the max results you can get at one time is 8 currently however i will probably add an option to get more in a future release.
« Last Edit: July 23, 2008, 07:46:15 PM by s.newave » Logged
Armando
Charter Member
***
Posts: 2,674



see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #18 on: July 24, 2008, 11:50:41 AM »

Thanks!  smiley
Logged

"I suppose it can be said that I'm an absent-minded driver. It's true that I've driven through a number of red lights on occasion, but on the other hand, I've stopped at a lot of green ones but never gotten credit for it."
Glenn Gould
omaedon
Participant
*
Posts: 12

View Profile Give some DonationCredits to this forum member
« Reply #19 on: August 12, 2008, 04:15:19 PM »

This is an amazing plugin that has become my primary means of searching Google. I was wondering, could you extend the plugin to work with Google Scholar as well?
Logged
s.newave
Supporting Member
**
Posts: 124


View Profile Give some DonationCredits to this forum member
« Reply #20 on: August 15, 2008, 11:11:33 AM »

This is an amazing plugin that has become my primary means of searching Google. I was wondering, could you extend the plugin to work with Google Scholar as well?

I don't remember seeing anything about Google Scholar in the api when i was creating the script but i will have another look around.
« Last Edit: August 15, 2008, 11:42:50 AM by s.newave » Logged
rkr3
Charter Member
***
Posts: 17

see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #21 on: August 16, 2008, 12:15:45 AM »

I made a folder in the Plugins directory, named it "GooglePlus", and extracted the files into it. Shut down FARR, and restarted it; FARR won't start, I get this message:

"Microsoft Visual C++ Runtime Library
---------------------------
Runtime Error!

Program: C:\Program Files\FindAndRunRobot\FindAndRunRobot.exe

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information."

Help?

Thanks
Logged
sri
Honorary Member
**
Posts: 673


see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #22 on: August 16, 2008, 12:45:54 AM »

s.newave: I would like to replace the books search w/ blogs search. Can you please tell me how?
Logged

s.newave
Supporting Member
**
Posts: 124


View Profile Give some DonationCredits to this forum member
« Reply #23 on: August 16, 2008, 06:05:51 PM »

I made a folder in the Plugins directory, named it "GooglePlus", and extracted the files into it. Shut down FARR, and restarted it; FARR won't start, I get this message:

"Microsoft Visual C++ Runtime Library
---------------------------
Runtime Error!

Program: C:\Program Files\FindAndRunRobot\FindAndRunRobot.exe

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information."

Help?

Thanks


hmm, not sure what this could be. Did you install any other plugins at the same time? The plugin isn't in C++ and is pretty straight forward which leads me to believe it might be something bizarre going on with FARR??

Perhaps try reinstalling the plugin and rebooting.let me know if that works.

s.newave: I would like to replace the books search w/ blogs search. Can you please tell me how?

When creating the plugin I had google blogs in there but for some reason it never worked well at all. Searching was unusably slow and inconsistent from googles side. Will look into again when i get a chance. In the interim try the "site:<blogsite>" search operator which i have had really good results with.
Logged
Dimsy55
Participant
*
Posts: 4

View Profile Give some DonationCredits to this forum member
« Reply #24 on: September 04, 2008, 03:17:16 AM »

Pls help: I've got that error all the time

settings.exe
Error: Cant'load icon. The current thread will exit.
Specifically: icons\GooglePlus.ico
             Line#
--->       008: Menu, Tray, Icon, icons\GooglePlus.ico
 embarassed


* GooglePlus.JPG (90.74 KB, 592x613 - viewed 725 times.)
Logged
Pages: [1] 2 3 4 Next   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.055s | Server load: 0.02 ]