How do RSS and ATOM inform the client about updates? lengthy survey or survey or something else?

I read that RSS and ATOM are HTTP based using the XML format. So, how does an RSS or Atom reader learn about content updates if HTTP does not support connections? Do I need to periodically poll the server? I am interested in using it in real time in a web application, but I heard that "the survey does not scale."

+3
source share
3 answers

This is pretty similar to this question . Please read my answer.

There are currently no long polls for RSS feeds. The technology you are looking for is PubSubHubbub : it will allow the channel publisher to push you content when it is available.

+8
source

There are two answers.

  • Today, most readers and aggregators surveyed most channels.

  • There are several approaches to developing real-time update notifications.

The RSS 2.0 specification has a real-time notification notification called an element <cloud>. (I wanted to include a link to the specification text, but Stack Overflow will allow me to include only one link per message.)

We have recently done work to ensure that an implementation passes that works and works on one of my servers.

Google PubSubHubbub, .

, scripting.com RSS Atom "FeedHose" - : http://feedho.se/.

+3

, RSS , HTTP ?

RSS . , " " . RSS.

0
source

Source: https://habr.com/ru/post/1769964/


All Articles