[prefix_]getNextUrlParameters
Use this function to return a list of additional parameters to be appended to the feed URL. These parameters are only used to perform the download, and are not used to identify the feed when using built in functions set_feed_param
, get_feed_param
, set_datastore_feed_param
or get_datastore_feed_param
. This is the normal way that paging parameters should be updated.
Inputs: | xml (XmlDocument) |
Outputs: | parameters (table:{string->string}) |
See also: |
set_feed_param
|
Example
function myPrefix_getNextUrlParameters(xml) local nextpage = get_feed_param("PAGE", 1) + 1 set_feed_param("PAGE", nextpage) return { return page=nextpage } end