on 2014 Jan 16 12:57 AM
Hi,
I was wondering whether there were parameters for the RSS feeds that could limit items fetched from a feed by time period. e.g.: fetch items from feed that were posted in the last X months from now? I've found http://scn.sap.com/docs/DOC-29261 but only lists the full and numItems parameters, which are not suitable. I need a parameter that limits by time period.
Thoughts?
What are you using them for? (If I may ask.)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jason,
Because I visit the communities on a very infrequent basis, I monitor various RSS feeds for relevant changes, solutions, and product announcements.
I'm using Outlook for the aggregation (not by choice). It has an annoy quirk where it uses its offline cache to determine whether a post is considered new and unread. This cache is configured for the last X months. Posts that are older than X months will appear as unread duplicates to the exact same read item. i.e.: I'm seeing posts from 2010 that keep re-appearing because those posts are no longer relevant to the offline cache.
So I figure i might be able to work around this bug by trying to limit the number of items in the RSS feed based on the age of the post.
Sadly, your suggestion about the dateRange parameter do not work for the offending RSS feed and the response returns the entire list irrespective of the parameter values.
Any other ideas?
I haven't tested these but these parameters appears on some query lists when filtering results by the available time periods. These are the four available:
&dateRange=last7days
&dateRange=yesterday
&dateRange=last30days
&dateRange=lastyear
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.