cloudy

Author Topic: Carterlake Plugin Page - Printable Weather Flyer  (Read 36899 times)

0 Members and 1 Guest are viewing this topic.

Offline MCHALLIS

  • Posts: 2,119
  • Long Beach, WA USA
    • Weather for Long Beach, WA USA
Re: Carterlake Plugin Page - Printable Weather Flyer
« Reply #165 on: January 31, 2010, 09:46:02 PM »
Hi Martin,
now the page is validated but the header doesn't still show correctly.
http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.meteocarmignano.it%2Fwxflyer.php
And how about the print button?

Many thanks,

Alessandro


change
Code: [Select]
<span style="font-size: 34px;"><b>www.meteocarmignano.it</b></span>
to
Code: [Select]
<span style="font-size: 34px;">www.meteocarmignano.it</span>
I don't use print buttons, the web browser should have a print button.



Offline i_fiorentino

  • Alessandro Bardi
  • Posts: 1,500
  • 160 mls Carmignano (Po), Tuscany, Italy
    • Meteocarmignano.it
Re: Carterlake Plugin Page - Printable Weather Flyer
« Reply #166 on: January 31, 2010, 10:08:24 PM »
Thanks Mike!
Now it shows correctly...  :D
Best regards,

Alessandro

Offline Budgie

  • Martin
  • Global Moderator
  • Posts: 5,577
  • WML Station: WD00934 CWOP: CW7959
  • Isle of Lewis, Scotland
    • Hebrides-Weather
Re: Carterlake Plugin Page - Printable Weather Flyer
« Reply #167 on: January 31, 2010, 10:17:02 PM »
Hi Alessandro,

I liked your idea about the Print button so I looked into it and found a different code that works and validated on my own page.
Where the "Notice" area of text is at the top of the page, add the following after the text has finished but before the closing "</span> tag:
Code: [Select]
<input type="button" onclick="window.print()" value='Print this page' />This creates a Print button that is not printed with the rest of the page and you can change what it says on the button by altering the text in the "value=" part.  :wink:

Offline blainec

  • Posts: 144
  • Calgary, Ab.
    • Calgary Alberta
Re: Carterlake Plugin Page - Printable Weather Flyer
« Reply #168 on: November 02, 2010, 02:30:04 AM »
Can this be used in Canada get reports from EC

Offline BigOkie

  • Posts: 623
  • Tulsa, OK
    • East Tulsa (Douglas)
Re: Carterlake Plugin Page - Printable Weather Flyer
« Reply #169 on: November 02, 2010, 04:43:51 AM »
Can this be used in Canada get reports from EC


I'm guessing in it's current form no, since it's specifically retrieving info from NOAA.

Offline RayBer

  • Posts: 78
  • Maple Bay, British Columbia, Canada
    • Tzouhalem-Maple Bay Weather, British Columbia, Canada
Re: Carterlake Plugin Page - Printable Weather Flyer
« Reply #170 on: November 03, 2010, 01:00:55 PM »
Can this be used in Canada get reports from EC
With some modification, the flyer could be used with the forecast from Environment Canada - I have modified mine to use the weather warning(s) from Environment Canada and the forecast produced by WXSIM.

Offline blainec

  • Posts: 144
  • Calgary, Ab.
    • Calgary Alberta
Re: Carterlake Plugin Page - Printable Weather Flyer
« Reply #171 on: November 05, 2010, 01:07:38 AM »
Maybe I will play around and see if I can get it to pull the forcasts from EC as well

Offline linuxfreak

  • Posts: 248
  • Hey there.....
  • Hamilton, Ontario, Canada
    • Hamilton Central Mountain Weather
Re: Carterlake Plugin Page - Printable Weather Flyer
« Reply #172 on: November 05, 2010, 05:20:18 AM »
Maybe I will play around and see if I can get it to pull the forcasts from EC as well


Both forecast and warnings are available via RSS from EC. See attached pics.

George
Davis VP2/FARS, Intel Atom N330 dual-core, 2Gig ram, Windows XP Home SP3 

Offline ALITTLEweird1

  • Mark
  • Posts: 4,215
  • North Bend, WA
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • MS IE 9.0
    • North Bend Weather
Re: Carterlake Plugin Page - Printable Weather Flyer
« Reply #173 on: August 03, 2012, 11:02:33 PM »
URL Change..

Change this..

Code: [Select]

$WRH_URL = 'http://www.crh.noaa.gov/product.php?site=NWS&issuedby=PQR&product=AFD&format=TXT&version=1&glossary=0';


To this... Change the SEW to your local code..

Code: [Select]

$WRH_URL = 'http://forecast.weather.gov/product.php?site=NWS&issuedby=SEW&product=AFD&format=TXT&version=1&glossary=0';

"Nature can do without man, but man cannot do without nature."

Davis VP2 + VP2 Solar + 1-wire Lightning + 1-Wire UV + Logitech Webcam

Offline Stronghurst

  • Burgus Weather
  • Posts: 2,380
  • Stronghurst Illinois USA West Central Illinois
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • MS IE 9.0
    • Burgus Computers
Re: Carterlake Plugin Page - Printable Weather Flyer
« Reply #174 on: August 04, 2012, 11:31:33 AM »
Did they (Gov) change something again?

Mark
http://www.burgus.org

Every day is a good day.  Some days are just better than others.

Win 7 64 with 8 GB ram
USB Davis VP+  w/Solar+UV package

Offline ALITTLEweird1

  • Mark
  • Posts: 4,215
  • North Bend, WA
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • MS IE 9.0
    • North Bend Weather
Re: Carterlake Plugin Page - Printable Weather Flyer
« Reply #175 on: August 04, 2012, 03:12:49 PM »
Did they (Gov) change something again?

Mark

No, this change happend when they made the URL change for the forecasts a few weeks ago, and I just noticed it.
« Last Edit: August 04, 2012, 04:13:31 PM by ALITTLEweird1 »
"Nature can do without man, but man cannot do without nature."

Davis VP2 + VP2 Solar + 1-wire Lightning + 1-Wire UV + Logitech Webcam

 

cumulus