<?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>浮山狼de博客 &#187; googleapi</title>
	<atom:link href="https://www.fushanlang.com/tag/googleapi/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.fushanlang.com</link>
	<description>next station - 下一站，活在当下，且行且思</description>
	<lastBuildDate>Sat, 29 Nov 2014 15:14:11 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.2.5</generator>
	<item>
		<title>引入Google Ajax API的jquery库</title>
		<link>https://www.fushanlang.com/the-introduction-of-google-ajax-apis-jquery-library-1682/</link>
		<comments>https://www.fushanlang.com/the-introduction-of-google-ajax-apis-jquery-library-1682/#comments</comments>
		<pubDate>Thu, 27 Jan 2011 01:07:33 +0000</pubDate>
		<dc:creator><![CDATA[fushanlang]]></dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[googleapi]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://www.fushanlang.com/blog/?p=1682</guid>
		<description><![CDATA[jquery google API  AjaxAPI 库 <p>调用Google API的代码库，可以有效的减少自己站上的流量。比如Jquery，gzip后有19K，调用Google Api，不仅省去了流量，如果大家的网站都这么做的话，由于缓存原因，很多网站用到的话，就不需要重复加载了，非常节省资源，和加载时间。</p> <p>采用Ajax动态加载google的API中jquery库的代码是这样的：</p> google.load("jquery", "1.3.2");//加载jQuery 1.3.2 <p>之所以采用www.google.com.tw（这里也可以更换成其他域名如google.de,google.jp之类的）是因为www.google.com有时会不稳定，就会导致加载此代码的页面打不开。实际上如果你只用到jquery的话，根据firebug（火狐下插件）给出的实际地址，也可以直接向下面这样引入jquery库。</p> 希望对需要的朋友有用。:) ]]></description>
				<content:encoded><![CDATA[<h2>jquery google API  AjaxAPI 库</h2>
<p>调用Google API的代码库，可以有效的减少自己站上的流量。比如Jquery，gzip后有19K，调用Google Api，不仅省去了流量，如果大家的网站都这么做的话，由于缓存原因，很多网站用到的话，就不需要重复加载了，非常节省资源，和加载时间。</p>
<p>采用Ajax动态加载google的API中jquery库的代码是这样的：</p>
<pre name="code" class="javascript">
<script type="text/javascript" src="http://www.google.com.tw/jsapi"></script>
<script type="text/javascript">
    google.load("jquery", "1.3.2");//加载jQuery 1.3.2
</script>
</pre>
<p>之所以采用www.google.com.tw（这里也可以更换成其他域名如google.de,google.jp之类的）是因为www.google.com有时会不稳定，就会导致加载此代码的页面打不开。实际上如果你只用到jquery的话，根据firebug（火狐下插件）给出的实际地址，也可以直接向下面这样引入jquery库。</p>
<pre name="code" class="javascript">
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
</pre>
<div>希望对需要的朋友有用。:)</div>
]]></content:encoded>
			<wfw:commentRss>https://www.fushanlang.com/the-introduction-of-google-ajax-apis-jquery-library-1682/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
