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
m
madwoota
Halfop
Posts: 53
Joined: Tue Aug 09, 2005 12:27 am

Post by madwoota »

Sounds like one of those problems my parents have with their pc when I get called for tech support ...

It magically goes away as soon as I'm standing behind them to see what its doing :)
a
ascension
Voice
Posts: 8
Joined: Mon Mar 26, 2007 8:26 am

Post by ascension »

[15:27] Tcl error [incith::google::public_message]: Unsupported URL: http://www.google.com/search?hl=en&q=wh ... r=lang_all

when someone typed: !google who made the ps3 processor?

Seems like it doesn't handle '?' char.
e
eieregooie
Voice
Posts: 3
Joined: Tue May 01, 2007 12:40 pm

Post by eieregooie »

The weather part seems to be broken

eg:
(@me) !g weather delft, netherlands
(@bot) <a href="http://www.weatherreports.com/Netherlands/Delft" class=l>Weather Report for Delft, Netherlands</a><table border=0 cellpadding=0 cellspacing=0><tr><td class=j>Weather Reports and Weather Forecast Delft, Netherlands. Weather Reports ... Check out weather for other locations in Netherlands ...: Find the Weather for any City, State or ZIP Code, or Airport Code or Country ... Netherlands, Delft.
(@bot) Temperature, Dew Point, Humidity, Wind, Pressure ..., www.wunderground.com/global/stations/06344.html - 131k - , <a class=fl href="http://216.239.59.104/search?q=cache:4e ... -8">Cached, - <a class=fl href="/search?hl=en&lr=&ie=UTF-8&safe=off&q=related:www.wunderground.com/global/stations/06 ... l">Similar pages</a></nobr>
It used to work fine.
m
madwoota
Halfop
Posts: 53
Joined: Tue Aug 09, 2005 12:27 am

Post by madwoota »

Both of the above two problems are fixed in 1.8.7.

Available Here

Note: v1.x is now only bug fixes while I'm working on the 2.0 rewrite.
I will start a new topic in the forum when I have more details.

"Soon" :)

-madwoota
e
eieregooie
Voice
Posts: 3
Joined: Tue May 01, 2007 12:40 pm

Post by eieregooie »

Ty :)

Here's a feature request tho ;)

Could you add a "variable weather_results" ? Or just default it to 1? I don't really see the use of having more than 1 weather result :)
m
madwoota
Halfop
Posts: 53
Joined: Tue Aug 09, 2005 12:27 am

Post by madwoota »

Yeh, I was going to add a variable to let you return only one result when an 'answer' comes back.
Eg: the time, weather, population of a country, famous dates of birth etc, all those ones that Google gives an 'answer' to directly.

Will incorporate that in the near future.

That being said, I'd recommend incith's weather script as a better alternative. It lets you save user defaults, has better output etc. The google one is basically a by-product, and not anything special.

-madwoota
User avatar
incith
Master
Posts: 275
Joined: Sat Apr 23, 2005 2:16 am
Location: Canada

Post by incith »

I don't honestly think I ever released the user defaults. Haha. Um.. stay tuned!
e
eieregooie
Voice
Posts: 3
Joined: Tue May 01, 2007 12:40 pm

Post by eieregooie »

Thanks for pointing that out :) I didn't really think I'd need it, but forecasts might come in handy ;)
b
blieb
Voice
Posts: 1
Joined: Thu May 17, 2007 7:10 am

Post by blieb »

Hmm today I saw that google has updated something to the page, when I search something I get a google signin page link :P

13:03:27 < Martin> !google kaas
13:03:28 <+[srv]Jupiter> Sign in @
https://www.google.com/accounts/Login?c ... _all&hl=en | Kaas Glassworks @ http://www.kaas.com/ | KAAS NEDERPOP ONLINE!! @ http://www.kaassuperfuif.nl/ | Patricia Kaas -
Wikipedia, the free en @ http://en.wikipedia.org/wiki/Patricia_Kaas
S
Snoopotic
Voice
Posts: 4
Joined: Sat Feb 10, 2007 10:10 am

Post by Snoopotic »

I can confirm. Currently updated to 1.6.7 thinking this might be fixed ther but isn't.

Btw. very nice script! ;)
c
c0nv1ct
Voice
Posts: 5
Joined: Thu May 17, 2007 2:34 pm

Post by c0nv1ct »

I can confirm this problem, it seemed to of started yesterday or the day before. Standard google searches with the script give "Sign in @ https://www.google.com/accounts/Login?c ... _all&hl=en" as the first response. Other features seem to be working fine though.

Does this mean we need to use a google api license key?
User avatar
speechles
Revered One
Posts: 1398
Joined: Sat Aug 26, 2006 10:19 pm
Location: emerald triangle, california (coastal redwoods)

Post by speechles »

no longer relevant, see post of mine below.
Last edited by speechles on Fri May 18, 2007 5:45 pm, edited 1 time in total.
D
Dalif
Voice
Posts: 1
Joined: Sat Dec 16, 2006 9:16 pm
Location: Under your bed
Contact:

Post by Dalif »

Heya Speechless. Any chance you could let us know which line in the script you've changed? I'm not big in wordseaching in Vim yet, and I'd like the script to work again :)

Thanks.
User avatar
speechles
Revered One
Posts: 1398
Joined: Sat Aug 26, 2006 10:19 pm
Location: emerald triangle, california (coastal redwoods)

Post by speechles »

Dalif wrote:Heya Speechless. Any chance you could let us know which line in the script you've changed? I'm not big in wordseaching in Vim yet, and I'd like the script to work again :)

Thanks.
of course, in madwoota's, 1.8.7 version (http://www.woota.net/~madwoota/incith-g ... ent.tar.gz) it would be:

line 463

Code: Select all

- regexp -- {<div class=g.*?<a.*?href="(.+?)".*?>(.+?)</a>} $html - link desc
+ regexp -- {<div class=g(?!bard).*?<a.*?href="(.+?)".*?>(.+?)</a>} $html - link desc
line 464

Code: Select all

- regsub -- {<div class=g.*?<a.*?href="(.+?)".*?>(.+?)</a>} $html {} html
+ regsub -- {<div class=g(?!bard).*?<a.*?href="(.+?)".*?>(.+?)</a>} $html {} html
.:edit:. learned a little more bout regexp this completely fixes the issue without breaking any other functions.

http://ereader.kiczek.com/UNOFFICIAL-in ... -v1.94.tcl
for those using my unofficial hacked, bloated, overcoded version of this script, here is what is running on my bot.
a
amorpheous
Voice
Posts: 7
Joined: Sat May 19, 2007 1:40 pm

Post by amorpheous »

c0nv1ct wrote:I can confirm this problem, it seemed to of started yesterday or the day before. Standard google searches with the script give "Sign in @ https://www.google.com/accounts/Login?c ... _all&hl=en" as the first response. Other features seem to be working fine though.

Does this mean we need to use a google api license key?
blieb wrote:Hmm today I saw that google has updated something to the page, when I search something I get a google signin page link :P

13:03:27 < Martin> !google kaas
13:03:28 <+[srv]Jupiter> Sign in @
https://www.google.com/accounts/Login?c ... _all&hl=en | Kaas Glassworks @ http://www.kaas.com/ | KAAS NEDERPOP ONLINE!! @ http://www.kaassuperfuif.nl/ | Patricia Kaas -
Wikipedia, the free en @ http://en.wikipedia.org/wiki/Patricia_Kaas
Hi,

I've just noticed this problem too. It was working fine until today. I haven't changed anything, so it's most likely something that Google have done. Is there a way to fix this? I'm using version 1.8.5 by the way.

Thanks in advance.

-amorpheous

*edit*

Never mind. Just updated to speechles's version. Working fine now. :)
Post Reply