Giter Club home page Giter Club logo

weather_report's People

Contributors

jschneider1207 avatar

Watchers

 avatar  avatar

Forkers

danj3

weather_report's Issues

RSS feeds broken

Title.

Changes I've found:

  • added w1 subdomain for rss, i.e.
- https://www.weather.gov/xml/current_obs/KMDW.rss
+ https://w1.weather.gov/xml/current_obs/KMDW.rss
  • Feed has an xml header that :feeder does not like, have to strip it
<?xml version="1.0" encoding="ISO-8859-1"?>
  • Feed looks to have changed the schema, :feeder parses it but the current map from it does not fit anymore.
{{:feed, :undefined, :undefined, "https://www.weather.gov/images/xml_logo.gif",
  "en-us", "https://www.weather.gov/xml/current_obs/", :undefined,
  "Weather conditions from NOAA's National Weather Service.",
  "Weather at Chicago, Chicago Midway Airport, IL - via NOAA's National Weather Service",
  :undefined, :undefined},
 [
   {:entry, :undefined, :undefined, :undefined, :undefined,
    "Thu, 13 Apr 2023 20:53:00 -0500", :undefined,
    "https://w1.weather.gov/data/obhistory/KMDW.html", :undefined,
    "<img src=\"https://forecast.weather.gov/images/wtf/small/nsct.png\" class=\"noaaWeatherIcon\"  width=\"55\" height=\"58\" alt=\"Partly Cloudy\" style=\"float:left;\" /><br />\nWinds are South at 6.9 MPH (6 KT). The pressure is 1008.1 mb and the humidity is 25%.\n Last Updated on Apr 13 2023, 8:53 pm CDT.",
    "Partly Cloudy and 76 F at Chicago, Chicago Midway Airport, IL", :undefined}
 ]}

Upgrades for 1.14

I've submitted a bunch of PRs to get this working on 1.14 and to fix a few problems. The PRs should be taken in order, as they build on each other. They are small as could be made to expedite the review. RSS is broken, but haven't looked into why, the RSS structure may have changed and the parser isn't happy. XML works well though.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.