This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

incith:google :)

Support & discussion of released scripts, and announcements of new releases.
Post Reply
d
dMTOn
Voice
Posts: 6
Joined: Tue Aug 30, 2005 3:59 am

Post by dMTOn »

Hi i'm not very skilled with TCL programming but could you paste here code or add a option in it to send results in NOTICE ?
btw i like the script :)
User avatar
incith
Master
Posts: 275
Joined: Sat Apr 23, 2005 2:16 am
Location: Canada

Post by incith »

Sorry for not being around much.

madwoota will be releasing the next version, it will support the ability to notice as the above poster requested, local will be fixed, a video search might be added, answer searches (!g population of japan, etc) won't be trimmed, and various other small things will be fixed.
m
madwoota
Halfop
Posts: 53
Joined: Tue Aug 09, 2005 12:27 am

Post by madwoota »

Well, as incith mentioned above, I'll be doing the ongoing maintenance addons, updates etc for the google script.

So, any bugs, feature reqs, general whinges, send em to me :)

I'll be putting up a new version in the next couple days with several important fixes & a couple new features too - just doing some final testing and attempting to make sure I didnt severely break it on my first try.

Keep an eye out :)
r
rix
Halfop
Posts: 42
Joined: Wed Sep 21, 2005 1:04 pm
Location: Estonia

Post by rix »

Code: Select all

[23:25:06] <Kryptonate> .gf Belgium:Netherlands
[23:25:15] <segbot> Google fight: Belgium: 41700000 Netherlands: 54100000 winner: Netherlands
What about something like this? Go googlefight!
m
madwoota
Halfop
Posts: 53
Joined: Tue Aug 09, 2005 12:27 am

Post by madwoota »

Well, googlefight isn't really a part of google itself, so I'm a little disinclined to go down that path just yet.

I'll put it in the wishlist of things to think about one day tho.

Its a bit like the stock quotes part of google, its a legitimate google function, but it gets the data from Yahoo ... so the google script would have to go to Yahoo for the result.

*shrug* .. We'll see (I do like the idea tho.)

PS: New version has a LOT more changes than I thought it would need.
Damn google changing things on me.


Edit: double lookups would be legitimate, but its gonna be slow ... I'll leave this aside until I rewrite the actual data functions to speed it up a bit.
r
rix
Halfop
Posts: 42
Joined: Wed Sep 21, 2005 1:04 pm
Location: Estonia

Post by rix »

Thanks for reply...

Second time already, Google script doesn't show results anymore. Weird, because I haven't touched anything, it even doesn't show any error or something. Last time it did like this, it started to working after some time.

When's next release coming?
m
madwoota
Halfop
Posts: 53
Joined: Tue Aug 09, 2005 12:27 am

Post by madwoota »

Once I finish the changes I'm working on right now :)

I'm just polishing up the debugging crapola I had to put in to fix a few things.
And yes, I noticed several things broke recently.

Perhaps tonight, but I'll post here for sure :)

/me puts the code monkey suit back on
User avatar
incith
Master
Posts: 275
Joined: Sat Apr 23, 2005 2:16 am
Location: Canada

Post by incith »

Nice work woota, and thanks again for your help. =)
a
anotheregglover
Voice
Posts: 38
Joined: Thu Jan 13, 2005 12:01 am
Contact:

from today google.tcl doesn't work?

Post by anotheregglover »

hello world and hello incith (thanks for your big work) :)

i think which from today google.tcl (v 1.52 with http 2.5) doesn't work.

it work only like calculator but not like search engine.

this is the error which appears:
(4:39:02) <@XXXXXX> !google linux
(4:39:04) <YYYYY> Sorry, no search results were found.

thanks for your 'potential' :D help
bye
r
rix
Halfop
Posts: 42
Joined: Wed Sep 21, 2005 1:04 pm
Location: Estonia

Post by rix »

anotheregglover, same problem here, but bot doesn't reply at all. :S
m
madwoota
Halfop
Posts: 53
Joined: Tue Aug 09, 2005 12:27 am

Post by madwoota »

Well, its been delayed & delayed, but I think I'm done on the next version.
I've tested & retested almost every single function to find any remaining bugs, fixed a bunch of typos & started on a massive codebase cleanup! :P

The changelog for v1.6 is in the tcl as per usual, but heres a snippet:
  • fixed google search returning no results
    fixed descriptions getting cut short on 'answers'
    fixed bug where some urls were returned invalid
    fixed google local searches returning no results
    fixed google print searches returning invalid links
    changed 'did you means' to get returned first as well
    added google weather: !g weather <city|zip>
    - note: US weather only (blame google!)
    added travel info, eg: !g sfo airport | !g united 134
    added config option to send output via /notice
    - forum req by 'dMTOn'
    added initial attempt at parsing google video (!gv)
The file has been submitted to the archive, but heres a (temporary) link if you cant wait any longer for a working version.

Here.

So, feel free to send any more bugs, requests, etc to me.
-madwoota
Last edited by madwoota on Wed Nov 23, 2005 8:04 am, edited 3 times in total.
m
madwoota
Halfop
Posts: 53
Joined: Tue Aug 09, 2005 12:27 am

Post by madwoota »

Well crap.
I found another bug, but fortunately, its a pretty low grade one.

If there are no results for a "!g define:" search, you'll get a tcl error in your bot log and no results returned.
It works fine if there *is* a match tho.

Fixed (intelligently) in next version :)

-madwoota
r
rix
Halfop
Posts: 42
Joined: Wed Sep 21, 2005 1:04 pm
Location: Estonia

Post by rix »

Damn, there's something really wrong. No reply and no sign of bad behaviour in partyline. :S

Im afraid that http 2.5 is causing it. Could anyone share http 2.3? :)
m
madwoota
Halfop
Posts: 53
Joined: Tue Aug 09, 2005 12:27 am

Post by madwoota »

You could just grab a copy of tcl 8.3 from tcl.tk and grab the http.tcl from that.

I know its annoying grabbing a 2.5meg file to get a 25k file, but hey :)

Note, I should probably have put that I only tested this on windows with tcl 8.4 with http 2.4.

(.4 & .3 in Linux tho.)

-madwoota
r
rix
Halfop
Posts: 42
Joined: Wed Sep 21, 2005 1:04 pm
Location: Estonia

Post by rix »

Well, i got http 2.3 from other source already but the result is same. It just doesn't work. :S I also tryed http 2.4. Nothing...im starting to think it may be my shell provider's (Rulex) problem.
Post Reply