0

I am pulling in a feed I know that has two items. When I add caching to craft.feeds.getFeedItems(feedurl, limit, cache) the first items is not pulled in. However if I remove caching or add "0" that item is pulled in. Would this have something to do with the feed or craft?

2

The 3rd parameter passed into getFeedItems is for an offset, not caching. The caching parameter is in the 4th place and accepts any valid PHP time format.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.