Page 1 of 1

How do I: The temp is XXX degrees

Posted: Tue Jan 27, 2009 7:00 pm
by Weather Limburg
Forum users,

I dont think this question has been asked before.

I want to display the actual readings from my weather station on my website. So the question is how do I display for example:

The temperature is XXX degrees.
(where the XXX stand for the reading)

If anyone has a script for me that would be great:silly: .

Thank you for your reply.

Weather Limburg

Re:How do I: The temp is XXX degrees

Posted: Tue Jan 27, 2009 7:20 pm
by skyewright
Weather Limburg wrote:The temperature is XXX degrees.
I think you are looking for HTML Templates, which are described in the Meteohub PDF documentation (page 55 in the v3.3 edition).

The idea is that you set up a template html page on Meteohub and set an upload schedule in 'Graph Uploads' to have that template regularly uploaded to your website.

In the template you include something like:

The temperature is [actual_th0_temp_c] degrees.

When the file is uploaded, Meteohub replaces the [actual_th0_temp_c] bit with the relevant real value.

Does that make sense?