這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

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.

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
  • http://wpengineer.com/1295/meta-links-for-wordpress-plugins/
  • http://www.code-styling.de/english/how-to-use-wordpress-metaboxes-at-own-plugins
  • http://planetozh.com/blog/2008/02/wordpress-snippet-add_meta_box/
  • http://wptheming.com/2011/08/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/
  • http://xplus3.net/2008/10/16/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
  • http://ottopress.com/2009/wordpress-settings-api-tutorial/
  • http://planetozh.com/blog/2009/05/handling-plugins-options-in-wordpress-28-with-register_setting/
  • http://wpengineer.com/2139/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/

螢幕擷圖

  • Extra meta box on each of the links
  • Links Menu
  • Blogroll sorted by date
  • Widget UI
  • Link screen options
  • Settings

安裝方式

Installation

  1. Upload all the files to a new directory in the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Visit the RSS Feed Checker Settings to initialise Cron Job and Create Database tables.
  4. From Appearance section of the dashboard select widgets
  5. Drag the “Links RSS Enhanced” widget into your selected sidebar
  6. Enter caption and number of links to show

Removal

Because the plugin adds in a database table, options and a cron job (schedule) you need to remove the plugin via WordPress rather than just deleting it in FTP

  1. Deactivate the plugin
  2. Delete the plugin

If you only deactivate plugin the setting and table will be kept, only the cron job will be disabled.

常見問題集

Where are the settings?

The settings are in the links admin panel under RSS Feed Checker

Where do I enter the RSS feed details?

The location of the feed can be added into the “advanced” box of the add/edit link screen. To assist with this, an additional metabox has been added that you can turn on with the screen options at the top of the screen.

I have a lot of links will this overload my website?

Firstly, only the links with feeds are processed. The plugin runs every 30 minutes and you can control how long it will run for and how long it will wait for feeds to respond. The server load limit can be configured to stop the checker running if your server is busy.

How can I display the feed using a shortcode rather than the widget?

Use the following shortcode syntax.

[LinksRSSEnhanced count=”number”]

使用者評論

2021 年 5 月 16 日
I've been looking for ages for a plugin that would replicate Blogger's Blog Roll. And here it is, does just what I want it to.
閱讀全部 1 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈RSS Feed Checker〉的開發相關工作。

參與者

將〈RSS Feed Checker〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.1

  • Added the correct details to allow the internationalisation to work automatically.
  • Changed textdomain from RSS to rssfeedchecker

1.0

  • The link for show all links now only shows if you’ve got a page called “Blog-Roll” otherwise is supressed.

0.9

  • Small change to ensure that the Link Manager appears in 3.5

0.8

  • Fix for missing function microtime_float (which was defined in a different plugin) thanks to rotwp for spotting the issue.

0.7

  • Initial release