Okay, it seems that we're back to square one. Using your template here. It now works. (the utf-8 selection code within it must be correcting the problem I encountered.) Regarding your skin.conf file. If I remove the templates I don't have from it, then it also works. ie: I get an index.html page generated with working NOAA files using both your supplied files.
Your skin.conf file suggests that your HTML_ROOT = /home/weewx/public_html (at least for your hws data) Your previous reply for the NOAA files states they are at /home/weewx/pub_html. Is this path the same for your Standard? skin, the one that generates the index.html in question? ie: Is the NOAA directory (with the NOAA-YYYY-MM.txt files) a subdirectory of where your index.html file lands? What does weewx.conf set your HTML_ROOT as? Failing that, I'm out of ideas and it looks like we are back to basics... Turn on debug (debug = 1) in weewx.conf. Restart weewx Post a syslog extract that captures the start of weewx and a couple of report cycles. p.s. In answer to your location question. I'm in Victoria, Australia On 04/02/2019, bgrat...@umw.edu <bgrat...@umw.edu> wrote: > Glenn, > > Something odd. My index.html.tmpl looks ok (attached) so something is > happening when it's used to generate the page. I have also attached the > skin.conf file in case that helps in understanding what's going on. Both > files are local and the problem is on my local machine as well as the pages > > uploaded to my GoDaddy site. > > On Saturday, February 2, 2019 at 5:24:42 PM UTC-5, Glenn McKechnie wrote: >> >> Hi Bob, >> >> Your page at http://grattans.org/wx/ is missing some vital code, which >> interestingly you have correct in your last post. >> Is that from your local tmpl version? >> >> The navbar code is missing the 6 lines that start with - in the diff >> below. >> >> @@ -451,17 +451,11 @@ >> <input type="button" value=" Year " >> onclick="openURL('year.html')" /> >> <p>Monthly summary: >> <select NAME=noaaselect onchange="openNoaaFile(value)"> >> - #for $monthYear in $SummaryByMonth >> - <option value="$monthYear">$monthYear</option> >> - #end for >> <option selected>-Select month-</option> >> </select> >> <br/> >> Yearly summary: >> <select NAME=noaaselect onchange="openNoaaFile(value)"> >> - #for $yr in $SummaryByYear >> - <option value="$yr">$yr</option> >> - #end for >> <option selected>-Select year-</option> >> </select> >> </p> >> >> I have your page at http://grattans.org/wx/ correctly generating the >> NOAA pages here if I include that AND also fix the unicode error in >> your http://forecast.weather.gov url. >> >> CheetahGenerator complains about invalid code - I see this " >> highlight=on​ " >> Remove evrything after the =on and it should generate correctly and >> you'll get a fresh copy created and uploaded to your website. >> Obviously you'll eventually need to correct the URL and replace >> whatever we have rudely taken out. >> >> I suspect half the problem is here, with this broken URL. It breaks >> page generation and we/you aren't seeing your changes as the latest >> changes aren't being uploaded. >> >> >> >> >> >> >> On 03/02/2019, bgra...@umw.edu <javascript:> <bgra...@umw.edu >> <javascript:>> wrote: >> > Glenn, >> > Here's what I found, so far: >> > >> > two NOAA directories >> > /home/weewx/skins/Standard/NOAA - contains 2 template files for YYYY and >> > >> MM >> > >> > summaries >> > /home/weewx/pub_html/NOAA - contains all the summary files *.txt from >> > 2007-present day >> > >> > I substituted the original index.html.tmpl and an older weewx.conf file >> > >> and >> > >> > got the same results, no pull down YYYY or MM summaries. >> > >> > The files seem to be being built but not accessible from index.html >> > Standard skin. >> > >> > From my index.html.tmpl: >> > >> > <div id="navbar"> >> > <input type="button" value=" Current " >> > onclick="openURL('index.html')" /> >> > <input type="button" value=" Week " >> > onclick="openURL('week.html')" /> >> > <input type="button" value=" Month " >> > onclick="openURL('month.html')" /> >> > <input type="button" value=" Year " >> > onclick="openURL('year.html')" /> >> > <p>Monthly summary: >> > <select NAME=noaaselect onchange="openNoaaFile(value)"> >> > #for $monthYear in $SummaryByMonth >> > <option value="$monthYear">$monthYear</option> >> > #end for >> > <option selected>-Select month-</option> >> > </select> >> > <br/> >> > Yearly summary: >> > <select NAME=noaaselect onchange="openNoaaFile(value)"> >> > #for $yr in $SummaryByYear >> > <option value="$yr">$yr</option> >> > #end for >> > <option selected>-Select year-</option> >> > </select> >> > </p> >> > </div> >> > </div> >> > >> > Thanks for your continued help. Hope the above tells you something. >> Sorry >> > I'm not much >> > of a programmer. >> > >> > Bob >> > >> > -- >> > 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 weewx-user+...@googlegroups.com <javascript:>. >> > For more options, visit https://groups.google.com/d/optout. >> > >> >> >> -- >> >> >> Cheers >> Glenn >> >> rorpi - read only raspberry pi & various weewx addons >> https://github.com/glennmckechnie >> > > -- > 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 weewx-user+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Cheers Glenn rorpi - read only raspberry pi & various weewx addons https://github.com/glennmckechnie -- 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 weewx-user+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.