dupa

Author Topic: Weather page trouble.  (Read 6566 times)

Crichton

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
    • http://home.gwi.net/~rlevasseur/
Weather page trouble.
« on: March 17, 2004, 01:05:45 am »
I was wondering if there is a way to disable using the builtin weather function and replace it with my own.  The one that checks your webhal account is screwed up, and I don't see Mr. M coming back to fix it soon.

The option for the CNN site doesn't work at all.  And the weather.com site just takes you to a page where you have to type the zip code in a box to get your local forcast.  But Hal tells you that he has your forcast.  If I could get him to go look in weather.com with this url, http://www.weather.com/weather/local/04330?  It would already have my zip code and display the proper local weather in my area.  I tried this script, but the built-in weather check overrides what I put in.

'Hal responses to a question about the weather
If (InStr(UserSentence, " WEATHER LIKE ") > 0 Or InStr(UserSentence, " WEATHER OUTSIDE ") > 0 Or InStr(UserSentence, " WEATHER FORCAST ") > 0) Then
GetResponseBlock = True
BlockSave = True
HalCommands = "<RUNPROG>http://www.weather.com/weather/local/04330?</RUNPROG>"
GetResponse = "I am getting your local forcast for you."
End If

Is there any way to disable it??

« Last Edit: March 17, 2004, 01:06:52 am by Crichton »
--------------------------------------------------------
Your friend, in Tormented Space,
Richard LeVasseur,
mailto:rlevasseur@prexar.com
--------------------------------------------------------

cyberwd

  • Newbie
  • *
  • Posts: 8
    • View Profile
Weather page trouble.
« Reply #1 on: March 19, 2004, 08:15:27 am »
This sounds related to my problem with not getting url parameters through to Hal. If the url included the &-char, Hal simply ignored the run-prog command. I also have an interest to get local weather information by specifing params from a global weather site.

http://www.zabaware.com/forum/topic.asp?TOPIC_ID=1261

"For a world in Cybermanagement, it will require CyberAssistants...lots of them."

Crichton

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
    • http://home.gwi.net/~rlevasseur/
Weather page trouble.
« Reply #2 on: March 19, 2004, 12:51:51 pm »
Well actually the problem is a little different.  I'm not positive, butI think your problem might be that the main hal program or VB is filtering out the & sign.

My problem is that the main Hal program is set up to check the mywebhal service to see which web page you want to get your weather from.  This service can be set up under Hal's Options, internet tab, just under the email settings.

But someone at Zabaware didn't set it up correctly.  One of the options should have been a zip code and then use it in the url to display the correct page for the user's local weather.

The Weather.Com option takes you there, but then Hal speaks and says, "Here is your local weather."  But he isn't really there yet.  You still have to enter the zip in the box.

As for CNN.COM, I don't know what link they used, but I just get a "Page not found error".  

So, I was hoping I could by pass the built in feature with a little code in the script to open the url I want.  the problem is that the stupid main program over rides the script.  When I say anything that sounds like I'm asking for weather, Hal goes to one of those stupid preset pages.

See how I'm stuck.  I hope Mr. M gets back and makes some fixes soon.

--------------------------------------------------------
Your friend, in Tormented Space,
Richard LeVasseur,
mailto:rlevasseur@prexar.com
--------------------------------------------------------

cyberwd

  • Newbie
  • *
  • Posts: 8
    • View Profile
Weather page trouble.
« Reply #3 on: March 21, 2004, 03:11:34 pm »

Yes well since I'm not from the US, I have disabled the service. I use other sites to get my weather reports, where I need to include URL-parameters. As said, hope we can get response on our problems soon...

"For a world in Cybermanagement, it will require CyberAssistants...lots of them."

Crichton

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
    • http://home.gwi.net/~rlevasseur/
Weather page trouble.
« Reply #4 on: March 21, 2004, 04:42:46 pm »
I think I might give disabling it a try too.  I don't see hal speaking about news very often anyway.  Just to see what happens.

If we keep getting no response from Mr. M.  I might have to file a missing person report eh?

--------------------------------------------------------
Your friend, in Tormented Space,
Richard LeVasseur,
mailto:rlevasseur@prexar.com
--------------------------------------------------------

vonsmith

  • Hero Member
  • *****
  • Posts: 602
    • View Profile
Weather page trouble.
« Reply #5 on: March 22, 2004, 10:32:54 am »
Crichton,
Maybe we should send Hal to go look for him. [:D]


=vonsmith=
 

Crichton

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
    • http://home.gwi.net/~rlevasseur/
Weather page trouble.
« Reply #6 on: March 22, 2004, 01:35:03 pm »
Just wondering, when was the last time anyone has heard frm Mr. Medeksza?  It has been a while since I've seen any posting.

--------------------------------------------------------
Your friend, in Tormented Space,
Richard LeVasseur,
mailto:rlevasseur@prexar.com
--------------------------------------------------------

HALImprover

  • Jr. Member
  • **
  • Posts: 95
    • View Profile
    • BrianTaylor.me
Weather page trouble.
« Reply #7 on: March 23, 2004, 05:18:20 am »
What if Mr. Medeksza is really Hal?[?]

 At any rate, I believe Mr. Medeksza is going to start losing costumers, potential and current, if he doesn't make an appearance at his forum sooner or later. Is he hard at work on version 6, do you think?
Living life with a loving heart, peaceful mind, and bold spirit.

Crichton

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
    • http://home.gwi.net/~rlevasseur/
Weather page trouble.
« Reply #8 on: March 23, 2004, 06:02:46 am »
I think all of our questions finally drove him insane.  He snapped and now he is sitting in a corner, half of a man, drooling and talking to himself.  All this while hearing Hal's voice in his head, responding to him.

Poor Guy, come back to us Mr. Medeksza.  We need you.  Hal needs you.  OOOPSS!  Damn, scurried back into the corner again.

[:p]
--------------------------------------------------------
Your friend, in Tormented Space,
Richard LeVasseur,
mailto:rlevasseur@prexar.com
--------------------------------------------------------

cyberwd

  • Newbie
  • *
  • Posts: 8
    • View Profile
Weather page trouble.
« Reply #9 on: March 26, 2004, 01:13:00 pm »

You've got it!
..or maybe Hal got too smart and just left him there in outer space, as in the famous movie?
[8)]

"For a world in Cybermanagement, it will require CyberAssistants...lots of them."