Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Pagination in feeds like ATOM and RSS?

Tags:

atom-feed

rss2

People also ask

Is Atom compatible with RSS?

While many podcasting applications, such as iTunes, support the use of Atom 1.0, RSS 2.0 remains the preferred format.

What is syndication process compare RSS and Atom formats?

Content Syndication is a mechanism using which the contents of a website including articles, news, blogs and forums are published partially or fully to other websites in a specific format. RSS and Atom are the two main standards of web syndication. Atom was developed to avoid the limitations and flaws of RSS.

What is Atom link in RSS feed?

RSS/Atom feeds give good hints about where to find the most recently updated pages. If your website provides an RSS or Atom feed, our crawler will download it to find new links on your site to index first. This is particularly useful when Site Search is doing an incremental update of your website.

How do you use Atom feeds?

To "subscribe" to a site feed, whether RSS or ATOM, you need a feed reader. Simply point the reader to the URL (address) of the site feed, and it will do the rest: it will display the contents of the feed in a window or panel for you. The feed will look like a series of messages.


It appears that ATOM allows the following syntax (first Google result for 'ATOM feed next/previous'):

<link rel="self" type="application/atom+xml" href="http://www.syfyportal.com/atomFeed.php?page=3"/>
<link rel="first" href="http://www.syfyportal.com/atomFeed.php"/>
<link rel="next" href="http://www.syfyportal.com/atomFeed.php?page=4"/>
<link rel="previous" href="http://www.syfyportal.com/atomFeed.php?page=2"/>
<link rel="last" href="http://www.syfyportal.com/atomFeed.php?page=147"/>

I can't find anything on RSS, but as it's called "really simple syndication" I'd imagine such functionality is outside its scope.


This is defined in RFC 5005, Feed Paging and Archiving, section 3.

You can use first, previous, next and last as a link relation:

<link rel="next" href="http://example.org/index.atom?page=2"/>

An additional "type" attribute is not needed.