Introduction
DeliciousFeed is a widget plugin to allow you display your latest bookmarks on your blog.
Installation
- Extract the file.
- Put the folder deliciousfeed to /user/plugins and activate it.
- Copy and paste the following line to your theme.
<?php $theme->deliciousfeed(); ?>
Configuration & Customization
After activated it, click Configure button to setup the plugin. Most of following options are required and have to be set properly.
- Delicious Username – Your login name on Delicious.
- Tags (seperate by space) – (Optional) Put tags here which you want it to be included, put multiple tags will get an intersection of tags.
- № of Posts – Limit the results to the given number, between 1 and 100 (default 15).
- Cache Expiry (in seconds) – Number of second after the call that the cache will expire.
You can copy deliciousfeed.php to your theme directory and modify the HTML output.
Advanced Usage
You can pass parameters when you call $theme->deliciousfeed() in the theme. This way, you can have more than one DeliciousFeed on a page. Please see FlickrFeed for an example.
You do not have to put every parameters, missing parameters will use what you have set in admin. Following are supported parameters.
| Name | Value allowed |
| user_id | Your Delicious username |
| tags | Space separated tags |
| num_item | Positive integer |
| cache_expiry | Positive integer |
Download
Changelog
- 0.2 (2008-08-26)
- Support custom settings when call.
- Fix cache conflict in multiple sites.
- Fix a stupid bug on validate_uint(). (You will never pass this validation! XD)
- Change license to Apache License 2.0