[Wordpress Plugin] Live Flickr comment importer
A comment is what a blogger wants! Show me a blogger who denies this and I will show you a liar
This plugin allows importing of comments made on a Flickr photo into a Wordpress post of your choice. There is another plugin that I found which allows such imports but it has a few drawbacks which I did not like
- It relies on the Recent Activity RSS feed from flickr
- The title of the post on your wordpress blog should match that of your flickr photo
- It worked only when you did stuff on the admin side, technically speaking it is hooked to the admin_head
- Old comments could not be imported
The Live Flickr Comment Importer Plugin on the other hand
- Uses the Flickr API via the excellent phpFlickr class
- Can automatically detect Flickr photos embedded in the post.
- Can also use a custom field in the post to import comments thus your Photos and posts need not have the same title
- Comments on multiple photos can be imported in a single post
- Also imports the flickr user icons / avatars
- The comments are imported whenever anyone sees a post where comments are to be imported
- Allows import of even the old comments
- Can cache the results of flickr API
Installation
- Upload the folder ‘live-flickr-comment-importer’ into your to the ‘/wp-content/plugins/’ folder
- Activate the plugin through the ‘Plugins’ menu in WordPress
- To configure plugin options start by clicking on ‘Configuration Page’ link near plugin name or ‘Settings’ -> ‘Live Flickr Comment Importer’ navigation link.
- You will have to enter and your flickr API key for this plugin to work. Flickr API key can be got from http://www.flickr.com/services/apps/create/apply/
- For caching of Flickr API results and thus in turn a better performance ensure that your plugin directory must be writable by webserver.
- Follow the instructions given on the configuration page on how to import comments into a post
Known Issues
- Sometimes the ordering of comments imported is not the same as that on the flickr photograph. I have no idea why this happens but this appears to be an inconsistency from flickr – correct me if I am wrong
Probably coming in next version
Automatic scanning of post contents for flickr picture URLDone in V1.3- Replying to a flickr comment on post – will post the reply to flickr as well
Patches, bug reports and feedback most welcome
About this entry
You’re currently reading “ [Wordpress Plugin] Live Flickr comment importer ,” an entry on SANIsoft – PHP for E Biz
- Published:
- 12.15.09 / 2:52pm
- Author:
- Tarique Sani
56 Comments
Jump to comment form | comments rss | trackback uri