On Tuesday, November 3, 2020 at 3:25:15 PM UTC-8, Rob Cranfill wrote:
>
> The top-level docs at http://weewx.com/docs.html say 
>
>     Customization Guide <http://weewx.com/docs/customizing.htm>
>         Describes how to ... create and customize skins.  ...
>
> Does it, though? Can someone point to the appropriate section? Sorry if 
> I'm just being dense.
>
>
It does indeed. 

Your specific gravity 'is' perhaps a 'little' high today, but not really :-)

It is definitely a bit of a slog for the initial learning curve until you 
get your feet wet and realize you're probably over-thinking just like 
everybody else does initially.

   - Look at the CheetahGenerator section for how it works for defining 
   what is processed when and how.
   - Then re-re-re-re-read Tags therein for how to specify things in a 
   template file.
   - If you look in the Tags section there is even an example 
   index.html.tmpl file that's very close to what you're looking to do.


A totally minimalist index.html.tmpl file would look like:

<html>
<body>
<h1><center>$current.outTemp</center></h1>
</body>
</html>


It's really that simple.  One tag in a minimalist HTML file.

Once you have that working hard-coded, up the ante and style it with CSS to 
set colors and font sizes to salt to taste for you, along the lines of the 
CSS example link I posted for you earlier.

One 'that' works, I'd *strongly* recommend packaging your custom skin as 
something the wee_extension installer can install.  That way you will be 
able to easily rebuild your system and reinstall your custom skin in one 
command.   It's a little more time investment, but generally worth it.


-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/0274c760-d0c4-486e-9f49-df8c9a28ce9fo%40googlegroups.com.

Reply via email to