スポンサーサイト

上記の広告は1ヶ月以上更新のないブログに表示されています。
新しい記事を書く事で広告が消せます。

google feed apiの中身

google feed apiのjavascriptはこうなっています。
googleのjavascriptは相変わらず、解りにくい。
関数に名前が付いていなかったり、変数名が一文字だったり、
何がどうなっているか、わからない。
こういうときは、どうするんだっけ?

if (!window['google']) { window['google'] = {}; } if (!window['google']['loader']) { window['google']['loader'] = {}; google.loader.ServiceBase = 'http://www.google.com/uds'; google.loader.GoogleApisBase = 'http://ajax.googleapis.com/ajax'; google.loader.ApiKey = ''; google.loader.KeyVerified = true; google.loader.LoadFailure = false; google.loader.ClientLocation = {}}; google.loader.AdditionalParams = ''; (function() { function w(a){if(a in A){return A[a]}return A[a]=navigator.userAgent.toLowerCase().indexOf(a)!=-1} var A={};function E(){return w("msie")} function F(){return w("safari")||w("konqueror")} function K(a,b){var c=function(){} ;c.prototype=b.prototype;a.I=b.prototype;a.prototype=new c} function P(a,b){var c=a._JSAPI_boundArgs||[];c=c.concat(Array.prototype.slice.call(arguments,2));if(typeof a._JSAPI_boundSelf!="undefined"){b=a._JSAPI_boundSelf}if(typeof a._JSAPI_boundFn!="undefined"){a=a._JSAPI_boundFn}var d=function(){var e=c.concat(Array.prototype.slice.call(arguments));return a.apply(b,e)} ;d._JSAPI_boundArgs=c;d._JSAPI_boundSelf=b;d._JSAPI_boundFn=a;return d} function B(a){var b=new Error(a);b.toString=function(){return this.message} ;return b} ; var i={}; var x={}; var G={}; var U={}; var s=null; var M=false; function S(a,b,c){var d=i[":"+a]; if(!d){throw B("Module: '"+a+"' not found!");}else{if(c&&!c["language"]&&c["locale"]){c["language"]=c["locale"]}var e=c&&c["callback"]!=null; if(e&&!d.n()){throw B("Module: '"+a+"' must be loaded before DOM onLoad!");}else if(e){if(d.i(b,c)){window.setTimeout(c["callback"],0)}else{d.j(b,c)}}else{if(!d.i(b,c)){d.j(b,c)}}}} function Z(a,b){ if(b){ Y(a) }else{ z(window,"load",a) } } function z(a,b,c){if(a.addEventListener){a.addEventListener(b,c,false)}else if(a.attachEvent){a.attachEvent("on"+b,c)}else{var d=a["on"+b];if(d!=null){a["on"+b]=Q([c,d])}a["on"+b]=c}} function Q(a){return function(){for(var b=0;b0){document.documentElement.doScroll("left")}}catch(a){window.setTimeout(H,10);return}t()} var L={loaded:true,complete:true};function J(){if(L[document.readyState]){document.detachEvent("onreadystatechange",J);t()}} function I(){if(L[document.readyState]){t()}else if(p.length>0){window.setTimeout(I,10)}} function t(){for(var a=0;a<\/script>')}else if(a=="css"){document.write('' )}}} function k(a,b){var c=a.split(/\./);var d=window;for(var e=0;e=0;j--){var g=c[j];if(d){e.t(g)}if(this.b[":"+g]){c.splice(j,1);if(d){this.b[":"+g].push(e)}}else{f.push(g)}}if(c.length){if(b&&b["packages"]){b["packages"]=c.sort().join(",")}if(!b&&x[":"+this.a]!=null&&x[":"+this.a].versions[":"+a]!=null&&!google.loader.AdditionalParams&&this.initialLoad){var m=x[":"+this.a];google[this.a]=google[this.a]||{};for(var u in m.properties) {if(u&&u.charAt(0)==":"){google[this.a][u.substring(1)]=m.properties[u]}}r("script",google.loader.ServiceBase+m.path+m.js,d);if(m.css){r("css",google.loader.ServiceBase+m.path+m.css,d)}}else{r("script",this.d(a,b),d)}if(this.initialLoad){this.initialLoad=false}for(var j=0;jN?0:15000;window.setTimeout(C,d)} ;var C=o.D=function(){if(q.length){var a=new Image;a.src=google.loader.ServiceBase+"/stats?"+q.join("&")+"&nocache="+Number(new Date);q.length=0}} ;k("google.loader.recordStat",v); i[":search"]=new h("search");i[":feeds"]=new h("feeds");i[":language"]=new h("language");i[":elements"]=new h("elements");i[":maps"]=new l("maps","maps.google.com/maps?file=googleapi",true,"key","v",true,{":language":"hl",":callback":function(a){return"callback="+encodeURIComponent(a)+"&async=2"} },"maps-api-ssl.google.com/maps?file=googleapi");i[":gdata"]=new h("gdata");i[":sharing"]=new l("sharing","www.google.com/s2/sharing/js",false,"key","v",false,{":locale":"hl"});i[":annotations"]=new l("annotations","www.google.com/reviews/scripts/annotations_bootstrap.js",false,"key","v",true,{":language":"hl",":country":"gl",":callback":"callback"});i[":visualization"]=new h("visualization");i[":books"]=new l("books","books.google.com/books/api.js",false,"key","v",true,{":language":"hl",":callback" :"callback"});i[":earth"]=new h("earth"); })() google.loader.rfm({":feeds":{"versions":{":1":"1",":1.0":"1"},"path":"/api/feeds/1.0/9485f1e38d6efe511beac9408eb45c79/","js":"default+en.I.js","css":"default.css","properties":{":JSHash":"9485f1e38d6efe511beac9408eb45c79",":Version":"1.0"}},":search":{"versions":{":1":"1",":1.0":"1"},"path":"/api/search/1.0/8483c05d573f0714473aa99462ebdf70/","js":"default+en.I.js","css":"default.css","properties":{":JSHash":"8483c05d573f0714473aa99462ebdf70",":NoOldNames":false,":Version":"1.0"}},":language":{"versions":{":1":"1",":1.0":"1"},"path":"/api/language/1.0/0f2391a71287b4b0b02372874207fa7e/","js":"default+en.I.js","properties":{":JSHash":"0f2391a71287b4b0b02372874207fa7e",":Version":"1.0"}},":earth":{"versions":{":1":"1",":1.0":"1"},"path":"/api/earth/1.0/a708c1c37c8ac99931b147a8465cf428/","js":"default.I.js","properties":{":JSHash":"a708c1c37c8ac99931b147a8465cf428",":Version":"1.0"}},":gdata":{"versions":{":1":"1",":1.4":"1"},"path":"/api/gdata/1.4/5e18353a60ba0470fd13592227326701/","js":"default.I.js","properties":{":JSHash":"5e18353a60ba0470fd13592227326701",":Version":"1.4"}}}); google.loader.rpl({":scriptaculous":{"versions":{":1.8.1":{"uncompressed":"scriptaculous.js","compressed":"scriptaculous.js"}},"aliases":{":1.8":"1.8.1",":1":"1.8.1"}},":mootools":{"versions":{":1.11":{"uncompressed":"mootools.js","compressed":"mootools-yui-compressed.js"}},"aliases":{":1":"1.11"}},":jqueryui":{"versions":{":1.5.2":{"uncompressed":"jquery-ui.js","compressed":"jquery-ui.min.js"}},"aliases":{":1":"1.5.2",":1.5":"1.5.2"}},":prototype":{"versions":{":1.6.0.2":{"uncompressed":"prototype.js","compressed":"prototype.js"}},"aliases":{":1":"1.6.0.2",":1.6":"1.6.0.2"}},":jquery":{"versions":{":1.2.3":{"uncompressed":"jquery.js","compressed":"jquery.min.js"},":1.2.6":{"uncompressed":"jquery.js","compressed":"jquery.min.js"}},"aliases":{":1":"1.2.6",":1.2":"1.2.6"}},":dojo":{"versions":{":1.1.1":{"uncompressed":"dojo/dojo.xd.js.uncompressed.js","compressed":"dojo/dojo.xd.js"}},"aliases":{":1":"1.1.1",":1.1":"1.1.1"}}}); }
スポンサーサイト

コメント

コメントの投稿

管理者にだけ表示を許可する

トラックバック


この記事にトラックバックする(FC2ブログユーザー)

プロフィール

ajaxblogparts

Author:ajaxblogparts
FC2ブログへようこそ!

最新トラックバック
最新コメント
最新記事
amazonタグクラウド

Amazon タグクラウド by ajaxblogparts requires Flash Player 9 or better.

カテゴリ
月別アーカイブ
サムネイルメーカー


QRコードメーカー


フリーエリア
今日の格言
上記広告は1ヶ月以上更新のないブログに表示されています。新しい記事を書くことで広告を消せます。