Changing index.html

267 views
Skip to first unread message

davideyles

unread,
Apr 28, 2013, 6:26:53 PM4/28/13
to Weewx user's group
Hi All
I have just configured my RPi to connect to my VP2 and upload to my
webspace - Simple ish!!! However I had a gut feeling that something
wasn't quite right and when I looked at my website I realize that
Weewx had uploaded and overwritten my existing index.html!!!! Problem
easily solved by changing where the data is uploaded to and re-
uploading the correct index.html file.

Is it possible to change the Weewx "index.html" name to "weather.html"
for example. I couldn't see anything in the weewx.conf file so
presumably it's somewhere else.

Cheers

David

Thomas Keffer

unread,
Apr 28, 2013, 9:43:11 PM4/28/13
to weewx-user
Look in the skin configuration file, skins/Standard/skin.conf. It lists all the files that are generated. Just change the name of index.html.tmpl to whatever you want.

-tk



--
You received this message because you are subscribed to the Google Groups "Weewx user's group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.





--
Tom Keffer
kef...@threefools.org
+1 541-386-8891 (h)
+1 541-490-9507 (c)
Skype: tkeffer

davideyles

unread,
Apr 29, 2013, 6:28:16 AM4/29/13
to Weewx user's group
Hi Tom
I am struggling a little!!!!!

I have changed the skins.conf in /Standard to this

 [[ToDate]]
        #
        # Reports that show statistics "to date", such as day-to-date,
        # week-to-date, month-to-date, etc.
        #
        [[[day]]]
        #Changed DE 29/4/13
        #template = index.html.tmpl
        template = weather.html.tmpl

but it still doesn't give me www.treworgans.co.uk/weather.html.
year.html etc work but as my website uses index.html as its home page
I do need to change it Am I doing the right thing??????? Do I need
to rename index.html.tmpl to weather.html.tmpl??

David




On Apr 29, 2:43 am, Thomas Keffer <tkef...@gmail.com> wrote:
> Look in the skin configuration file, skins/Standard/skin.conf. It lists all
> the files that are generated. Just change the name of index.html.tmpl to
> whatever you want.
>
> -tk
>
>
>
>
>
>
>
>
>
> On Sun, Apr 28, 2013 at 3:26 PM, davideyles <davidey...@gmail.com> wrote:
> > Hi All
> > I have just configured my RPi to connect to my VP2 and upload to my
> > webspace - Simple ish!!!  However I had a gut feeling that something
> > wasn't quite right and when I looked at my website I realize that
> > Weewx had uploaded and overwritten my existing index.html!!!!  Problem
> > easily solved by changing where the data is uploaded to and re-
> > uploading the correct index.html file.
>
> > Is it possible to change the Weewx "index.html" name to "weather.html"
> > for example.  I couldn't see anything in the weewx.conf file so
> > presumably it's somewhere else.
>
> > Cheers
>
> > David
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Weewx user's group" group.
> > To unsubscribe from this group and stop receiving emails from it, send an
> > email to weewx-user+...@googlegroups.com.
> > For more options, visithttps://groups.google.com/groups/opt_out.

David Eyles

unread,
Apr 29, 2013, 8:12:05 AM4/29/13
to weewx...@googlegroups.com

Hi Tom
Sorted it!
Next job can I customize the colours of the background etc?

David

Thomas Keffer

unread,
Apr 29, 2013, 9:18:44 AM4/29/13
to weewx-user

Yes.

-tk

Reply all
Reply to author
Forward
0 new messages