[WordPress] 外掛分享: hukdpress

首頁外掛目錄 › hukdpress
全新外掛
安裝啟用
尚無評分
5851 天前
最後更新
問題解決
WordPress 2.8+ v1.1 上架:2010-03-10

內容簡介

hukdpress(發音為hucked-press,或類似音),是一個神奇、閃亮甚至有些人說是神秘的 WordPress 外掛,它使用了來自 hotukdeals.com 的 API。

這個外掛會附加在你想要的任何文章或頁面上,並且會傳回從 hotukdeals.com 所取得的交易清單,其標準是你在每個文章或頁面上設置的,非常適合展示與你的文章或頁面有關的最佳價格或最新優惠。

現在,要使用此外掛,你需要直接向 hotukdeals.com 申請 API 金鑰,但這很簡單,而且完全免費。

現在,我們來說一下好消息之前的壞消息。該外掛在 IE6 上運行良好,但可能因到處使用的漂亮透明度而顯得醜陋。所有其他現代瀏覽器都支持。甚至可能支持 Lynx,但這是由你自己嘗試決定。

功能:

不需要 JavaScript 的完整支援,以適應不使用 JavaScript 的人們。
完整支援 hotukdeals.com API 的所有方面。
將你在 hotukdeals.com 的搜尋限制在不同的類別中。
快取!如果你有數千個訪問者,並且想要避免達到 API 限制,那就將所有內容都快取起來(如果你想的話...)。
啟用 JavaScript 的用戶端會通過 AJAX 處理更新快取,因此在頁面加載時不會有任何延遲。
"基本"模式會禁用所有漂亮的曲線,以防這些佈景主題與預設設置不匹配。
顏色、滾動等待時間、交易數量、搜尋區域等幾乎所有設置均可進行配置。
與 Twitter 的可選集成意味著你的訪問者可以透過你的網站發推特交易。
在輸入時自動驗證你的 API 金鑰。

要求:

需要 WordPress 2.8,感謝一切讓這些簡單事情更容易的新功能。
任何版本的 PHP 5。

值得一提的是,這是我的第一個 WordPress 外掛。但不要因此而對它抱有偏見-它實際上非常好用,且可以正常運行,這是巨大的優勢。

待辦事項

國際化:儘管這是一個基於英國的小工具,但下一個版本將增加本地化支援。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「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,
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.

文章
Filter
Apply Filters
Mastodon