34

これは可能ですか?

多分?

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

2 に答える 2

26

ATOMでは次の構文が使用できるようです (「 」の最初の Google 結果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 には何も見つかりませんが、「本当に単純なシンジケーション」と呼ばれているので、そのような機能はその範囲外にあると思います。

于 2009-08-19T17:35:15.913 に答える
19

これは、RFC 5005、Feed Paging and Archiving、セクション 3で定義されています。

リンク関係として、first、previous、next、last を使用できます。

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

追加の「type」属性は必要ありません。

于 2009-10-04T13:02:09.280 に答える