Last active
September 21, 2015 23:12
-
-
Save oliveratgithub/890bb1be9eb9ec6e7982 to your computer and use it in GitHub Desktop.
Example call to accuweather.com from Apple's Weather Dashboard Widget in OS X Yosemite, http://apple.accuweather.com/adcbin/apple/Apple_find_city.asp?location=Zurich
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<adc_Database xmlns="http://www.accuweather.com"> | |
<CityList us="4" intl="3" extra_cities="0"> | |
<location city="Zurich" state="KS" postal="lid_2137121"/> | |
<location city="Zurich" state="NY" postal="lid_2171451"/> | |
<location city="Zurich" state="MT" postal="lid_349249"/> | |
<location city="Zurich" state="CA" postal="lid_2143185"/> | |
<location city="Zurich" state="Switzerland (Zurich)" postal="lid_316622"/> | |
<location city="Zurich" state="Netherlands (Friesland)" postal="lid_247882"/> | |
<location city="Zurich" state="Canada (Ontario)" postal="lid_2289281"/> | |
</CityList> | |
<copyright>Copyright 2015 AccuWeather.com</copyright> | |
<use>Apple Widget - This document is intended only for use by authorized licensees of AccuWeather.com. Unauthorized use is prohibited. All Rights Reserved.</use> | |
<redistribution>Redistribution Prohibited.</redistribution> | |
</adc_Database> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Related blog post: http://raduner.ch/blog/apples-dashboard-weather-widget-javascript-urlcalls-analyzed