Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-9242

Fetching RSS feed content asynchronously or after specified time interval

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • 3.5
    • Rendering
    • None
    • Unknown

    Description

      i have included couple of RSS feeds on a page. But when i go to that page that takes lot of time to load(around 20 secs). I understand that it
      is happening becuase of inclusion of RSS feed. I think what happens is everytime i click on that page, it brings the fresh content
      from RSS subscribed sites. My question is can we configure the time frequency so that RSS feeds are fetched after certain specified
      time not everytime on click of that page. It will improve the performance a lot.

      Here is my code that included RSS feed under tabs.If we can specify the time frequency ,it would be great. If it is not possible
      can we bring the RSS content of only site mentioned under first tab. Now if user further clicks on second tab, content for that rss
      feed is fetched that time itself instead of fetching contents of all rss feed sites at a time(or if we can make the fetching
      RSS feed contents asynchronously it would be amazing without imapceting page loading).

      {{tabs idsToLabels="tabId1=Martin Fowler, tabId2=Coding Horror"/}}
      
      (% id="tabId1" %)
      (((
      {{box cssClass="tabId1div"}}{{/box}}
      
      {{rss feed="http://martinfowler.com/feed.atom" content="yes" width="100%"/}}
      )))
      
      (% id="tabId2" %)
      (((
      {{box cssClass="tabId2div"}}{{/box}}
      
      {{rss feed="http://feeds.feedburner.com/codinghorror/" content="yes" width="100%"/}}
      )))
      

      Reply from Vincent on the mailing list is:

      "Yes, modifying the RSS macro so that it loads the content asynchronously would be awesome! You should create a jira about it (and propose a pull request? )."

      Attachments

        Activity

          People

            Unassigned Unassigned
            motgupta mohit gupta
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: