[WordPress] 外掛分享: RSS Feed Checker

首頁外掛目錄 › RSS Feed Checker
WordPress 外掛 RSS Feed Checker 的封面圖片
10+
安裝啟用
★★★★★
5/5 分(1 則評價)
44 天前
最後更新
問題解決
WordPress 6.9+ v2.0 上架:2012-05-12

內容簡介

這個 RSS Feed 確認外掛會檢查您的連結清單,找出那些已設定過 RSS feed,並讀取最新文章的名稱和網址。
Links RSS Enhanced 小工具會以降冪方式顯示最新的連結。
這個小工具的靈感來自於 Blogger 的連結清單小工具。

技術章節

這個外掛會在您的 WordPress 資料庫中建立一個額外的資料表,以儲存最新的 RSS 資料更新,
這個資料表會被稱為「links_rss」,並且有您資料庫的前置詞,例如 wp_links_rss。

這個外掛會建立一個周期任務,每 30 分鐘執行一次並處理連結。需要注意的是,WordPress
中的週期任務 (Cron) 是依賴您的 WordPress 網站收到的點擊次數。如果您在離線
環境下(例如 MAMP、XAMPP、WAMP 等)開發這個外掛,而沒有任何人或任何東西向您的 WordPress 页面發出請求觸發週期任務,那麼您將無法取得任何結果。

參考資料

以下是幾個提供此外掛程式使用的資源。

同時感謝 Ozh、Roland Rust 提供的解釋和範例。

管理介面

https://codex.wordpress.org/Function_Reference/add_meta_box
https://codex.wordpress.org/Administration_Menus#Page_Hook_Suffix

Set Meta Links For WordPress Plugins


http://www.code-styling.de/english/how-to-use-wordpress-metaboxes-at-own-plugins

WordPress Snippet: add_meta_box()

Admin Notices in WordPress


http://www.prelovac.com/vladimir/improving-security-in-wordpress-plugins-using-nonces

Ajax

http://return-true.com/2010/01/using-ajax-in-your-wordpress-theme-admin/
http://amiworks.co.in/talk/simplified-ajax-for-wordpress-plugin-developers-using-jquery/

jQuery and Ajax in WordPress Plugins – Administration Pages


http://www.garyc40.com/2010/03/5-tips-for-using-ajax-in-wordpress/

資料庫

http://createmy.com.au/connecting-your-plugin-to-the-wordpress-database/
http://webjawns.com/2009/08/the-wordpress-wpdb-class-explained/

週期任務

http://wpseek.com/source/wp/latest/nav.html?wp-includes/cron.php.html
從 broken link checker 中取得背景處理的靈感

設定

https://codex.wordpress.org/Settings_API – 處理選項/設定的新方式

WordPress Settings API Tutorial

Handling Plugins Options in WordPress 2.8 with register_setting()

Adding Settings to an Existing Page Using the Settings API


http://blog.gneu.org/2010/09/intro-to-the-wordpress-settings-api/
http://alisothegeek.com/2011/01/wordpress-settings-api-tutorial-1/

RSS feeds

http://jaewon.mine.nu/jaewon/2010/10/30/how-to-make-your-wordpress-a-rss-reader/
https://codex.wordpress.org/Plugin_API/Filter_Reference/wp_feed_cache_transient_lifetime
http://simplepie.org/

外掛標籤

開發者團隊

⬇ 下載最新版 (v2.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「RSS Feed Checker」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

The RSS Feed checker looks through your blogroll for links with rss feeds and then stores the name and url of the latest article.
The Links RSS Enhanced widget then displays the latest links in descending order.
The idea for the widget comes from the blogroll widget on blogger.
Version 2.0 for PHP 8 and above only. Only tested on 6.9.
For earlier versions of PHP use Version 1.1
Technical section
The plugin will create an extra table in your wordpress database to store the latest feed updates,
this will be called links_rss with the prefix for your database e.g. wp_links_rss
A Cron (schedule) is created to run every 30 minutes and process links. Note that Cron in WordPress
depends on hits, your WordPress website receives. So playing with this plugin within an offline
environment (MAMP, XAMPP, WAMP etc.) without anyone or anything triggering the scheduling by
sending requests to the WordPress page won’t produce any results if you do not trigger it by
yourself.
References
A selection of places I’ve found help for this plugin.
Thanks also to Ozh, Roland Rust and for their explainations and examples
Admin UI

https://codex.wordpress.org/Function_Reference/add_meta_box
https://codex.wordpress.org/Administration_Menus#Page_Hook_Suffix

Set Meta Links For WordPress Plugins


http://www.code-styling.de/english/how-to-use-wordpress-metaboxes-at-own-plugins

WordPress Snippet: add_meta_box()

Admin Notices in WordPress


http://www.prelovac.com/vladimir/improving-security-in-wordpress-plugins-using-nonces

Ajax

http://return-true.com/2010/01/using-ajax-in-your-wordpress-theme-admin/
http://amiworks.co.in/talk/simplified-ajax-for-wordpress-plugin-developers-using-jquery/

jQuery and Ajax in WordPress Plugins – Administration Pages


http://www.garyc40.com/2010/03/5-tips-for-using-ajax-in-wordpress/

Database

http://createmy.com.au/connecting-your-plugin-to-the-wordpress-database/
http://webjawns.com/2009/08/the-wordpress-wpdb-class-explained/

Scheduling

http://wpseek.com/source/wp/latest/nav.html?wp-includes/cron.php.html
Ideas on background processing from the broken link checker

Settings

https://codex.wordpress.org/Settings_API – new way to handle options/settings

WordPress Settings API Tutorial

Handling Plugins Options in WordPress 2.8 with register_setting()

Adding Settings to an Existing Page Using the Settings API


http://blog.gneu.org/2010/09/intro-to-the-wordpress-settings-api/
http://alisothegeek.com/2011/01/wordpress-settings-api-tutorial-1/

RSS Feeds

http://jaewon.mine.nu/jaewon/2010/10/30/how-to-make-your-wordpress-a-rss-reader/
https://codex.wordpress.org/Plugin_API/Filter_Reference/wp_feed_cache_transient_lifetime
http://simplepie.org/

延伸相關外掛

文章
Filter
Apply Filters
Mastodon