<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SHUGUO &#187; weather</title>
	<atom:link href="http://www.shuguo.org/tag/weather/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.shuguo.org</link>
	<description></description>
	<lastBuildDate>Mon, 22 Aug 2011 10:10:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Google Latitude与天气</title>
		<link>http://www.shuguo.org/2011/01/28/google-latitude-weather/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=google-latitude-weather</link>
		<comments>http://www.shuguo.org/2011/01/28/google-latitude-weather/#comments</comments>
		<pubDate>Fri, 28 Jan 2011 10:10:13 +0000</pubDate>
		<dc:creator>果</dc:creator>
				<category><![CDATA[开发-Develop]]></category>
		<category><![CDATA[数码琐事-Digital]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[google latitude]]></category>
		<category><![CDATA[json]]></category>
		<category><![CDATA[weather]]></category>

		<guid isPermaLink="false">http://www.shuguo.org/?p=807</guid>
		<description><![CDATA[经常会有一些没有用的想法，这次是打算把Google Latitude和天气预报结合起来。显示用户实时所在地的天气信息。 实现起来非常简单，首先从Google Latitude获得JSON信息，https://www.google.com/latitude/apps/badge/api?user=-X&#38;type=json，其中X为用户的19位Google Latitude ID。 例如我的Google Latitude JSON信息如下： ?View Code JSON1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 { &#34;type&#34;: &#34;FeatureCollection&#34;, &#34;features&#34;: [ { &#34;type&#34;: &#34;Feature&#34;, &#34;geometry&#34;: {&#34;type&#34;: &#8230; <a href="http://www.shuguo.org/2011/01/28/google-latitude-weather/">Continue reading <span class="meta-nav">&#8594;</span></a>
Related posts:<ol>
<li><a href='http://www.shuguo.org/2009/01/19/google_calendar_sync/' rel='bookmark' title='iPhone与Google日程表同步新方法'>iPhone与Google日程表同步新方法</a></li>
<li><a href='http://www.shuguo.org/2009/05/15/%e6%af%95%e4%b8%9a%e8%ae%be%e8%ae%a1%e6%84%9f%e6%83%b3/' rel='bookmark' title='毕业设计感想'>毕业设计感想</a></li>
<li><a href='http://www.shuguo.org/2008/07/11/firefox_plugin/' rel='bookmark' title='提高效率的Firefox3插件'>提高效率的Firefox3插件</a></li>
<li><a href='http://www.shuguo.org/2011/02/09/thesis-presentation/' rel='bookmark' title='Thesis presentation'>Thesis presentation</a></li>
<li><a href='http://www.shuguo.org/2011/02/26/%e7%a7%9f%e6%88%bfvs%e4%b9%b0%e6%88%bf/' rel='bookmark' title='租房vs买房'>租房vs买房</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://picasaweb.google.com/lh/photo/fcUt2IEJgu19bFEQgILpMcyPdkS6zzRV-3RCyXm-zME?feat=embedwebsite"><img src="http://lh3.ggpht.com/_8QVjn5bCEU4/TUKXo9hZZwI/AAAAAAAAbv0/HOKvwjOlYt8/s800/google-latitude-weather.jpg" alt="" width="200" height="84" /></a><br />
经常会有一些没有用的想法，这次是打算把<a href="http://www.google.com/latitude">Google Latitude</a>和天气预报结合起来。显示用户实时所在地的天气信息。<br />
实现起来非常简单，首先从Google Latitude获得<a href="http://www.json.org">JSON</a>信息，https://www.google.com/latitude/apps/badge/api?user=-X&amp;type=json，其中X为用户的19位Google Latitude ID。<br />
例如我的Google Latitude JSON信息如下：</p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p807code2'); return false;">View Code</a> JSON</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p8072"><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
</pre></td><td class="code" id="p807code2"><pre class="json" style="font-family:monospace;">{ &quot;type&quot;: &quot;FeatureCollection&quot;,
&quot;features&quot;: [
{ &quot;type&quot;: &quot;Feature&quot;,
&quot;geometry&quot;: {&quot;type&quot;: &quot;Point&quot;, &quot;coordinates&quot;: [18.0248728, 59.3828018]},
&quot;properties&quot;: {
&quot;id&quot;: &quot;-X&quot;,
&quot;accuracyInMeters&quot;: 60,
&quot;timeStamp&quot;: 1296208549,
&quot;reverseGeocode&quot;: &quot;Solna Municipality, Sweden&quot;,
&quot;photoUrl&quot;: &quot;https://www.google.com/latitude/apps/badge/api?type=photo&amp;amp;photo=&quot;,
&quot;photoWidth&quot;: 96,
&quot;photoHeight&quot;: 96,
&quot;placardUrl&quot;: &quot;https://www.google.com/latitude/apps/badge/api?type=photo_placard&amp;amp;photo=r&amp;amp;moving=false&amp;amp;stale=false&amp;amp;lod=1&amp;amp;format=png&quot;,
&quot;placardWidth&quot;: 56,
&quot;placardHeight&quot;: 59
}
}
]
}</pre></td></tr></table></div>

<p>从中抓取出coordinates值，也就是经度与纬度，18.0248728, 59.3828018<br />
使用<a href="http://www.wunderground.com">wunderground</a>的api获得当时的天气信息的XML</p>
<p><a href="http://api.wunderground.com/auto/wui/geo/WXCurrentObXML/index.xml?query=59.3829104,18.0248496">http://api.wunderground.com/auto/wui/geo/WXCurrentObXML/index.xml?query=59.3829104,18.0248496</a></p>
<p>Related posts:<ol>
<li><a href='http://www.shuguo.org/2009/01/19/google_calendar_sync/' rel='bookmark' title='iPhone与Google日程表同步新方法'>iPhone与Google日程表同步新方法</a></li>
<li><a href='http://www.shuguo.org/2009/05/15/%e6%af%95%e4%b8%9a%e8%ae%be%e8%ae%a1%e6%84%9f%e6%83%b3/' rel='bookmark' title='毕业设计感想'>毕业设计感想</a></li>
<li><a href='http://www.shuguo.org/2008/07/11/firefox_plugin/' rel='bookmark' title='提高效率的Firefox3插件'>提高效率的Firefox3插件</a></li>
<li><a href='http://www.shuguo.org/2011/02/09/thesis-presentation/' rel='bookmark' title='Thesis presentation'>Thesis presentation</a></li>
<li><a href='http://www.shuguo.org/2011/02/26/%e7%a7%9f%e6%88%bfvs%e4%b9%b0%e6%88%bf/' rel='bookmark' title='租房vs买房'>租房vs买房</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.shuguo.org/2011/01/28/google-latitude-weather/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>瑞典天气</title>
		<link>http://www.shuguo.org/2009/05/28/%e7%91%9e%e5%85%b8%e5%a4%a9%e6%b0%94/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=%25e7%2591%259e%25e5%2585%25b8%25e5%25a4%25a9%25e6%25b0%2594</link>
		<comments>http://www.shuguo.org/2009/05/28/%e7%91%9e%e5%85%b8%e5%a4%a9%e6%b0%94/#comments</comments>
		<pubDate>Thu, 28 May 2009 18:16:00 +0000</pubDate>
		<dc:creator>果</dc:creator>
				<category><![CDATA[学在瑞典...]]></category>
		<category><![CDATA[Stockholm]]></category>
		<category><![CDATA[weather]]></category>
		<category><![CDATA[天气]]></category>
		<category><![CDATA[斯德哥尔摩]]></category>
		<category><![CDATA[斯德哥尔摩天气]]></category>
		<category><![CDATA[瑞典天气]]></category>
		<category><![CDATA[瑞典设计]]></category>
		<category><![CDATA[留学瑞典]]></category>

		<guid isPermaLink="false">http://www.shuguo.org/?p=504</guid>
		<description><![CDATA[这篇叫做瑞典的天气其实不很恰当，如果称作斯德哥尔摩的天气还能好些。不过据我了解，北部的于默尔会比斯德哥尔摩冷些，哥德堡的风能大些，南部的隆德和马尔默就稍微暖和些了。毕竟瑞典不是很大的国家，因此以斯德哥尔摩作为标准，其他的地方也都差不多。 在我来瑞典之前，在网上听说北欧的冬季是多么的寒冷。但事实上对我来说，瑞典的气候非常棒，冬季比我的家乡（东北）暖和很多，夏季又会凉快。这里受大西洋暖流的影响，虽然纬度要比中国东北的好多地区都要高，但是冬季却暖和的多。斯德哥尔摩又靠湖临海，海洋性气候使得温差不是很大。又由于波罗的海属于内海，大风的天气不多。特别是近两年，全球气候变暖，冬季的气温最低也只有零下20度。一般在零下10度以上，而且公共交通比较便利，室内的供暖又完善，所以对我来说丝毫没有寒冷的感觉。至于网上的说法，我觉得可能是南方同学们的观点，不过在我看来，这里又有暖气，而且不会潮湿。所以来留学的朋友可以大可放心，冬季的温度不是问题。问题是“日照时间”，众所周知，瑞典地处高纬度，所以冬季下午三点钟黑天是很正常的事情，而且多阴云天气。的确让人感到压抑，以致北欧冬季自杀率在全球名列前茅。 不过只要熬到春天，瑞典的好日子就来了。在晚上九十点钟出去晒晒太阳也不是什么新鲜事了。享受阳光就成了不去学习，不去上课的借口了。（不过这几天，有些反常，雨多了起来。）同时，睡眠又成了问题，习惯了熬夜的我，经常在早上7点多钟被阳光晃醒。睡眠不足是经常发生的，这一点也和冬季相反。夏天在瑞典，最高气温也只有28度左右，所以这是瑞典最美好的季节。但由于高纬度，加上空气通透性好（可能），所以防晒一定要注意。即使没有了高温，紫外线依旧（甚至更加）伤人。 提供些实时天气查询的链接：The Local瑞典天气， Stockholm Weather Forecast 更新：班级上的瑞典同学刚分享了一个天气预报的网站：http://www.klart.se，非常的不错。 2009.10.30更新：斯德哥尔摩天气预报 Stockholm Weather Related posts: Interesting Data Visualization about Stockholm Stockholm Pride Study in Stockholm brochure 在瑞典H1N1疫苗接种 2009没了
Related posts:<ol>
<li><a href='http://www.shuguo.org/2011/01/02/interesting-data-visualization-about-stockholm/' rel='bookmark' title='Interesting Data Visualization about Stockholm'>Interesting Data Visualization about Stockholm</a></li>
<li><a href='http://www.shuguo.org/2009/07/29/stockholm-pride/' rel='bookmark' title='Stockholm Pride'>Stockholm Pride</a></li>
<li><a href='http://www.shuguo.org/2009/09/03/study-in-stockholm-brochure/' rel='bookmark' title='Study in Stockholm brochure'>Study in Stockholm brochure</a></li>
<li><a href='http://www.shuguo.org/2009/11/10/%e5%9c%a8%e7%91%9e%e5%85%b8h1n1%e7%96%ab%e8%8b%97%e6%8e%a5%e7%a7%8d/' rel='bookmark' title='在瑞典H1N1疫苗接种'>在瑞典H1N1疫苗接种</a></li>
<li><a href='http://www.shuguo.org/2010/01/01/2009%e6%b2%a1%e4%ba%86/' rel='bookmark' title='2009没了'>2009没了</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>这篇叫做瑞典的天气其实不很恰当，如果称作斯德哥尔摩的天气还能好些。不过据我了解，北部的于默尔会比斯德哥尔摩冷些，哥德堡的风能大些，南部的隆德和马尔默就稍微暖和些了。毕竟瑞典不是很大的国家，因此以斯德哥尔摩作为标准，其他的地方也都差不多。</p>
<p>在我来瑞典之前，在网上听说北欧的冬季是多么的寒冷。但事实上对我来说，瑞典的气候非常棒，冬季比我的家乡（东北）暖和很多，夏季又会凉快。这里受大西洋暖流的影响，虽然纬度要比中国东北的好多地区都要高，但是冬季却暖和的多。斯德哥尔摩又靠湖临海，海洋性气候使得温差不是很大。又由于波罗的海属于内海，大风的天气不多。特别是近两年，全球气候变暖，冬季的气温最低也只有零下20度。一般在零下10度以上，而且公共交通比较便利，室内的供暖又完善，所以对我来说丝毫没有寒冷的感觉。至于网上的说法，我觉得可能是南方同学们的观点，不过在我看来，这里又有暖气，而且不会潮湿。所以来留学的朋友可以大可放心，冬季的温度不是问题。问题是“日照时间”，众所周知，瑞典地处高纬度，所以冬季下午三点钟黑天是很正常的事情，而且多阴云天气。的确让人感到压抑，以致北欧冬季自杀率在全球名列前茅。</p>
<p>不过只要熬到春天，瑞典的好日子就来了。在晚上九十点钟出去晒晒太阳也不是什么新鲜事了。享受阳光就成了不去学习，不去上课的借口了。（不过这几天，有些反常，雨多了起来。）同时，睡眠又成了问题，习惯了熬夜的我，经常在早上7点多钟被阳光晃醒。睡眠不足是经常发生的，这一点也和冬季相反。夏天在瑞典，最高气温也只有28度左右，所以这是瑞典最美好的季节。但由于高纬度，加上空气通透性好（可能），所以防晒一定要注意。即使没有了高温，紫外线依旧（甚至更加）伤人。</p>
<p>提供些实时天气查询的链接：<a href="http://www.thelocal.se/weather/">The Local瑞典天气</a>， <a href="http://www.weather.com/outlook/travel/businesstraveler/local/SWXX0031?lswe=stockholm&amp;lwsa=Weather36HourBusinessTravelerCommand&amp;from=searchbox_typeahead">Stockholm Weather Forecast</a></p>
<p>更新：班级上的瑞典同学刚分享了一个天气预报的网站：<a href="http://www.klart.se/">http://www.klart.se</a>，非常的不错。</p>
<p>2009.10.30更新：斯德哥尔摩天气预报</p>
<div id="c_58b031cb9d63a6391693f93b358b2f5a" class="completo">
<h2 style="color: #000000; margin: 0 0 3px; padding: 2px; font: bold 13px/1.2 Verdana; text-align: center;">Stockholm Weather</h2>
</div>
<p><script src="http://en.klart.se/widget/widget_loader/58b031cb9d63a6391693f93b358b2f5a" type="text/javascript"></script></p>
<p>Related posts:<ol>
<li><a href='http://www.shuguo.org/2011/01/02/interesting-data-visualization-about-stockholm/' rel='bookmark' title='Interesting Data Visualization about Stockholm'>Interesting Data Visualization about Stockholm</a></li>
<li><a href='http://www.shuguo.org/2009/07/29/stockholm-pride/' rel='bookmark' title='Stockholm Pride'>Stockholm Pride</a></li>
<li><a href='http://www.shuguo.org/2009/09/03/study-in-stockholm-brochure/' rel='bookmark' title='Study in Stockholm brochure'>Study in Stockholm brochure</a></li>
<li><a href='http://www.shuguo.org/2009/11/10/%e5%9c%a8%e7%91%9e%e5%85%b8h1n1%e7%96%ab%e8%8b%97%e6%8e%a5%e7%a7%8d/' rel='bookmark' title='在瑞典H1N1疫苗接种'>在瑞典H1N1疫苗接种</a></li>
<li><a href='http://www.shuguo.org/2010/01/01/2009%e6%b2%a1%e4%ba%86/' rel='bookmark' title='2009没了'>2009没了</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.shuguo.org/2009/05/28/%e7%91%9e%e5%85%b8%e5%a4%a9%e6%b0%94/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

