Welcome to TalkGraphics.com
Results 1 to 6 of 6
  1. #1
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    14,570

    Lightbulb Weather Forecaster

    Have a play with JS - Weather Forecast.xar.

    It provides a text-based output for a City input and much more.
    The "image" is about 6kB, so light enough for emails - even those that block images.

    The main Blue Placeholder is an IFRAME that can be standalone.
    You can change its code to anywhere you wish: <iframe id="forecast" src="https://wttr.in/London" width=100% height=100%></iframe>.

    The JavaScript Placeholder will alter the Blue & Red Placeholders' location following a Form INPUT and pressing the Go button.

    The smaller current detail, the Red Placeholder, is a PNG with a transparency, which you could set up as an overlay.

    I have provided information on the form of inputs the forecaster accepts.

    Keep warm or cool as you choose but keep safe.

    Acorn

    Click image for larger version. 

Name:	2022-01-05 16.20.54 localhost 5c08177cb62d.jpg 
Views:	20 
Size:	115.1 KB 
ID:	131322
    Acorn - installed and active Xara software: Cloud+/Pro+, XDPX, XWD Premium 15 & 12, XPGD10, X3D7, Xara Xtreme 5, back through time (to CC's Artworks).
    Raise software faults with MagiXara: http://support.magix.net/; if Cloud+/Pro+: https://xara.com/contact-us/

  2. #2
    Join Date
    May 2002
    Location
    Canada
    Posts
    3,120

    Default Re: Weather Forecaster

    Nice Acron.
    Creative Art Director/Owner
    www.designfacet.com

  3. #3
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    14,570

    Default Re: Weather Forecaster

    Quote Originally Posted by behzad View Post
    Nice Acron.
    Cheers behzad, I should have given the link to the original source: https://github.com/chubin/wttr.in#readme .

    It does appear in the Preview but many might miss it.
    All I've done is reverse engineer it into an approach that can be used by us.

    Acorn
    Acorn - installed and active Xara software: Cloud+/Pro+, XDPX, XWD Premium 15 & 12, XPGD10, X3D7, Xara Xtreme 5, back through time (to CC's Artworks).
    Raise software faults with MagiXara: http://support.magix.net/; if Cloud+/Pro+: https://xara.com/contact-us/

  4. #4
    Join Date
    Dec 2006
    Location
    Melfort, Saskatchewan Canada
    Posts
    556

    Default Re: Weather Forecaster

    Very cool. Thanks @acorn.
    Bill Wood
    Expresiv Designs.
    Charity Web Design
    XARA Pro+. WD17, Designer 17. Premium packages.

  5. #5
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    20,961

    Default Re: Weather Forecaster

    That's extremely light weight!
    Egg

    Intel i7 - 4790K Quad Core + 16 GB Ram + NVIDIA Geforce GTX 1660 Graphics Card + MSI Optix Mag321 Curv monitor
    + Samsung 970 EVO Plus 500GB SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host

  6. #6
    Join Date
    May 2010
    Location
    Lam, Bavaria-Germany
    Posts
    652

    Default Re: Weather Forecaster

    Cheers Acorn! Thanks for this!

 

 

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •