+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / RSS feed inconsistencies with scheduled news items

RSS feed inconsistencies with scheduled news items

2 posts, 1 answered
  1. JAllen
    JAllen avatar
    34 posts
    Registered:
    23 Dec 2010
    23 Dec 2010
    Link to this post
    Hi,
    I'm having issues with the RSS feed and scheduled news items.  Sometimes the RSS feed recieves a post *well after* the scheduled time and sometimes it recieves the post *before* the scheduled time.  In both cases, the News View control acts as expected.

    Has anyone encountered this before?  It doesn't appear to be caching, at least at browser level.  Anyone have any ideas?

    Thanks
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    24 Dec 2010
    Link to this post
    Hi JAllen,

    In the RssProvider we apply a filter which has the following rule

    publicationFieldName is less or equal than DateTime.Now
    expirationFieldName is Greather than now.

    The filter applies when the provider is initialized which happens when someone makes a request to the rss page you have

    You can try the following

    Create a new item and check if it is shown in the feed. If not try restarting the web server. If you fetch some data from one location to another( or  there are difference in the data format set for the database server) make sure that there is not an issue with the publication and expiration date of the item. Also the news item should be Published.

    It is quite strange that you see the item in the NewsView control, but not in the Rss. We use GetContent method and one of its overloads to get the content data, so there should not be a difference.

    Best wishes,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
    Answered
2 posts, 1 answered