YouTube Connector 24.2

# getFeedUrls

Use this function to return a list of initial feed URLs with optional function prefixes. All subsequent function calls relating to a particular feed URL would require the specified function prefix. The URLs can point to any XML or JSON content (JSON is converted to XML by the connector). At this stage it is not necessary to assign all changeable parameters in the URL (for example paging parameters); these can be assigned in the `getFeedUrlParameters` and `getNextUrlParameters` functions.

This return type allows a more flexible structure for returning multiple entries with prefixes. It returns a Lua table, but the table can contain a mixture of plain values, keys with values, or keys with lists of values. These can be in any combination (with the only constraint that the keys must be unique).

    { "value1",
      key1="value2",
      key2={"value3", "value4"}
    }

Inputs: | [NONE]
Outputs: | feedUrls (list:{string} or table:{string->string} or table:{string->list:{string}})
See also: | [prefix_]getFeedUrlParameters [prefix_]getNextUrlParameters

## Example

    function getFeedUrls()
       return { "http://...", prefix1="http://...", prefix2={"http://...", "http://..."} }
    end

Copyright 2024 Open Text
Version 24.2 | Last updated March 2024

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 MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: IDOL YouTube Connector 24.2

Topic Title: getFeedUrls