If you use Cumulus, please donate Image

Please read this post before posting

Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3043 Jan 20 2017. See this post for download

Current Conditions Audio

Other discussion about creating web sites for Cumulus that doesn't have a specific subforum

Moderators: daj, TNETWeather

User avatar
PaulMy
Posts: 1538
Joined: Sun Sep 28, 2008 11:54 pm
Weather Station: Davis Vantage Pro 2 w/Envoy USB
Operating System: Windows-8
Location: Komoka, ON Canada
Contact:

Re: Current Conditions Audio

Postby PaulMy » Tue Oct 04, 2016 2:29 pm

Very well done Piotr, the English audio sounds excellent. Marcel should be able to comment on the French audio.

Tony,
Good comments. I was not aware of your earlier posting on WW. I have your PHP script working http://www.komokaweather.com/rv/conditionsaudio.php and like adding the currentconditions.php but my coding skill is only very limited in html and lots of cut and paste / trial and error. I am looking at it but the extra languages will have to go for now as my language resource is English (Canadian and now Australian ;) ) along with other grandkids' français canadien.

Enjoying,
Paul
Last edited by PaulMy on Tue Oct 04, 2016 11:39 pm, edited 1 time in total.

User avatar
HRVistaWeather
Posts: 161
Joined: Mon Apr 09, 2012 2:38 pm
Weather Station: Davis VP2 Plus - 24hr FARS
Operating System: Windows 10 (64bit)
Location: Franklin, Huon Valley, Tasmania

Re: Current Conditions Audio

Postby HRVistaWeather » Tue Oct 04, 2016 11:07 pm

Hi Paul,

Not sure I understand the comment about Language Resource.
Also if by coding you mean how to create the popup, please see some examples below of how I do it.
1: link with announcement image.
2: Link without image.
<a href="../rvc/fcastaudio.php" onclick="javascript:void window.open('../rvc/fcastaudio.php','1466915970540','width=745,height=175,toolbar=0,menubar=0,location=0,status=0,scrollbars=0,resizable=0,left=0,top=0');return false;" title="Onsite Generated Audio Forecast for Franklin"><img src="./announcement.png" alt="audio" height="15" width="15" align="top"/><span style="color:#87cefa;">Audio</span></a>

<a href="../rvc/conditionsaudio.php" onclick="javascript:void window.open('../rvc/conditionsaudio.php','1474521511771','width=780,height=170,toolbar=0,menubar=0,location=0,status=0,scrollbars=0,resizable=0,left=0,top=0');return false;" title="Audio of Current Conditions at our station South of Franklin">AUDIO CONDITIONS</a>


If you need the code created for you to your specified requirements, try using this code generator : http://www.textfixer.com/html/javascript-pop-up-window.php

Hope that helps,
Kind Regards,
Tony

Huon River Vista Weather - South Franklin - Tasmania
Davis Vantage Pro 2 Plus - FARS, Cumulus MX, 2 Soil Temp/Moist Solar/Rad.
Weather PC Died 2016/11/21 15:25 Cannot justify replacement (Website dead)

User avatar
pernaczy
Posts: 107
Joined: Thu Nov 15, 2012 5:42 pm
Weather Station: Fine Offset WH 2080, TFA Spring
Operating System: XP SP3
Location: Niesiolowice, Northern Poland
Contact:

Re: Current Conditions Audio

Postby pernaczy » Mon Oct 17, 2016 10:26 am

PaulMy wrote:I have attached a zip of my North America meteo_audio script http://www.komokaweather.com/weather/meteo_audio.html.

EDIT:
20161003 updated both zips

Hi Paul,
I have noticed that your meteo_audio script, is not giving the pressure tendency in the "French text/audio" part of the code.
Everything is OK in "English text/audio" part but in this case you are using webtag <#presstrend> directly, while in "French part" it is being used inside conditional statements.
Piotr
The day when I have learned anything is not the lost one.

Image

User avatar
PaulMy
Posts: 1538
Joined: Sun Sep 28, 2008 11:54 pm
Weather Station: Davis Vantage Pro 2 w/Envoy USB
Operating System: Windows-8
Location: Komoka, ON Canada
Contact:

Re: Current Conditions Audio

Postby PaulMy » Mon Oct 17, 2016 11:33 pm

I think I found my mistake. I do not speak French, is it better now? http://www.komokaweather.com/weather/meteo_audio.html

Paul

User avatar
pernaczy
Posts: 107
Joined: Thu Nov 15, 2012 5:42 pm
Weather Station: Fine Offset WH 2080, TFA Spring
Operating System: XP SP3
Location: Niesiolowice, Northern Poland
Contact:

Re: Current Conditions Audio

Postby pernaczy » Tue Oct 18, 2016 5:58 am

OK. Now it works. :clap:
Piotr
The day when I have learned anything is not the lost one.

Image

User avatar
PaulMy
Posts: 1538
Joined: Sun Sep 28, 2008 11:54 pm
Weather Station: Davis Vantage Pro 2 w/Envoy USB
Operating System: Windows-8
Location: Komoka, ON Canada
Contact:

Re: Current Conditions Audio

Postby PaulMy » Tue Oct 18, 2016 1:53 pm

Thanks Piotr,

I have updated the zip in my first post here.

Enjoy,
Paul

User avatar
PaulMy
Posts: 1538
Joined: Sun Sep 28, 2008 11:54 pm
Weather Station: Davis Vantage Pro 2 w/Envoy USB
Operating System: Windows-8
Location: Komoka, ON Canada
Contact:

Re: Current Conditions Audio

Postby PaulMy » Sun Oct 23, 2016 2:34 pm

I have updated my zip to correct a wind direction error.

Paul

User avatar
Toxic17
Posts: 528
Joined: Mon May 19, 2014 10:45 pm
Weather Station: Davis Vantage Pro2 Plus
Operating System: Debian 9.1 Stretch
Location: Bangor, NI
Contact:

Re: Current Conditions Audio

Postby Toxic17 » Thu Aug 17, 2017 9:43 am

PaulMy wrote:A little script http://www.komokaweather.com/weather/meteo_audio.html (still a work in progress) borrowed from F1LXJ Serge at Météo d'Annoeullin dans les Hauts-de-France http://f1lxj.free.fr/weather/index.htm and http://www.meteo-saint-brevin.fr/

Enjoying,
Paul


Paul just doing some broken url checks on my Website.

F1LXJ Serge at Météo d'Annoeullin dans les Hauts-de-France http://f1lxj.free.fr/weather/index.htm is now using this URL:

http://f1lxj.fr/weather/
Regards Simon
https://www.conligwx.org
https://www.conligwx.org/pws/
Davis Vantage Pro2+ - CumulusMX v3.0.0 (build 3043) + Saratoga/PWS
Image

User avatar
PaulMy
Posts: 1538
Joined: Sun Sep 28, 2008 11:54 pm
Weather Station: Davis Vantage Pro 2 w/Envoy USB
Operating System: Windows-8
Location: Komoka, ON Canada
Contact:

Re: Current Conditions Audio

Postby PaulMy » Mon Sep 11, 2017 2:59 pm

Thanks Tony, better late :oops: than never. I've made the change on the first post here.

Paul


Return to “Web site - General”

Who is online

Users browsing this forum: No registered users and 3 guests