googlefeedstore.js
来自「用最近的dojo1.2.1制作前端的ajax购书网站」· JavaScript 代码 · 共 25 行
JS
25 行
/* Copyright (c) 2004-2008, The Dojo Foundation All Rights Reserved. Available via Academic Free License >= 2.1 OR the modified BSD license. see: http://dojotoolkit.org/license for details*/if(!dojo._hasResource["dojox.data.GoogleFeedStore"]){dojo._hasResource["dojox.data.GoogleFeedStore"]=true;dojo.provide("dojox.data.GoogleFeedStore");dojo.experimental("dojox.data.GoogleFeedStore");dojo.require("dojox.data.GoogleSearchStore");dojo.declare("dojox.data.GoogleFeedStore",dojox.data.GoogleSearchStore,{_type:"",_googleUrl:"http://ajax.googleapis.com/ajax/services/feed/load",_attributes:["title","link","author","published","content","summary","categories"],_queryAttr:"url",_processItem:function(_1,_2){this.inherited(arguments);_1["summary"]=_1["contentSnippet"];_1["published"]=_1["publishedDate"];},_getItems:function(_3){return _3["feed"]&&_3.feed[["entries"]]?_3.feed[["entries"]]:null;},_createContent:function(_4,_5,_6){var cb=this.inherited(arguments);cb.num=(_6.count||10)+(_6.start||0);return cb;}});}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?