Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6698819
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T06:37:22+00:00 2026-05-26T06:37:22+00:00

I want to use jQuery to consume an RSS feed, and then create some

  • 0

I want to use jQuery to consume an RSS feed, and then create some HTML content that will define the items within the RSS feed. This is easy enough for me to do. However, I also want my page to automatically update should the source that is supplying the RSS feed change.

For example, assume that the intial page load consumes the RSS feed and it contains two items: { George Washington and John Adams }

The page then creates two HTML elements (anchor tags, divs, whatever) that display “George Washington” and “John Adams”.

Thirty seconds later the source that supplies the RSS feed now contains three items: { George Washington, John Adams and Thomas Jefferson }. How do I go about setting my page up so that it knows the RSS feed has changed and that it needs to refresh/recreate the HTML elements to reflect this change?

The most obvious answer is to use window.setInterval and have the page check the RSS feed at given intervals to see if it has changed. But I feel like I’m missing something here and that there is a better way to do it.

Any ideas would be greatly appreciated. My ignorance is astounding when it comes to the RSS/Atom feed world, so don’t assume that I already know it (because I most likely don’t!) and give me your help!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T06:37:23+00:00Added an answer on May 26, 2026 at 6:37 am

    Unless you can somehow get a callback when the feed is updated, which the feed owner would need to provide, and which would require a server-side solution like Node.js to put the callback through to the client, the setInterval way is the only way.

    What you can do, to avoid loading the whole feed every check, you can first do a HEAD request and check if the Content-Length was any different than the last request. Keep in mind this assumes a few things, like that Content-Length will be returned and that it will always increase (if the feed only returns something like the last 10 elements, then theoretically, although unlikely, you could get the same Content-Length even if there was a new article).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i want to use jquery UI's datepicker to trigger a POST that would then
I want to use use jQuery.load() to load some content. How do I add
I want to use jQuery's load function to load some content into a div,
I want to use jquery to automatically fill some details in a web site
I want to use jquery to create a request to a controller action posting
I want to use jquery to build HTML like this: <li><a href=#><span class=play></span><span class=trackName>Track
I have a simple html option/select (dropdown) menu. I want to use JQuery to
I want to use jQuery to dynamically expand my markup so that my divs
I want to use jQuery to create a new div on the page when
I want to use jQuery to parse RSS feeds. Can this be done with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.