內容簡介
FeedCache Pipes 可以檢索、快取、並在本地儲存一連串 RSS 資訊,您可以在 WP 網站上顯示它們。這有助於避免每次頁面加載時的多個 HTTP 請求,因為可以從快取檔案中讀取訊息。
需求
Ruby
CRON 存取權限
升級
透過 WordPress 外掛選單停用 FeedCache Pipes 前一個版本。
上傳新的 feedcache-cron.rb、feedcache-pipes.php 以及完整的 lib/ 目錄檔案至現有的 feedcache-pipes 目錄。您不需要覆寫現有的 files/ 目錄或 fcpipes-config.yml 檔案。
啟用新上傳的外掛。
進入「設定」-「FeedCache Pipes」,並更新 FeedCache Pipes 設定(即使您沒有進行更改也要點擊更新)
在 feedcache-cron.rb 腳本中輸入正確的 FCPIPES_DIR 變數
如果您的伺服器上的 MySQL socket 不是預設值(/tmp/mysql.sock),也請更新您的 MYSQL_SOCKET 設置。
外掛標籤
開發者團隊
原文外掛簡介
FeedCache Pipes will retrieve, cache and store locally a list of RSS feeds that you can then display on your WP site. This prevents multiple HTTP requests with each page load since the feeds can be read from the cache file.
Requirements
Ruby
CRON access
Upgrading
Deactivate the previous version of FeedCache Pipes through your WordPress plugins menu
Upload the new feedcache-cron.rb, feedcache-pipes.php and complete lib/ directory files to your existing feedcache-pipes directory. You do not need to overwrite your existing files/ directory or the fcpipes-config.yml file.
Activate the newly uploaded plugin.
Go to Settings -> FeedCache Pipes and update your FeedCache Pipes settings (click update even if you haven’t made changes)
Enter the correct FCPIPES_DIR variable in the feedcache-cron.rb script
update your MYSQL_SOCKET setting as well if the MySQL socket on your server is not the default (/tmp/mysql.sock)
