tags:

views:

691

answers:

3

Is this even possible?

Perhaps?

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

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"/&gt;
<link rel="first" href="http://www.syfyportal.com/atomFeed.php"/&gt;
<link rel="next" href="http://www.syfyportal.com/atomFeed.php?page=4"/&gt;
<link rel="previous" href="http://www.syfyportal.com/atomFeed.php?page=2"/&gt;
<link rel="last" href="http://www.syfyportal.com/atomFeed.php?page=147"/&gt;

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

ceejayoz
+1  A: 

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"/&gt;

An additional "type" attribute is not needed.

A: 

What readers support this?

Kevin Bauer