这真的可能吗?
也许可以吧?
<link rel=“next” type=“application/atom+xml” href=”[//path/page2]”></link>
这真的可能吗?
也许可以吧?
<link rel=“next” type=“application/atom+xml” href=”[//path/page2]”></link>
似乎ATOM 允许使用以下语法(第一个谷歌搜索结果 '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"/>
我在RSS上找不到任何信息,但是由于它被称为“真正简单的”聚合,我想这样的功能应该超出了其范围。
这在RFC 5005中定义,即“Feed Paging and Archiving”(订阅源分页和归档),第3节。
您可以将first、previous、next和last用作链接关系:
<link rel="next" href="http://example.org/index.atom?page=2"/>
不需要额外的 "type" 属性。