RSS可以用來設定最新文章和最新回應,進入後台設定:
版面配置 → 網頁元素 → 新增小工具 → 資訊提供 → 填入你的網址
最新文章 http://網誌網址/feeds/posts/default
ex: http://bear-bb.blogspot.com/feeds/posts/default
ex: http://bear-bb.blogspot.com/feeds/posts/full
最新回應 http://網誌網址/feeds/comments/default
ex: http://bear-bb.blogspot.com/feeds/comments/default
ex: http://bear-bb.blogspot.com/feeds/comments/full
【* default是內文簡短,full是內文完整,可自己調整】
除以上設定以外,還可在網址後加些變數:
?orderby=published (依發佈日期)
?alt=rss (以rss2.0標準)
?max-results=3 (最多顯示幾篇文章)
【*後面的第二個要加入的變數,將?改成&】
ex:http://bear-bb.blogspot.com/feeds/comments/default?alt=rss&max-results=3
ex:http://bear-bb.blogspot.com/feeds/comments/full?alt=rss&max-results=3
轉摘自網路文章(忘了是哪個網站了)
房阿停.問題老師
5 年前
0 意見:
張貼留言
歡迎發表