Facebook Connector 12.11

# [prefix_]preProcessFeed

Use this function to perform any operations at the start of processing a feed. If paging is performed using the functions `getFeedUrlParameters` and `getNextUrlParameters`, this function is only called for the first 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 for each page.

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

## Example

    function myPrefix_preProcessFeed(xml)
       if (get_feed_param("LATEST_ID") == nil)
          set_feed_param("LATEST_ID") = xml:XPathValue("/atom:feed/atom:entry/atom:id")
       end
    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 Facebook Connector 12.11

Topic Title: [prefix_]preProcessFeed