YouTube Connector 12.11

# [prefix_]getFeedModifiedDateXPath

Use this function to return an XPath that specifies the modified date of the feed. If the function is defined and `getFeedModifiedDate` is not defined or did not return a date, the returned date will be stored in the synchronize datastore, and will be used to check whether the feed has been updated and whether to process any entries. If the date is updated insufficiently frequently or too frequently this function should not be defined.

NOTE: If the date is updated insufficiently frequently or too frequently this function should not be defined. For example, too frequently would be that the feed modified date is generated by the server to always be the current time. An example of insufficiently frequently would be that the feed modified date is not updated when minor changes are made to an entry in the feed that are required to be indexed. Ideally, the modified date should be updated precisely when any data that is required to be indexed is changed.

Inputs: | xml (XmlDocument)
Outputs: | xpath (string)
See also: | [prefix_]getFeedModifiedDate

## Example

    function myPrefix_getFeedModifiedDateXPath(xml)
       cache_result()
       return "/atom:feed/atom:updated"
    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_]getFeedModifiedDateXPath