<?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>Good ITea :: MS Tech Share &#187; api</title>
	<atom:link href="http://blog.lansea-chu.com/index.php/archives/tag/api/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.lansea-chu.com</link>
	<description>Good Idea from Good ITea</description>
	<lastBuildDate>Tue, 27 Jul 2010 21:51:52 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>[ASP.NET]Google Map API 取得經緯度</title>
		<link>http://blog.lansea-chu.com/index.php/archives/353</link>
		<comments>http://blog.lansea-chu.com/index.php/archives/353#comments</comments>
		<pubDate>Tue, 19 May 2009 10:55:16 +0000</pubDate>
		<dc:creator>Lansea.Chu</dc:creator>
				<category><![CDATA[.NET程式設計]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[ASP]]></category>
		<category><![CDATA[asp.net]]></category>
		<category><![CDATA[google]]></category>

		<guid isPermaLink="false">http://blog.lansea-chu.com/?p=353</guid>
		<description><![CDATA[ 
分享一下程式碼
剛好用到這部份:-)    

這函數會回傳一個字串陣列
其中第二個元素就是經 第三個就是緯 丟到Googe MAP API後就可以運作了
 
  Function getxy() As String()       
         Dim address As String = 『你的地址』
        Dim apikey = 『你的API Key』
        Dim url = 『http://maps.google.com/maps/geo?q=』 &#38; address &#38; 『&#38;output=csv&#38;key=』 &#38; apikey
        Dim myrequest As System.Net.HttpWebRequest = System.Net.WebRequest.Create(url)
        Dim mywebresponse As System.Net.WebResponse = myrequest.GetResponse()
   [...]]]></description>
			<content:encoded><![CDATA[<p> </p>
<p>分享一下程式碼</p>
<p>剛好用到這部份:-)    </p>
<p><span id="more-353"></span></p>
<p>這函數會回傳一個<strong>字串陣列</strong></p>
<p>其中<strong>第二個元素就是經</strong> <strong>第三個就是緯</strong> 丟到Googe MAP API後就可以運作了</p>
<p> </p>
<p>  <span style="color: #0000ff;">Function getxy() As String()       </span></p>
<p>     <span style="color: #0000ff;"> </span><span style="color: #0000ff;">   Dim address As String = 『你的地址』</span></p>
<p><span style="color: #0000ff;">        Dim apikey = 『你的API Key』</span></p>
<p><span style="color: #0000ff;">        Dim url = 『http://maps.google.com/maps/geo?q=』 &amp; address &amp; 『&amp;output=csv&amp;key=』 &amp; apikey</span></p>
<p><span style="color: #0000ff;">        Dim myrequest As System.Net.HttpWebRequest = System.Net.WebRequest.Create(url)</span></p>
<p><span style="color: #0000ff;">        Dim mywebresponse As System.Net.WebResponse = myrequest.GetResponse()</span></p>
<p><span style="color: #0000ff;">        Dim mystream As IO.Stream = mywebresponse.GetResponseStream()</span></p>
<p><span style="color: #0000ff;">        Dim sr As IO.StreamReader = New IO.StreamReader(mystream, Encoding.Default)</span></p>
<p><span style="color: #0000ff;">        Return Split(sr.ReadToEnd, 『,』)</span></p>
<p><span style="color: #0000ff;">  End Function</span></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lansea-chu.com/index.php/archives/353/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>[.NET]QRcode API接口(By Google Chart)</title>
		<link>http://blog.lansea-chu.com/index.php/archives/349</link>
		<comments>http://blog.lansea-chu.com/index.php/archives/349#comments</comments>
		<pubDate>Thu, 14 May 2009 12:25:32 +0000</pubDate>
		<dc:creator>Lansea.Chu</dc:creator>
				<category><![CDATA[.NET程式設計]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[qr]]></category>

		<guid isPermaLink="false">http://blog.lansea-chu.com/?p=349</guid>
		<description><![CDATA[專案上有使用到，之前是使用 qrdoor.com 的API服務
但在前天的時候突然發現整個大小都被固定住了
查了一下才發現qrdoor.com 的API已經開始收費(免費版會有限制)

因為qrdoor.com的月租費居然要高達一萬六!
不爽花錢的情況下就換了一個API接口。
改換到Google Chart上。
分享一下Google QRcode 的API接口
API URL: http://chart.apis.google.com/chart?cht=qr
參數說明:
chs=大小 ex. 100&#215;100
chl=內含資訊 ex. URL路徑(http://xxx.xxx.com)
 
請依照實際使用需求呼叫使用即可。
目前測試正常使用，且比QRDoor.com的更加好用!
]]></description>
			<content:encoded><![CDATA[<p>專案上有使用到，之前是使用 <a href="http://qrdoor.com" target="_blank">qrdoor.com</a> 的API服務</p>
<p>但在前天的時候突然發現整個大小都被固定住了</p>
<p>查了一下才發現<strong>qrdoor.com 的API已經開始收費</strong><span style="color: #ff0000;">(免費版會有限制)</span></p>
<p><span id="more-349"></span></p>
<p>因為qrdoor.com的月租費居然要高達<strong><span style="color: #ff0000;">一萬六</span></strong>!</p>
<p><span style="text-decoration: underline;">不爽花錢</span>的情況下就換了一個API接口。</p>
<p>改換到Google Chart上。</p>
<p>分享一下Google QRcode 的API接口</p>
<p>API URL: http://chart.apis.google.com/chart?cht=qr</p>
<p>參數說明:</p>
<p>chs=大小 ex. 100&#215;100</p>
<p>chl=內含資訊 ex. URL路徑(http://xxx.xxx.com)</p>
<p> </p>
<p>請依照實際使用需求呼叫使用即可。</p>
<p>目前測試正常使用，且比QRDoor.com的更加好用!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.lansea-chu.com/index.php/archives/349/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
