
Getting Started
Software
Hardware
Installing Modules
Troubleshooting X10
Voice Recognition
Configuring it
The Gadgetry
Web Control
Setting it up
Cameras and Surveillance
Installing Cameras
Software
Heat/AC Control
Hooking up the furnace
Sensing
Weather/Environment
Gathering Data
Getting Info From the Internet
Gathering Info from the Internet
A good example of such a site is Weather Underground's Mobile page. These weather pages are designed to be displayed on mobile phones, so the layout is very simple, and most of the data is text based:

After you have found a suitable source of data, you'll need to add some code to Powerhome to grab it.
This will set up the basic structure that you need to grab data. It should create a macro called Test. Go into Powerhome Explorer and load this macro.

The next line is where the actual grabbing of data occurs. In order to do this, Powerhome uses a regular expression, which tells the program to grab anything located between two defined chunks of code within an external file. In this case, the external file is the Weather Underground mobile page. On the actual page, the code for the temperature begins with the label "Temperature", then some random code (represented in the regular expression by ~255), then an html bold tag.
This is where Powerhome starts grabbing data (the data to grab is represented in the regular expression by \(.+\). This is then followed by an HTML unbold tag, and a random bit of HTML. This is where Powerhome stops grabbing data. Once the data has been grabbed, it is placed into the Global Variable "CURTEMP". When you run the macro, CURTEMP should change to the current outside temperature.
There are also all sorts of others kinds of data you could grab. You could get your system to grab news headlines and then read them to you via TTS. You could also get stock data every 15 minutes, and sound some kind of an alarm if the stock dropped below a certain level. You could even set up a system to grab data from a friend's blog and have it read to you. There are all sorts of options.
Attribution: The code for grabbing weather data is based on the excellent Get Weather macro written by TonyNo of the Power Home forums.