描述
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.
引用
A selection of places I’ve found help for this plugin.
Thanks also to Ozh, Roland Rust and for their explainations and examples
管理界面
- 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/
数据库
- 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
設定
- 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/
屏幕截图
安装
Installation
- Upload all the files to a new directory in the
/wp-content/plugins/
directory - 通过WordPress的的“Plugins”菜单激活插件
- Visit the RSS Feed Checker Settings to initialise Cron Job and Create Database tables.
- From Appearance section of the dashboard select widgets
- Drag the “Links RSS Enhanced” widget into your selected sidebar
- 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
- Deactivate the plugin
- 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”]
评价
贡献者及开发者
更新日志
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