With the gaining popularity of the Responsive Skin for Australian users, I have updated the homepage forecast and warnings so they are now localised.
Go to https://github.com/dcapslock/weewx-responsive-skin and the latest versions of aussearch.py (Aus folder) and skin.conf, index.html.tmpl & index-forecast.tmpl (Responsive folder). See skin.conf for guide on choosing your locality. Included below for reference. I will next work on localising the Full Forecast page which will be a mix of area forecast and localities. [[xml_files]] # Find your forecast at BOM # aussearch extension then makes XML available for cheetah # Localities files # Inspect file to find your locality # Look for XML Node <area type="location" description="<locality>"> # or go to http://www.bom.gov.au/<state>/forecasts/map7day.shtml NSW = ftp://ftp.bom.gov.au/anon/gen/fwo/IDN11060.xml VIC = ftp://ftp.bom.gov.au/anon/gen/fwo/IDV10753.xml QLD = ftp://ftp.bom.gov.au/anon/gen/fwo/IDQ11295.xml SA = ftp://ftp.bom.gov.au/anon/gen/fwo/IDS10044.xml WA = ftp://ftp.bom.gov.au/anon/gen/fwo/IDW14199.xml TAS = ftp://ftp.bom.gov.au/anon/gen/fwo/IDT16710.xml ACT = ftp://ftp.bom.gov.au/anon/gen/fwo/IDN11060.xml NT = ftp://ftp.bom.gov.au/anon/gen/fwo/IDD10207.xml # District forecast files (detailed forecasts) SYDNEY = ftp://ftp.bom.gov.au/anon/gen/fwo/IDN10064.xml # Warnings Files NSW_WARNINGS = http://www.bom.gov.au/fwo/IDZ00054.warnings_nsw.xml VIC_WARNINGS = http://www.bom.gov.au/fwo/IDZ00059.warnings_vic.xml QLD_WARNINGS = http://www.bom.gov.au/fwo/IDZ00056.warnings_qld.xml WA_WARNINGS = http://www.bom.gov.au/fwo/IDZ00060.warnings_wa.xml SA_WARNINGS = http://www.bom.gov.au/fwo/IDZ00057.warnings_sa.xml TAS_WARNINGS = http://www.bom.gov.au/fwo/IDZ00058.warnings_tas.xml ACT_WARNINGS = http://www.bom.gov.au/fwo/IDZ00054.warnings_nsw.xml NT_WARNINGS = http://www.bom.gov.au/fwo/IDZ00055.warnings_nt.xml [[local]] # Set warning file from list in xml_files config node WARNINGS = NSW_WARNINGS # Set Forecast Locality file from list in xml_files config node FC_LOCAL = NSW [[localities]] # Set index page locaility. One locality which exists in the forecast # file referenced by FC_LOCAL # Look for XML Node <area type="location" description="<locality>"> # or go to http://www.bom.gov.au/<state>/forecasts/map7day.shtml index_locality = Parramatta Cheers Darryn -- 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]. For more options, visit https://groups.google.com/d/optout.
