0

How can I automatically update just the news feed of my site without updating the whole of it every 10 seconds?? I am creating a php code that pull information from an rss feed but I don't want the user to keep having to refresh the page.

I'm not sure what else to add, Thanks, Cameron

Yesterday
  • 561
  • 1
  • 15
  • 31

3 Answers3

0

If you use jquery you may be interested in the load method, with a interval set correctly it could refresh your div/whatever every 10s ...

yent
  • 1,303
  • 1
  • 8
  • 10
0

If you want to update the content of your website routinely without user refreshing the page, you could exploit polling with AJAX.

For more details pls visit here.

Linmic
  • 761
  • 4
  • 12
0

You can set a time interval while pulling the rss feeds.

See some related questions:

Community
  • 1
  • 1
ace
  • 6,775
  • 7
  • 38
  • 47