PDA

View Full Version : Dashboard Programming Help




skipunk
Nov 1, 2005, 09:59 PM
Hi,

I have two ideas for widgets that I would like to try to implement. However both involve grabbing information off websites. Could someone please tell me how I would go about grabbing info from websites ?

Thanks



jeremy.king
Nov 2, 2005, 10:08 AM
Hi,

I have two ideas for widgets that I would like to try to implement. However both involve grabbing information off websites. Could someone please tell me how I would go about grabbing info from websites ?

Thanks

Is this information available in an XML format such as an RSS? Or are you looking to parse through the HTML and essentially write a screen scraper?

skipunk
Nov 2, 2005, 01:16 PM
I essentially want to parse a file and pull out the information that I want, and then display it in a nice way. Both pages I want to get info out of have .php extensions, but when I look at the source the information that I want to grab is all there.

PS. The things I want to do are get the score of my favorite hockey team off the league website, and also to get the snow report information off the local mountains website

jeremy.king
Nov 2, 2005, 01:31 PM
start here.

http://developer.apple.com/documentation/AppleApplications/Conceptual/Dashboard_Tutorial/index.html?http://developer.apple.com/documentation/AppleApplications/Conceptual/Dashboard_Tutorial/Introduction/chapter_1_section_1.html

and here

http://developer.apple.com/macosx/dashboard.html

CarlosC
Nov 5, 2005, 06:37 AM
FYI, we have a message board dedicated to Dashboard programming at:
http://www.idevapps.com/forum/forumdisplay.php?f=16

Regards,

Carlos Camacho
www.idevapps.com