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

    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:	64 
Size:	115.1 KB 
ID:	131322
    Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
    When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

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

    Default Re: Weather Forecaster

    Nice Acron.

  3. #3
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,746

    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 Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
    When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

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

    Default Re: Weather Forecaster

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

  5. #5
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,895

    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
    799

    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
  •