OK. I have now finished off localising the Full Forecast page. 

Also found out that BOM now has full 7 days which is 1 more day than when I 
started the Skin. 

As before go to Go to https://github.com/dcapslock/weewx-responsive-skin 
<https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fdcapslock%2Fweewx-responsive-skin&sa=D&sntz=1&usg=AFQjCNHxog7BY_lUKbvprLhniOU86Dduqg>
 
and the latest versions of aussearch.py (Aus folder) and skin.conf, 
index.html.tmpl & index-forecast.tmpl (Responsive folder).

I have tested forecast areas for some areas around Sydney, Capricornia and 
Adelaide to match where I know the skin is being used. See below for how 
the skin.conf looks for these.

# NSW
SYDNEY = ftp://ftp.bom.gov.au/anon/gen/fwo/IDN10064.xml
CENTRAL_COAST = ftp://ftp.bom.gov.au/anon/gen/fwo/IDN11052.xml
HUNTER = ftp://ftp.bom.gov.au/anon/gen/fwo/IDN11026.xml
ILLAWARRA = ftp://ftp.bom.gov.au/anon/gen/fwo/IDN11027.xml

# QLD
CAPRICORNIA = ftp://ftp.bom.gov.au/anon/gen/fwo/IDQ10170.xml

# SA
ADELAIDE = ftp://ftp.bom.gov.au/anon/gen/fwo/IDS10034.xml
MOUNT_LOFTY_RANGES = ftp://ftp.bom.gov.au/anon/gen/fwo/IDS11041.xml

On Saturday, December 3, 2016 at 8:46:17 PM UTC+11, Darryn Capes-Davis 
wrote:

> 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 
> <https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fdcapslock%2Fweewx-responsive-skin&sa=D&sntz=1&usg=AFQjCNHxog7BY_lUKbvprLhniOU86Dduqg>
>  
> 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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to