Google Integrator V2 - Online Help
Google Integrator V2
Questions / Feedback?

QueryFeed Method

Queries a Google Data feed using the specified parameters.

Syntax

gdata.queryFeed([callback])

Callback

The 'callback' parameter specifies a function which will be called when the operation completes (or an error is encountered). If the 'callback' parameter is not specified, then the method will block and will not return until the operation completes (or an error is encountered).

The callback for this method is defined as:

function(err){ }

'err' is the error that occurred. If there was no error, then 'err' is 'null'.

'err' has 2 properties which hold detailed information:

err.code
err.message

Remarks

Queries a Google Data feed specified by FeedURL using the parameters specified QueryParams. To fetch a Google Data feed, without performing any filtering, you can leave QueryParams empty and call QueryFeed.

The query results are delivered in the TransferredData property, as well as through the Transfer event. The response headers can be retrieved via the ParsedHeaders property as well as through the Header event.

The class will then attempt to parse the query results. Upon successfully parsing the response, FeedProperties will be set with their associated feed element values and EntryCount will be populated with the total number of entries contained within the feed. EntryIndex will also be set to 1, thus populating EntryETag and EntryElements.

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 2.0.6240.0