Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1228
  • Last Modified:

Google weather API has error in XML

http://www.google.com/ig/api?weather=23510

Look at line 3 on the displayed XML document.  Isn't that an error?
0
CompuTurk
Asked:
CompuTurk
  • 5
  • 4
1 Solution
 
Geert BormansCommented:
I can't access the source XML, but that seems an error indeed
(though this XML is wellformed, I think there is a ">" too much)
0
 
CompuTurkAuthor Commented:
Seems like the last part of the line 2 is repeated.  I am wondering if this is the cause of weather not working on this site.

http://www.norfolkcvb.com/index.php

Look at top right corner.  It usually displays icon for the weather and the temperature in Fahrenheit.
Arggghh!
0
 
Geert BormansCommented:
Could be, if that site is relying on the google api, it likely is
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
CompuTurkAuthor Commented:
I think the problem is something else.  I am not sure what it is.  This just stopped working.
0
 
Geert BormansCommented:
I object.
The original question is completely and accurately answered in my first comment.
Namely " it isn' a wellformedness error "
Today, on a Sunday, you state that the problem, on a site that originally had nothing to do with this question, is likely something else and you immedeatly start the process of deletion,
so, I don't agree, I answered the original question....
Note that if you would have given me more time (more than a couple of hours on a Sunday morning), I might have had the oportunity to look into your follow up question
0
 
CompuTurkAuthor Commented:
Gertone, relax...it is fine.  I would go ahead and accept your question as an answer, but I believe this question does not deserve to be added to the EE Library since it is not providing a solution.

So, I will go ahead and reopen this question.
0
 
Geert BormansCommented:
OK, well I am curious to know what else you expect to find here...

The Norfolk website uses the GoogleApi Weather service
http://www.google.com/ig/api?weather=Norfolk
I found that in the page of the Norfolk website.

The call for the service happens in an Ajax function, and I can't access the details of that function.
So, there is a bug in google API, that is a possible problem of using public services,
if you find it really annoying, send a message to google about it.

On the other hand, the payload of the google service is still wellformed XML
(I made a little Ruby test harnass and downloaded the XML for quiet a bit of those requests,
they all suffer from the same error)
So, if I were to develop the XSLT or whatever DOM oriented program to deal with this XML, it would not suffer from the bug.

If you are at the development side of the Norfolk site, change your processes, you can perfectly deal with this wellformed XML without any problem.
If you are just using the Norfolk site, you need to live with the problem until someone at google or at Norfolk corrects some code

What more can I do for you?
0
 
CompuTurkAuthor Commented:
This all all I needed.  Thanks.
0
 
Geert BormansCommented:
welcome
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 5
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now