Page 1 of 1

How to edit or add html-templates?

Posted: Sat Oct 31, 2009 1:28 am
by WS Grave
Probably a stupid beginners question, but I can't find how to edit or add a html-template.
I have the Alix 1D and appreciate any help here.
--
Thanks, Peter

Re:How to edit or add html-templates?

Posted: Sat Oct 31, 2009 1:22 pm
by skyewright
WS Grave wrote:...how to edit or add a html-template.
From another computer, find your Meteohub in an Explorer and open the network drive ( 'public' ).
In that go to the 'graphs' folder.
If you create or save a html text file in that folder it becomes available as a 'HTML Template', i.e. you can have meteohub up load it, or if you just 'Open' the file with a browser the browser will display a version in which the template tags have been replaced by the relevant values.

Does that make more sense now?

Re:How to edit or add html-templates?

Posted: Sat Oct 31, 2009 3:31 pm
by WS Grave
Hi Skyewright, also Meteohub-user?
(I'm Peter Palm from the WD forum ;))

Thanks to a quick reply from Boris, I now know how it works.
I could not go to the public folder using a browser.
Now I just open (file) explorer and click on network.
After a few seconds "Meteohub" appears and after clicking that I can see the files and work with them.

I used a test template (found it on this forum) and it works :D

Do you by chance know where to find other templates?

Re:How to edit or add html-templates?

Posted: Sat Oct 31, 2009 4:00 pm
by skyewright
WS Grave wrote:Hi Skyewright, also Meteohub-user?
Yes, for a long time now. :)
Now I just open (file) explorer and click on network.
That's the type of 'Explorer' I had in mind. Sorry if that wasn't clear.
Do you by chance know where to find other templates?
I'm not aware of any repository of examples.

I don't do anything very fancy with them. Most of the ones I use are essentially html <table>s of whatever values I'm interested in.