Pagination in feeds like ATOM and RSS?

Drew picture Drew · Aug 19, 2009 · Viewed 21.4k times · Source

Is this even possible?

Perhaps?

<link rel=“next” type=“application/atom+xml” href=”[//path/page2]”></link> 

Answer

ceejayoz picture ceejayoz · Aug 19, 2009

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.