Im making a smart clock project now and i wanna get information from website posting weather information by using the Web client code.However, i can only read "www.google.com" but not "www.weather.com/weather/right-now/Enschede+Netherlands+NLXX0183" the page which i wanna get information from.Besides. by looking at the example given in "http://bildr.org/page/11/"code:

//////////////////////////////////////////////////////////////////////////CONFIGURE////////////////////////////////////////////////////////////////////////byte server[] = { 174,123,231,247 }; //ip Address of the server you will connect to

//The location to go to on the server//make sure to keep HTTP/1.0 at the end, this is telling it what type of file it isString location = "/~bildr/examples/ethernet/ HTTP/1.0";

}, i find it possible to select information by recognizing "<" and ">", so my idea is to recognize something like<span class="wx-temp"> and<span> instead of simply recognizing "<"">". But when i tried to implement this method, it returns nothing in serial monitor, i think it is because client.read reads one character at a time.so how shall i change the code? or can anyone of u bring me any better solutions for this problem?

// Initialize the Ethernet client library // with the IP address and port of the server // that you want to connect to (port 80 is default for HTTP): EthernetClient client;

void setup() { // Open serial communications and wait for port to open: Serial.begin(9600); while (!Serial) { ; // wait for serial port to connect. Needed for Leonardo only }

// start the Ethernet connection: if (Ethernet.begin(mac) == 0) { Serial.println("Failed to configure Ethernet using DHCP"); // no point in carrying on, so do nothing forevermore: while(true); } // give the Ethernet shield a second to initialize: delay(1000); Serial.println("connecting…");

You need to find another source for your weather data. the page you want to capture has way too much useless churn to deal with (look at the html source code on the weather page). use the code below to display in the serial monitor what is downloaded.