Open topic with navigation

# [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

© 2018 Micro Focus or one of its affiliates | Send documentation feedback to Micro Focus Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm