Page 3 of 14 FirstFirst 12345678910111213 ... LastLast
Results 21 to 30 of 132

Thread: Gas Prices & Weather Broken. (Weather & Gas Now Fixed!!!)

  1. #21
    Raw Wave lostreception's Avatar
    Join Date
    Sep 2004
    Location
    NY
    Posts
    1,806
    i like accuweather.com but i dont think they have a feed
    .______
    | '_ |__\___
    [(o)|___(o)] XB
    ._________
    | I__I I_I|_\__I
    [(o)______(o)]b VanPimpin'

    LostReceptions Apps D/L Here

    GPSGasoline- Rewriting

    Draw- SkribblePad for Touchscreens

    iGQwerty-iG3.0 Qwerty Keyboard

    CarPCNetwork

  2. #22
    FLAC -zip-'s Avatar
    Join Date
    Sep 2004
    Location
    Ontario/Canada
    Posts
    1,293
    Loaded up the new key and ID into the RR Source and compiled, did not work. They also give you a test site to try your key, it did not work either. Have been reading on the web some legitimate websites can not use it either and are trying to figure out why. There has been inquires into TWCi.

    Here is a link to what the requirements are in detail and what some people are trying to do about it.

    http://www.charmedquark.com/vb_forum...ad.php?p=84905

    Looks like for sure you need a legit placeholder website as they look for:

    ink
    Four (4) Required Links to www.weather.com. The descriptive text for each Required Link shall be limited to 35 characters.
    REQUIRED
    VALUE = xoap

    par
    Partner Id assigned to you in registration e-mail
    REQUIRED
    VALUE = {Partner ID}

    prod
    The XML Feed product code
    REQUIRED
    VALUE = xoap

    key
    The license key assigned to you in registration e-mail
    REQUIRED
    VALUE = {license key}
    2008 350z GT Installed since April 22nd 2011 - Worklog
    2000 Protege Installed Since April 2, 2005 - Intel D201GLY|Fusion Brain|ODBPros ODBII|Engenius|GPS Rikaline|Powermate|Motorized Lilli
    Sound Stage
    Eclipse|MTX|Infinity

  3. #23
    Newbie
    Join Date
    Feb 2008
    Posts
    43

  4. #24
    Constant Bitrate funkyphil's Avatar
    Join Date
    Sep 2007
    Location
    CHI-TOWN
    Posts
    220

  5. #25
    Variable Bitrate Jebus's Avatar
    Join Date
    Dec 2007
    Location
    Washington, USA
    Posts
    312
    That is an RSS Feed
    RSS feeds are designed for RSS Readers. Anything with xmlns:dc="http://purl.org/dc/elements/1.1/">
    in the feed redirects you to a "style sheet" type page that screws most get or download type code.
    Only a true XML page lets you get the page local for parsing.

    I have code already to parse XML pages and put into RR variables but I need some input from you folks.

    This is what I have for Variables and the ones that equate with the Variables already in RR for current conditions. I have yet to find a five day forecast.

    Keep in mind that with the http://www.weather.gov/data/current_obs XML we are loosing some variables. If anyone can find a more robust XML page I'm up for trying that.


    location = "w_obst" - Weather Observation Station (place name/country)
    station_id = "w_titinfo" - Weather Title info
    latitude = "w_lat" - Weather Latitude
    longitude = "w_lon" - Weather Longitude
    observation_time = "w_lsup" - Weather Latest Update (date/time)
    observation_time_rfc822
    weather
    temperature_string = "w_tmp" - Weather Temperature
    temp_f
    temp_c
    relative_humidity = "w_hmid" - Weather Humidity
    wind_string
    wind_dir
    wind_degrees
    wind_mph = "w_wind" - Weather Winds
    wind_gust_mph
    pressure_string
    pressure_mb
    pressure_in = "w_bar" - Weather Barometric pressure
    dewpoint_string = "w_dewp" - Weather Dew Point
    dewpoint_f
    dewpoint_c
    heat_index_string
    heat_index_f
    heat_index_c
    windchill_string = "w_flik" - Weather Feels Like Temperature
    windchill_f
    windchill_c
    visibility_mi = "w_vis" - Weather Visibility
    icon_url_base
    icon_url_name

    "w_sunr" - Weather SunRise
    "w_suns" - Weather SunSet
    "w_dnam" - Weather location name
    "w_tm" - Weather Time
    "w_t" - Weather Text
    "w_uv" - Weather UV Index
    "w_moont" - Weather Moon Phase Text



    ...JJG

  6. #26
    Super Moderator
    Auto Apps:loading...
    JohnWPB's Avatar
    Join Date
    Sep 2005
    Location
    West Palm Beach, Florida
    Posts
    4,701
    Blog Entries
    1
    XML Pages are perfect, as they are very easy to parse, like the following:

    Code:
    <location>Chicago/Ohare, IL</location>
    <station_id>KORD</station_id>
    <latitude>41.98</latitude>
    <longitude>-87.9</longitude>
    <observation_time>Last Updated on May 7, 10:51 pm CDT</observation_time>
    <observation_time_rfc822>Wed,  7 May 2008 22:51:00 -0500 CDT</observation_time_rfc822>
    <weather>Overcast</weather>
    <temperature_string>49 F (9 C)</temperature_string>
    <temp_f>49</temp_f>
    <temp_c>9</temp_c>
    <relative_humidity>71</relative_humidity>
    <wind_string>From the Northeast at 15 Gusting to 23 MPH</wind_string>
    <wind_dir>Northeast</wind_dir>
    <wind_degrees>40</wind_degrees>
    <wind_mph>14.95</wind_mph>
    <wind_gust_mph>23</wind_gust_mph>
    <pressure_string>29.81" (1009.4 mb)</pressure_string>
    <pressure_mb>1009.4</pressure_mb>
    <pressure_in>29.81</pressure_in>
    <dewpoint_string>40 F (4 C)</dewpoint_string>
    <dewpoint_f>40</dewpoint_f>
    <dewpoint_c>4</dewpoint_c>
    In code it would be as simple as looking for <temp_f> and reading the rest of the line, then removing the </temp_f> from the end of the line. (This is done as the temperature can be 1 to 3 digits in length).

    The problem with this site is quite clear though, this is the URL to that page:
    http://www.weather.gov/xml/current_obs/KORD.xml

    Notice it uses a 4 digit airport code in the URL, not a zipcode or town name. A list of airport codes can be found here, but leave still another major problem. If you live in Chicago, in the example above, it will find the airport code, then can add the code for Chicago to the URL to get the info. The problem being if you live in one of the hundreds of suburbs of Chicago, then nothing will be found by the name of that suburb.

    The bottom line being, the site needs to be able to pass a City and State to it, or be able to accept a zipcode. In the case of the zipcode, the Zips.dat file can return a town / city name, or if you look up a city / town in the zips.dat, you can get the city name as well.

    The major problem with all this is it is strictly North America based, and will not work anywhere else.
    Front End of Choice: Ride Runner (Is there anything else??? ) & Powered by the DFX5.1 Skin Available in the Mobile App Mart

    My Fiero Build Thread

  7. #27
    Super Moderator
    Auto Apps:loading...
    JohnWPB's Avatar
    Join Date
    Sep 2005
    Location
    West Palm Beach, Florida
    Posts
    4,701
    Blog Entries
    1

    Possible Sollution!

    @ -Zip-

    I just checked out that link you posted. The VERY first line in the thread I think is the answer:

    "I spoke to someone at the Weather Channel and he said that the feed has stopped for any clients who are not providing all 4 of the following parameters on their requests:"

    When RR is making a request, it is asking for the temperatures, conditions ect, and NOT asking for the required text links / advertisement. If this can be added to the RR source you are altering, to request that information, I think that may allow the request to be acknowledged as correct, and return the information requested.

    Look in the RR folder for MyWeather.xml. It will contain:

    Code:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <error>
      <err type="8">Bad or missing query parameters in request.</err>
    </error>
    To me that is just saying, in a nut shell, you didn't ask for all of the information required, and they are not gonna let you get away with that

    This could be a very simple fix after all if this is the case......

    Talking with BlueZX3, he had a good analogy of why its not working. It's very similar to calling a Subroutine on VB or a Function in Autoit. If you call that function / SUB, with the incorrect number of parameters it is expecting, it will just error out.
    Front End of Choice: Ride Runner (Is there anything else??? ) & Powered by the DFX5.1 Skin Available in the Mobile App Mart

    My Fiero Build Thread

  8. #28
    Variable Bitrate Jebus's Avatar
    Join Date
    Dec 2007
    Location
    Washington, USA
    Posts
    312
    Hey John,
    Have you seen this @ the HomeSeer Forum. I think this is the answer. Don't know about the license and partner ID's though.
    http://board.homeseer.com/showthread...ht=weather.com

    ...JJG

  9. #29
    Super Moderator
    Auto Apps:loading...
    JohnWPB's Avatar
    Join Date
    Sep 2005
    Location
    West Palm Beach, Florida
    Posts
    4,701
    Blog Entries
    1

    Talking Weather in Road Runner HAS BEEN FIXED!!!!!!

    WooHoo! after some trial and error, and a very very simple change to the RR source code, (Which BkueZX3 just happened to have open, and put in the source code for me and compiled) I have weather working perfectly here again! Exactly the way it was before it stopped working.

    I have submitted the code to Guino, and I am in the hopes that he can spit out a quick update to Road Runner for us

    In the mean time, here is the 11/02/07 version of Road Runner (Latest available source code) to test it if anyone wants to.

    Screen Capture from just a few minutes ago



    WARNING! Back up your current RoadRunner.exe before putting this TEST one into place!

    This version of Road Runner is before the new Progressive Sliders were added as well as a few other things. This is just meant as a "secondary" if you really NEED the weather. If not wait till Guino adds the altered code to the OFFICIAL release.
    Attached Files Attached Files
    Front End of Choice: Ride Runner (Is there anything else??? ) & Powered by the DFX5.1 Skin Available in the Mobile App Mart

    My Fiero Build Thread

  10. #30
    Raw Wave lostreception's Avatar
    Join Date
    Sep 2004
    Location
    NY
    Posts
    1,806

    Working on gas no guarantees

    Up to 20 stations
    distance to station based on gps location
    heading N S SW E Etc

    im trying to find the best way to integrate with rr and errorproof it
    Attached Images Attached Images  
    .______
    | '_ |__\___
    [(o)|___(o)] XB
    ._________
    | I__I I_I|_\__I
    [(o)______(o)]b VanPimpin'

    LostReceptions Apps D/L Here

    GPSGasoline- Rewriting

    Draw- SkribblePad for Touchscreens

    iGQwerty-iG3.0 Qwerty Keyboard

    CarPCNetwork

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
  •