Pages: [1]   Go Down
Author Topic: Parsing some information from a website  (Read 371 times)
0 Members and 1 Guest are viewing this topic.
Singapore
Offline Offline
Jr. Member
**
Karma: 0
Posts: 63
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,

I would like to retrieve some information from a website that provides air quality using my Arduino. The website provides a RSS feed for this information.

What is the easiest way to retrieve this information?

Logged

Valencia, Spain
Offline Offline
Faraday Member
**
Karma: 146
Posts: 5493
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You'll need an Arduino with Ethernet connection.

After that, 'easy' will depend on how good you are at coding.
Logged

No, I don't answer questions sent in private messages (but I do accept thank-you notes...)

Singapore
Offline Offline
Jr. Member
**
Karma: 0
Posts: 63
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,

I have an ethernet shield, in fact I have been able to retrieve information from yahoo weather but I am trying to retrieve some information from this website...http://www.nea.gov.sg/psi/

I am connecting to Yahoo weather with "IPAddress Yahooserver(87,248,122,181);" and using this command to get information from Yahoo weather > client.println("GET /forecastrss?w=23424948&u=c HTTP/1.0"); and client.println("HOST:weather.yahooapis.com\n\n");


How should I retrieve from this nea website?

thanks
Logged

Singapore
Offline Offline
Jr. Member
**
Karma: 0
Posts: 63
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

How do I determine the host for the website?

Thanks
Logged

Pages: [1]   Go Up
Jump to: