A data store for retrieving RSS and Atom feeds from Google. The feeds can come from any source, which is specified in the "url" parameter of the query passed to the "fetch" function. The following attributes are supported on each item:
You can parse the date with new Date(store.getValue(item, "published")
The query accepts one parameter: url - The URL of the feed to retrieve
The GoogleSearchStore is a Datastore interface to the Google search service. The constructor accepts the following arguments:
Parameter | Type | Description |
---|---|---|
args | Object |
See the dojox/data/GoogleFeedStore reference documentation for more information.
A counter for the number of requests made. This is used to define the callback function that GoogleSearchStore will use.
The internal reference added to each item pointing at the store which owns it.
The default attribute which acts as a label for each item.
Sets whether or not to pass preventCache to dojo.io.script.
This function tests whether the item passed in is indeed a valid 'attribute' like type for the store.
Parameter | Type | Description |
---|---|---|
attribute | attribute-name-string | The attribute to test for being contained by the store. |
This function tests whether the item passed in is indeed an item in the store.
Parameter | Type | Description |
---|---|---|
item | item | The item to test for being contained by the store. |
Parameter | Type | Description |
---|---|---|
query | undefined | |
callback | undefined | |
request | undefined |
Parameter | Type | Description |
---|---|---|
item | undefined | |
name | undefined |
Parameter | Type | Description |
---|---|---|
data | undefined |
Parameter | Type | Description |
---|---|---|
item | undefined | |
request | undefined |
See dojo/data/api/Read.close()
Parameter | Type | Description |
---|---|---|
request | undefined |
See dojo/data/api/Read.containsValue()
Parameter | Type | Description |
---|---|---|
item | undefined | |
attribute | undefined | |
value | undefined |
Fetch Google search items that match to a query
Parameter | Type | Description |
---|---|---|
request | undefined | A request object |
See dojo/data/api/Read.getAttributes()
Parameter | Type | Description |
---|---|---|
item | undefined |
Non-API method for retrieving values regarding the Atom feed, rather than the Atom entries.
Parameter | Type | Description |
---|---|---|
attribute | undefined | |
defaultValue | undefined |
Non-API method for retrieving values regarding the Atom feed, rather than the Atom entries.
Parameter | Type | Description |
---|---|---|
attribute | undefined | |
defaultValue | undefined |
See dojo/data/api/Read.getLabel()
Parameter | Type | Description |
---|---|---|
item | undefined |
See dojo/data/api/Read.getLabelAttributes()
Parameter | Type | Description |
---|---|---|
item | undefined |
See dojo/data/api/Read.getValue()
Parameter | Type | Description |
---|---|---|
item | undefined | |
attribute | undefined | |
defaultValue | undefined |
See dojo/data/api/Read.getValue()
Parameter | Type | Description |
---|---|---|
item | undefined | |
attribute | undefined |
See dojo/data/api/Read.hasAttributes()
Parameter | Type | Description |
---|---|---|
item | undefined | |
attribute | undefined |
See dojo/data/api/Read.isItem()
Parameter | Type | Description |
---|---|---|
item | undefined |
See dojo/data/api/Read.isItemLoaded()
Parameter | Type | Description |
---|---|---|
item | undefined |
See dojo/data/api/Read.loadItem()
Parameter | Type | Description |
---|---|---|
keywordArgs | undefined |