madwoota wrote:General suggestions, feel free to ignore them all as if you listen to us damn (ab)users too much, it ends up taking over your life! (And then we whinge & complain when all the free support vanishes and stuff... *cough*)
Nobody ever emails me until it's broken.. =/ Sometimes I wonder if people are even using it, or if it's just working properly for'm.
madwoota wrote:1 - Include ability to specify language per search instead of only having the default eg: "!g -fr blahblah"
Good idea. I need to clean up my google script somewhat, it's gotten a bit messy. I had thought about flags/modifiers/options to pass before, not with any serious thought mind you, but what if you want to literally "-fr" in the search? "!g -fr -fr" ? So I'll have to think about a sane way to do it, perhaps using long flags (--fr vs. -fr).
madwoota wrote:2 - Also part of 1 - allow users to create a default setting for themselves ... perhaps register it in their bot handles, eg: "--XTRA incithgoogle.lang" or something.
Yeah. I probably never would have thought about this as everyone speaks English in my channel, despite a few are natively french. I'll add it to the todo as well.
madwoota wrote:3 - It'd be nice to be able to hard code the "allowed" or even "ignored" channels into the tcl/settings file too. While I think the +google setting is fantastic for dynamic channels, it creates a problem when you use a "source channels/settings" file to define the channels layouts in that eggdrop will crash if you define the channels prior to running this script.
(It complains about +google being an invalid channel setting.)
Ah, that's a shame
I like the +google-ness. No rehashing to update the channels.. but if it's causing problems, I'll perhaps change my scripts into a 'allow_channels' variable.
madwoota wrote:4 - Similar to 1 & 2 above, allow to use the "local" google for searching. Eg:
www.google.com.au for me. Its a bit faster and stuff. Would be a lot better for the non-english language users too.
Faster.. meh. More accurate results? Probably. If I can tie it into the '-fr' options above easily, perhaps. Otherwise this probably won't see light.
madwoota wrote:5 - Along the same lines/purposes of the language & local google ideas - allow domain/site narrowing. eg: "!g -.au blahblah". This often returns different results to just using the narrowing the "country" search to say "au". Would use the "site:.blah" modifier as per the below cheatsheets.
I'll have to look into this a bit.. I understand what you mean, but to me, and after reading the operators and such, "-.au" would (should?) merely just not search for ".au", but I've not even tested this theory. Does it remove .au websites too? Or just search results containing .au in them?
Hmph. I've of course been all around the google help areas, but never knew about these two pages. This looks fun. ^^ Yeah, I had plans to add stocks. Obviously useful. I had my incith:exchange script, but Google does that too. Among others, I wanted to add the movie: reviews as I mentioned, and UPC codes! Fun stuff.
madwoota wrote:PS: If you dont mind these ideas, I'm happy to do some code ideas and send you various bits to add in if you like. Royalty free too !!
Royalty free! Well, this could be good for me as I'm potentially going to be quite busy in the next few months.. e-mail me sometime if you like.
madwoota wrote:PPS: Damn nice addon, it's given me a purpose in life
Hehe, thanks. I just wrote it for the lack of (working?) google scripts around, and because.. well, there's a lot more to google than google.com. I also wrote a script for filemirrors.com, which one of those google scripts used to parse .. I'll be releasing that soon, for !file functionality.
Regards~