YouTube Connector 25.4
YouTube Connector Help

# [prefix_]postProcessFeed

Use this function to perform any operations at the end of processing the feed. If paging is performed using the functions `getFeedUrlParameters` and `getNextUrlParameters`, this function is only called after the last page. If paging parameters are set in the URL by the `getFeedUrls` function and updated using the `getNextUrls` or `getNextUrlXPaths`, then this function will be called after each page.

Inputs: | xml (XmlDocument)
Outputs: | [NONE]
See also: | [prefix_]getFeedUrlParameters [prefix_]getNextUrlParameters getFeedUrls [prefix_]getNextUrls [prefix_]getNextUrlXPaths

## Example

    function myPrefix_postProcessFeed(xml)
       local latestid = get_feed_param("LATEST_ID")
       set_datastore_feed_param("LATEST_ID", latestid)
    end

Copyright 2025 Open Text
Version 25.4 | Last updated October 2025

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: Knowledge Discovery YouTube Connector 25.4

Topic Title: [prefix_]postProcessFeed