Title: hukdpress
Author: Liam Gladdy
Published: <strong>2010 年 3 月 11 日</strong>
Last modified: 2010 年 3 月 12 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/hukdpress.svg)

# hukdpress

 作者：[Liam Gladdy](https://profiles.wordpress.org/lgladdy/)

[下载](https://downloads.wordpress.org/plugin/hukdpress.1.1.zip)

 * [详情](https://cn.wordpress.org/plugins/hukdpress/#description)
 * [评价](https://cn.wordpress.org/plugins/hukdpress/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/hukdpress/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/hukdpress/#developers)

 [支持](https://wordpress.org/support/plugin/hukdpress/)

## 描述

hukdpress (pronounced hucked-press, or something similar), is a magical, shiny and
some even say mystical wordpress
 plugin that uses the API from the _awesome_ guys
at hotukdeals.com.

The plugin appends to any post, or page you want, a list of deals sourced from hotukdeals.
com which match some criteria which
 you specify on a per-post basis. It’s great
for showing the best prices or latest offers on the subject of your post or page.

Now, to use this plugin, you need to apply for an API key directly from [hotukdeals.com](http://www.hotukdeals.com/rest-api),

but thats cool. It’s totally _free_.

Now, lets give the bad news before the good news. The plugin will work fine on IE6,
but might look ugly because of pretty
 transparency used all over the place. All
other modern browsers are supported. Maybe even lynx, but thats up to you to try.

Features:

 * Full non-javascript support for the odd people who don’t use it.
 * Full support of all the aspects of the hotukdeals.com API.
 * Restrict your searches to various categories of hotukdeals.com
 * Cache! Everything is cached (if you want..) to stop you hitting you API limit
   if you have thousands of viewers.
 * Javascript enabled users unknowingly handle updating the cache by AJAX, so there
   are no slowdowns in page loads.
 * “Basic” mode disables all the pretty curves in case your theme doesn’t look good
   with the default settings.
 * Configuration of colours, scrolling wait times, number of deals, areas to search..
   pretty much everything.
 * Optional integration with twitter means your viewers can tweet deals they find
   via. your site.
 * Automagic validation of your API key upon entry.

Requirements:

 * Requires wordpress 2.8 thanks to everything thats shiny and new and makes this
   stuff easier
 * Any version of PHP 5

For what its worth, this is my first wordpress plugin. But don’t hold that against
it – it’s actually pretty neat,
 and you know, works, which is a huge plus.

### TODOs

 * Internationalization: Despite this being a uk-based widget, the next version 
   will add localization support.

## 屏幕截图

[⌊This is where you find hukdpress when you create, or edit a post or page.⌉⌊This
is where you find hukdpress when you create, or edit a post or page.⌉[

This is where you find hukdpress when you create, or edit a post or page.

[⌊hukdpress's post/page configuration options⌉⌊hukdpress's post/page configuration
options⌉[

hukdpress’s post/page configuration options

[⌊The default display mode of the hukdpress box⌉⌊The default display mode of the
hukdpress box⌉[

The default display mode of the hukdpress box

[⌊The non-javascript version of the hukdpress box⌉⌊The non-javascript version of
the hukdpress box⌉[

The non-javascript version of the hukdpress box

[⌊A customized version of the hukdpress box (Blue!)⌉⌊A customized version of the
hukdpress box (Blue!)⌉[

A customized version of the hukdpress box (Blue!)

[⌊The basic (but very compatible) version of the hukdpress box⌉⌊The basic (but very
compatible) version of the hukdpress box⌉[

The basic (but very compatible) version of the hukdpress box

[⌊The first page of the hukdpress admin settings⌉⌊The first page of the hukdpress
admin settings⌉[

The first page of the hukdpress admin settings

[⌊The second page of the hukdpress admin settings⌉⌊The second page of the hukdpress
admin settings⌉[

The second page of the hukdpress admin settings

## 安装

You have two options. The easiest is to use automagic plugin installation inside
wordpress. To do that:

 1. Go to the administration site of your blog
 2. Click plugins
 3. Click “Add New”
 4. Search for “hukdpress”, then click install!

Alternatively, grab the archive, extract and put the hukdpress folder in /wp-content/
plugins/, or, in detail:

 1. Download the plugin (zip file) using the link on the right.
 2. Extract the contents so you end up with a “hukdpress” folder
 3. Upload that whole folder (not just the contents) to /wp-content/plugins/
 4. Go to your blogs administration site, click plugins, then “Activate” on hukdpress

## 常见问题

  My theme background isn’t white

You have two options. You can either edit the images yourself, or if you just want
to hit one button and fix it,
 enable “basic mode” in the administration settings!

  Where can I find more information?

We have a proper actual website, you can find it at [http://code.gladdymedia.com/hukdpress](http://code.gladdymedia.com/hukdpress)

  How do I contact you?

Twitter is the best plan, [@lgladdy](http://twitter.com/lgladdy). Alternatively,
you could email
 liam[at]gladdymedia.com. I’m happy to support and fix and bugs 
you find 🙂

## 评价

此插件暂无评价。

## 贡献者及开发者

「hukdpress」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Liam Gladdy ](https://profiles.wordpress.org/lgladdy/)

[帮助将「hukdpress」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/hukdpress)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/hukdpress/)，查看[SVN仓库](https://plugins.svn.wordpress.org/hukdpress/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/hukdpress/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/hukdpress/)。

## 更新日志

#### 1.1

 * Added detection of invalid API key (which disables all hukdpress boxes and shows
   an admin warning)

#### 1.0.4

 * Updating installation instructions

#### 1.0.3

 * One more update to refresh the wordpress plugin directory with various changes
   now the code lives here

#### 1.0.2

 * Switches to wordpress hosting for the plugin and updates readme.txt accordingly.
   No new features

#### 1.0.1

 * Adds a requirement for PHP 5 (it didn’t work on PHP 4 before anyway, but now 
   it tell you)
 * Improved handling of deals without merchant or prices (from other categories)

#### 1.0

 * Initial release! Yay.

## 额外信息

 *  版本 **1.1**
 *  最后更新：**16 年前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 2.8 或更高版本 **
 *  已测试的最高版本为 **2.9.2**
 *  语言
 * [English (US)](https://wordpress.org/plugins/hukdpress/)
 * 标签
 * [deals](https://cn.wordpress.org/plugins/tags/deals/)[finder](https://cn.wordpress.org/plugins/tags/finder/)
   [products](https://cn.wordpress.org/plugins/tags/products/)
 *  [高级视图](https://cn.wordpress.org/plugins/hukdpress/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/hukdpress/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/hukdpress/reviews/)

## 贡献者

 *   [ Liam Gladdy ](https://profiles.wordpress.org/lgladdy/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/hukdpress/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=M4RT8SR5XZ2XE)