plugin-icon

J-Flickr

作者:chaostangent·
J-Flickr provides shortcode (e.g. [flickr key="value"]) syntax access to the Flickr API.
版本
1.0
最后更新
Feb 14, 2010

J-Flickr is designed to be as unintrusive as possible in giving you access to the Flickr API service. This means that you are not limited to the methods you can call or hamstrung by the output of the plugin. If you want to search for photos with an Attribution License uploaded last year then you can, just as you can get a list of your public contacts or talk to the Flickr Pandas. Essentially you construct the shortcode as if making an API call and then either use one of the existing general templates or make your own! The templates are in XSL and operate directly on the XML sent back from Flickr so you’re never wanting for data that other plugins may not expose.

Examples

Get a list of photos updated in April 2009:

[flickr method="photos.recentlyUpdated" min_date="2009-04-01" extras="license,geo,tags"]

Get the photos from a specific group pool:

[flickr method="groups.pools.getPhotos" group\_id="57342295@N00" per\_page="25" page="4"]

Get the comments for a specific photo with a custom template:

[flickr method="photos.comments.getList" photo\_id="3459139116" max\_comment_date="2009-04-01" jflickr\_template="commentTemplate"]<h3>Thanks</h3>

Many thanks to Fabien MARTY for his PEAR Cache_Lite work.

Future

I had originally intended to include a web-based template editor with version 1.0 but decided that it muddied the purity of what I was trying to achieve. J-Flickr is still very much a developer led plugin and it seemed an odd usage of time for fluffy UI elements, especially for a 1.0 release.

In no particular order:

  • Admin template manager
  • Proper, remote API key validation
  • WP Media integration
  • Tighter error checking of prerequisites (writable cache directory etc.)
  • Better error reporting than silence or crunchy PHP output
  • Authentication support

These should all be included in a 2.0 release although the development of that will likely depend on interest (if any) of this version.

免费基于付费套餐
通过安装,您同意 WordPress.com 服务条款第三方插件条款
目前已测试版本
WordPress 2.9.2
这个插件是可用的下载,适用于您的站点。