I still want to know how to save the output in a xls or csv file.
You can't run Excel on an Arduino, so you can't create an xls file. You could write data in a csv format, but where? Where do you want to save this file?
On my website or any server where I can download file from.
For now I am writing a csv file on SD card and attaching in a mail to me which Arduino sends every 24 hours.
But I am looking for something similar to Pachube feeds. There were problems when I tried it. I would be thankful if you could help me write a code for Pachube. Since I am testing, I need just one data stream for temperature like in above code.
On my website or any server where I can download file from.
You can't do that (directly). You need an application on the PC that is listening to the serial port, and that writes the data it receives to the file. There is an application called GoBetwino that does this, that can be relatively easily controlled by the Arduino, if you are using Windoze.
I don't have Arduino connected with a computer. I can't read serial port, or am I wrong?
Every unit is indeed having internet using ethernet shield.
What do you suggest in this case?
I don't have Arduino connected with a computer. I can't read serial port, or am I wrong?
No, you are right.
Every unit is indeed having internet using ethernet shield.
What do you suggest in this case?
You can use scripts on the web server, if the Arduino is a client, to store the data. If the Arduino is a server, then it is up to the client to store the data that it requests from the server.
This is strictly a client-server issue, not an Arduino issue.