- ImportFeed:https://www.labnol.org/internet/office/use-google-docs-spreadsheet-as-rss-reader-feed-aggregator/3527/
- ImportHTML:https://www.labnol.org/internet/import-html-in-google-docs/28125/
- ImportXML:https://www.labnol.org/internet/monitor-web-pages-changes-with-google-docs/4536/
- plugin(blockspring):http://blog.infographics.tw/2015/09/blockspring/
ex:
第一列為Title:
第二列儲存格中鍵入:
=ImportFeed("http://kylesheng.blogspot.com/feeds/posts/default","items title", FALSE, 12)=ImportFeed("http://kylesheng.blogspot.com/feeds/posts/default","items url", FALSE, 12)
=ImportFeed("http://kylesheng.blogspot.com/feeds/posts/default","items summary", FALSE, 12)
系統便會帶出rss的資訊。
- 以此函式中:
- 第一個參數:rss網址
- 第二個參數:欄位
- 第四個參數:抓幾筆
如果想要將此sheet公開為可讀取的rss文件。
Demo:
https://docs.google.com/spreadsheets/d/1z3W2Y5G1Ea7GB_ttaVqC_GS8w9NbdnihsUiLxOtjH0w/pubhtml
取得Sheet Rss Link:
- https://spreadsheets.google.com/feeds/list/1z3W2Y5G1Ea7GB_ttaVqC_GS8w9NbdnihsUiLxOtjH0w/od6/public/full?alt=json
- 紅字為sheet的id
- V3目前失效(要登入)
- https://sheets.googleapis.com/v4/spreadsheets/1s418XuVqnrmV82CSkcE5_tVt0AE2dcBotln6AO_4Bwg/values/A1:Z10000?key=apikey
- =importXML("https://abc.com","//*[@class='plhin']")