YouTube Connector 12.11

# [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 get_feed_param set_datastore_feed_param get_datastore_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

© Copyright 2022 Micro Focus or one of its affiliates
Version 12.11 | Last updated February 2022

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL YouTube Connector 12.11

Topic Title: [prefix_]getNextUrlParameters