It is currently November 19th, 2018, 8:10 am

Change to Weather.com XML feed

Release announcements and important news from the developers.
User avatar
uragiri_n
Posts: 6
Joined: July 30th, 2018, 1:25 pm
Location: Dhaka, Bangladesh

Re: Change to Weather.com XML feed

uragiri_n » July 30th, 2018, 1:34 pm

same here.
all the skins with xml links are blank for 2 days. first thought it was my isp that was causing the problem but it seems it's not.
any news when this will be fixed?
User avatar
jsmorley
Developer
Posts: 18330
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Change to Weather.com XML feed

jsmorley » July 30th, 2018, 1:41 pm

uragiri_n wrote:same here.
all the skins with xml links are blank for 2 days. first thought it was my isp that was causing the problem but it seems it's not.
any news when this will be fixed?
Have you tried fully exiting Rainmeter and restarting it, or rebooting your computer?

What is the location code you are using?
User avatar
uragiri_n
Posts: 6
Joined: July 30th, 2018, 1:25 pm
Location: Dhaka, Bangladesh

Re: Change to Weather.com XML feed

uragiri_n » July 30th, 2018, 1:48 pm

jsmorley wrote:Have you tried fully exiting Rainmeter and restarting it, or rebooting your computer?

What is the location code you are using?
yes. did it several times. restarted both the the rainmeter and my system.
this is the location code i am using 'BGXX0003'
User avatar
jsmorley
Developer
Posts: 18330
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Change to Weather.com XML feed

jsmorley » July 30th, 2018, 1:54 pm

uragiri_n wrote:yes. did it several times. restarted both the the rainmeter and my system.
this is the location code i am using 'BGXX0003'
Well, I'm not quite sure. When I use that code in my weather skin, it seems to work fine:
1.jpg
https://www.deviantart.com/jsmorley/art/WXDataWeather-2-1-603776448
You do not have the required permissions to view the files attached to this post.
User avatar
uragiri_n
Posts: 6
Joined: July 30th, 2018, 1:25 pm
Location: Dhaka, Bangladesh

Re: Change to Weather.com XML feed

uragiri_n » July 30th, 2018, 2:11 pm

jsmorley wrote:Well, I'm not quite sure. When I use that code in my weather skin, it seems to work fine:

1.jpg

https://www.deviantart.com/jsmorley/art/WXDataWeather-2-1-603776448
i've used this skin for quite some time. very user friendly compared to others. didn't know the creator himself was talking to me, thanks for the hard work!

but here's the issue. this is indeed odd :'(
restarted rainmeter, my system, even my router and tried changing my dns server. still the same for 2 days.
1.png
You do not have the required permissions to view the files attached to this post.
User avatar
jsmorley
Developer
Posts: 18330
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Change to Weather.com XML feed

jsmorley » July 30th, 2018, 2:18 pm

Try adding:

Debug=2

To the main WebParser parent measure:

Code: Select all

[WeatherParent]
Measure=WebParser
URL=https://wxdata.weather.com/wxdata/weather/local/#LocationCode#?cc=*&unit=#UnitOfMeasure#&dayf=#DaysFeed#&locale=#Locale#
RegExp=(?siU)^(.*)$
ForceReload=1
FinishAction=[!EnableMeasureGroup Weather][!UpdateMeasure CheckAlerts][!UpdateMeter *][!Redraw]
Debug=2
Then refresh the skin. In the skin folder will be a file WebParserDump.txt, paste that in here using

Code: Select all

 tags, so we can see what you are actually getting.
 
After you do that, remove that Debug=2 line, as you don't want it doing that all the time.
User avatar
uragiri_n
Posts: 6
Joined: July 30th, 2018, 1:25 pm
Location: Dhaka, Bangladesh

Re: Change to Weather.com XML feed

uragiri_n » July 30th, 2018, 2:28 pm

here's the WebParserDump txt file. TIA

Code: Select all

<weather ver="2.0">
        <head>
      <locale>en_US</locale>
      <form>MEDIUM</form>
      <ut>C</ut>
      <ud>km</ud>
      <us>km/h</us>
      <up>mb</up>
      <ur>mm</ur>
    </head>
        <loc id="BGXX0003">
      <dnam>Dhaka, C, Bangladesh</dnam>
      <tm>8:29 PM</tm>
      <lat>23.70</lat>
      <lon>90.39</lon>
      <sunr>5:27 AM</sunr>
      <suns>6:42 PM</suns>
      <zone>6</zone>
    </loc>
        
        
        
        <dayf>
        <lsup>7/30/18 7:00 AM BDT</lsup>
        <day d="0" t="Monday" dt="Jul 30">
        <hi></hi>
        <low>26</low>
        <sunr>5:27 AM</sunr>
        <suns>6:42 PM</suns>
        
        <part p="d">
          <icon></icon>
          <t></t>
          <wind>
      <s>calm</s>
      <gust>N/A</gust>
      <d>0</d>
      <t>CALM</t>
    </wind>
          <bt></bt>
          <ppcp>0</ppcp>
          <hmid>0</hmid>
        </part>
        <part p="n">
          <icon>4</icon>
          <t>T-Storms</t>
          <wind>
      <s>calm</s>
      <gust>N/A</gust>
      <d>0</d>
      <t>CALM</t>
    </wind>
          <bt>T-Storms</bt>
          <ppcp>90</ppcp>
          <hmid>85</hmid>
        </part>
      </day><day d="1" t="Tuesday" dt="Jul 31">
        <hi>30</hi>
        <low>26</low>
        <sunr>5:27 AM</sunr>
        <suns>6:42 PM</suns>
        
        <part p="d">
          <icon>4</icon>
          <t>T-Storms</t>
          <wind>
      <s>14</s>
      <gust>N/A</gust>
      <d>141</d>
      <t>SE</t>
    </wind>
          <bt>T-Storms</bt>
          <ppcp>90</ppcp>
          <hmid>80</hmid>
        </part>
        <part p="n">
          <icon>4</icon>
          <t>T-Storms</t>
          <wind>
      <s>14</s>
      <gust>N/A</gust>
      <d>141</d>
      <t>SE</t>
    </wind>
          <bt>T-Storms</bt>
          <ppcp>100</ppcp>
          <hmid>87</hmid>
        </part>
      </day><day d="2" t="Wednesday" dt="Aug 1">
        <hi>29</hi>
        <low>26</low>
        <sunr>5:27 AM</sunr>
        <suns>6:42 PM</suns>
        
        <part p="d">
          <icon>4</icon>
          <t>T-Storms</t>
          <wind>
      <s>12</s>
      <gust>N/A</gust>
      <d>178</d>
      <t>S</t>
    </wind>
          <bt>T-Storms</bt>
          <ppcp>100</ppcp>
          <hmid>84</hmid>
        </part>
        <part p="n">
          <icon>4</icon>
          <t>T-Storms</t>
          <wind>
      <s>12</s>
      <gust>N/A</gust>
      <d>178</d>
      <t>S</t>
    </wind>
          <bt>T-Storms</bt>
          <ppcp>100</ppcp>
          <hmid>88</hmid>
        </part>
      </day><day d="3" t="Thursday" dt="Aug 2">
        <hi>29</hi>
        <low>26</low>
        <sunr>5:27 AM</sunr>
        <suns>6:42 PM</suns>
        
        <part p="d">
          <icon>4</icon>
          <t>T-Storms</t>
          <wind>
      <s>12</s>
      <gust>N/A</gust>
      <d>185</d>
      <t>S</t>
    </wind>
          <bt>T-Storms</bt>
          <ppcp>100</ppcp>
          <hmid>84</hmid>
        </part>
        <part p="n">
          <icon>4</icon>
          <t>T-Storms</t>
          <wind>
      <s>12</s>
      <gust>N/A</gust>
      <d>185</d>
      <t>S</t>
    </wind>
          <bt>T-Storms</bt>
          <ppcp>90</ppcp>
          <hmid>88</hmid>
        </part>
      </day><day d="4" t="Friday" dt="Aug 3">
        <hi>30</hi>
        <low>26</low>
        <sunr>5:27 AM</sunr>
        <suns>6:42 PM</suns>
        
        <part p="d">
          <icon>4</icon>
          <t>T-Storms</t>
          <wind>
      <s>12</s>
      <gust>N/A</gust>
      <d>162</d>
      <t>SSE</t>
    </wind>
          <bt>T-Storms</bt>
          <ppcp>90</ppcp>
          <hmid>81</hmid>
        </part>
        <part p="n">
          <icon>4</icon>
          <t>T-Storms</t>
          <wind>
      <s>12</s>
      <gust>N/A</gust>
      <d>162</d>
      <t>SSE</t>
    </wind>
          <bt>T-Storms</bt>
          <ppcp>80</ppcp>
          <hmid>87</hmid>
        </part>
      </day><day d="5" t="Saturday" dt="Aug 4">
        <hi>31</hi>
        <low>26</low>
        <sunr>5:27 AM</sunr>
        <suns>6:42 PM</suns>
        
        <part p="d">
          <icon>4</icon>
          <t>T-Storms</t>
          <wind>
      <s>11</s>
      <gust>N/A</gust>
      <d>172</d>
      <t>S</t>
    </wind>
          <bt>T-Storms</bt>
          <ppcp>90</ppcp>
          <hmid>80</hmid>
        </part>
        <part p="n">
          <icon>4</icon>
          <t>T-Storms</t>
          <wind>
      <s>11</s>
      <gust>N/A</gust>
      <d>172</d>
      <t>S</t>
    </wind>
          <bt>T-Storms</bt>
          <ppcp>80</ppcp>
          <hmid>87</hmid>
        </part>
      </day>
      </dayf>
        
        
        
        
        
        
        
      </weather>
User avatar
jsmorley
Developer
Posts: 18330
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Change to Weather.com XML feed

jsmorley » July 30th, 2018, 2:33 pm

So it's just missing the section for "current conditions" entirely.

The only thing I can think is that it would be logical that weather.com would spread this functionality around on different servers in different regions of the world, to increase speed and distribute the resources they need. It seems that the server you are being directed to in your region has a problem with current conditions being added to the XML.

Not sure there is much you can do about that, short of perhaps using a VPN to obfuscate the region your IP address is being detected as, and that is pretty brute-force.

I think all you can reasonably do is wait and hope that sooner rather than later they recognize (and care) that they have a problem with the XML feed in your region, and fix it. I don't know of anywhere you can report the problem, or check any current status or issues with this feed. There may be such, but I don't know of it. As I have said, free XML feeds for weather sites are not a terribly high priority for them.
User avatar
uragiri_n
Posts: 6
Joined: July 30th, 2018, 1:25 pm
Location: Dhaka, Bangladesh

Re: Change to Weather.com XML feed

uragiri_n » July 30th, 2018, 2:38 pm

exactly my thought.
my isp called few days back that there will be some submarine cable maintenance so we could face some problems.
let's just hope they can fix this
User avatar
jsmorley
Developer
Posts: 18330
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Change to Weather.com XML feed

jsmorley » July 30th, 2018, 2:41 pm

uragiri_n wrote:exactly my thought.
my isp called few days back that there will be some submarine cable maintenance so we could face some problems.
let's just hope they can fix this
I do not think this is a problem with your ISP or your connection in general, as if that were the case you wouldn't be getting anything. You are getting "most" of the data correctly from the feed, just not "current conditions" That simply must be a problem on weather.com's end, no doubt on some server that you are being directed to due to the IP address they get from you.

As I said, if you used a VPN to change your IP address to say the state of Virginia in the US (where I am) I'd bet you a dollar it would then work perfectly fine. Not suggesting that as a realistic solution of course, as having your system route all traffic all the way to the US would put a hurt on performance, but I suspect it would prove that what I'm suggesting is true.