HTTP GET Request FROM Arduino

Hi Folks,

i have a script on a page that pulls twitter feeds with a certain string.
i want to implement a function which does something like this

pseudo code:

delay(1min); //delay between feedcheck
arduino.connect(GET Website Hosting - HTTP1.1");

i know it aint that easy to realize this on the arduino, ive tried alot but i just cant get it to work.

No suggestions ?

As far as I know you have to build it up yourself from a client object.

Here is a link to an example that shows how:

There are two stumbling blocks between that example and what you want to do.

First, in the example the address of the server is given as:

byte server[] = { 64, 233, 187, 99 }; // Google

You need to get from to a four-byte address. The simplest case is if you know the address of your site and it never changes, then you just hard code it as in this example. If you don't know it, or it tends to change, then you need to do a DNS lookup, which as far as I know means writing your own DNS lookup code.

Second stumbling block is a little simpler. The example has

client.println("GET /search?q=arduino HTTP/1.0");

This is HTTP 1.0 syntax, and many modern websites are not going to accept it. Instead you'll have to say:

client.println("GET /search?q=arduino HTTP/1.1");

How are you connecting to the internet?
I use a WiShield and in the example code they use the following.

GETrequest getWeather(ip, 80, "", "/data/METAR/KLAX.1.txt");