How do I: The temp is XXX degrees

Moderator: Mattk

Post Reply
Weather Limburg
Fresh Boarder
Fresh Boarder
Posts: 2
Joined: Tue Jan 27, 2009 6:54 pm

How do I: The temp is XXX degrees

Post 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
skyewright
Platinum Boarder
Platinum Boarder
Posts: 873
Joined: Fri Jan 25, 2008 6:27 pm
Location: Isle of Skye, Scotland

Re:How do I: The temp is XXX degrees

Post 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?
Post Reply