21.4.08

Blogger RSS 資訊提供進階設定(最新文章進階設定)

轉載於http://cate-taiwan.blogspot.com/2008/01/blogger-rss.html
RSS還可以用來設定最新文章和最新回應,可以使用官方提供的功能。進入版面配置→範本→網頁元素→資訊提供,填入你的網址。
最新文章
http://網誌網址/feeds/posts/default
ex: http://cate-taiwan.blogspot.com/feeds/posts/default
ex: http://cate-taiwan.blogspot.com/feeds/posts/full
最新回應
http://網誌網址/feeds/comments/default
ex: http://cate-taiwan.blogspot.com/feeds/comments/default
ex: http://cate-taiwan.blogspot.com/feeds/comments/full
資訊提供進階設定可以在網址後所加的變數:
?orderby=published (依發佈日期)
?alt=rss (以rss2.0標準)
?max-results=3 (最多顯示幾篇文章)
記得後面的第二個要加入的變數,
將?改成&
ex:http://cate-taiwan.blogspot.com/feeds/comments/default?alt=rss&max-results=3
ex:http://cate-taiwan.blogspot.com/feeds/comments/full?alt=rss&max-results=3
* default是簡短,full是完整,可以自己調整,但記得後台設定要改(後台設定→網站提供→blog 文章資訊提供)

沒有留言: