Zabaware Support Forums

WEATHER & NEWS

Started by RoseNell, November 05, 2007, 12:25:42 PM

Previous topic - Next topic

RoseNell

Hal say he can tell you the weather and read you the news.  But I can not figure out how to get that part of the program to work.
Any help out there.... Would be appreciated.  Thank[:)]
Karolyn R Yoakum

visad

What is my local news?  
Whaat is my local weather?
Visad

caangel43

I tryed that and cant get hal to tell me the news but weather works

visad

#3
Ah,  my apologies, I just went and looked and found out I have a plugin for that, vrWeb, I will attach it here. I found it at the following site http://www.vrconsulting.it/vhf/topic.asp?TOPIC_ID=39 along with several others. The MP3 plugin is a really nice touch.



Download Attachment: vrweb.zip
5.65 KB
Visad

RoseNell

visad,

I am pretty new at this, but when I download the attachment where do I put it.. ??  Into Hal's what..?  Thanks for all your help, this link of the site you gave us is great...
Karolyn R Yoakum

tedathome

visad, thank you for pointing that out. I don't
get around to other sites often enough too pick up
on a lot of plugins and have a hard time learning
how to use them or where to put them.
Also, I have hal 6.1 and have found out that some
6.0 plugins don't always work well with 6.1.
ted

caangel43

how do you edit the file so that my local weather and news can be said any help please

visad

You can use notepad to open the files; however, I find that confusing at times because of the word wrap and no definitive lines. I use winvi32 for all my "notepad" style editting. http://www.winvi.de/en/

Once open look for and change the following code to match the specific news site you would like to change it to. This should be done *before* you add the plugin. After it has been installed you will need to edit the vrWeb table under the miscData section which can only be seen when you switch to advanced brain editing mode.


      HalBrain.AddToTable "vrWeb", "PatternMatch", "*Hal Help*", "welcome.html"
      HalBrain.AddToTable "vrWeb", "PatternMatch", "*local weather*", "http://uk.weather.com/weather/local/ITXX0067"
      HalBrain.AddToTable "vrWeb", "PatternMatch", "*local news*", "http://www.nytimes.com/"
      HalBrain.AddToTable "vrWeb", "PatternMatch", "*yahoo mail*", "http://my.yahoo.com/"
      HalBrain.AddToTable "vrWeb", "PatternMatch", "*zabaware forum*", "http://www.zabaware.com/forum/"
      HalBrain.AddToTable "vrWeb", "PatternMatch", "*virtual humans forum*", "http://www.vrconsulting.it/vhf/"

When you first setup the file it should give you an option to specify which Weather site you want to use and your Zip code.

Visad

onthecuttingedge2005

Hi visad

I use the free crimson editor, it is a multi-purpose programming pad with the option of number editing, it has plugin macro abilities and many more options like syntax coloring.

you can check it out here:
http://www.crimsoneditor.com/

Jerry[8D]

caangel43

thank you for the info I always like to learn new things