Sources of live XML data on the web

I teach some web and Android classes, and in these courses I’m creating a lecture and set of exercises that make use of retrieving XML data across the web to be displayed on a web page or in an app. We’ve already done a simple look-up for gold or silver prices, as well as NOAA weather station recent conditions, but I’m looking for other sources.

Are there other good sources of XML data, preferably “live” data that is continually updated. I’m looking for things like sports scores, TV listings, air traffic reports, highway closures, etc. I know about http://www.usgovxml.com/ - is there anything interesting in there?

Examples would also be appreciated!

I use an XML feed myself to construct a snow/weather forecast for one of my sites using c# and asp.net.

I’m not on my work PC at the moment so I can’t give you the direct link to the XML, but you should be able to get what you need from here:

eta… ah, sorry, just seen that you were looking for something continuously updated, and this is only updated daily.

There was another project I scoped out, but never wrote, for an aircraft charter company. You might find something useful here:

Rob - Once a day is “live” in my books - thanks! Some of the government XML data looks like it hasn’t been updated for years (earthquake data that stops in 2009!)

My pleasure. I’ll pm you a link to the site so you can see what I did with it.

Aren’t rss feeds xml? If so, there are millions of them. You can also use yahoo pipes to or ifttt to make your own xml feeds from various websites and apis. Sorry, on not so smart phone or would provide links.

You’ll find plenty of XML feeds here. Some will only be daily and some can be as rapid as 10 minute data

http://w1.weather.gov/xml/current_obs/

Just got home and decided to verify what I said earlier. Yup, RSS feeds are (almost always) XML these days, and they are everywhere.

Sports: on Yahoo! Sports - News, Scores, Standings, Rumors, Fantasy Games
TV listings: TVRage.com :: TV Schedule RSS Feed
California roads: Facebook
Colorado roads: https://www.codot.gov/travel/travel-information-rss-feeds.html
Reddit: reddit: the front page of the internet or search results
Google for more feeds: your query filetype:rss

Keep in mind that you’ll have to “view source” on some of them if you’re using a regular browser, because they usually return raw XML with no styling involved and the browser doesn’t always render that usefully.