Title: Last.wp
Author: kylehotchkiss
Published: <strong>2010 年 1 月 9 日</strong>
Last modified: 2010 年 2 月 4 日

---

搜尋外掛

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

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

# Last.wp

 由 [kylehotchkiss](https://profiles.wordpress.org/kylehotchkiss/) 開發

[下載](https://downloads.wordpress.org/plugin/lastwp.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/lastwp/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/lastwp/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/lastwp/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/lastwp/#developers)

 [技術支援](https://wordpress.org/support/plugin/lastwp/)

## 外掛說明

So do you want the world to know what you just listened to? Do you want to show 
it off in your… _WordPress sidebar_? I know I do! What Last.wp does is
 show a few
of the songs you just scrobbled over to Last.fm. It stands out beyond the other 
choices because it does it’s dirty work in Javascript (which can speed up your server,
because it doesn’t have to make request over to Last.fm every page load, rather 
your Guests computer does it). It displays album artwork, the song name, the artist
name, and the album name! Your guests will be AMAZED when they find your recent 
obsession with Conway Twitty! They’ll gasp in awe when they see how much you played
the beetles within the past five minutes, and their jaws will drop when they see
you’ve been spinning N-Sync albums! Wait no longer, your guests can be amazed **
today**!

On the technical side, Last.wp is powered by a small plugin provided by the kind
people over at Engage Interactive. (Thanks for providing it under the GPL guys!).
Unfortunatly,
 it requires each person to have their own API key as of now, due 
to Last.fm’s confusing API system. It’s easy to get one, you just login and go to
the API screen, create a new application, and **Voila**, your very own API key! (
Consult the Instructions for details)

## 螢幕擷圖

[⌊Last.wp used on my blog, I guess my sidebar is a little bit small ;)⌉⌊Last.wp 
used on my blog, I guess my sidebar is a little bit small ;)⌉[

Last.wp used on my blog, I guess my sidebar is a little bit small 😉

## 安裝方式

 1. Go get your Last.fm Application API Key.
 2. Upload the `lastwp` directory into `/wp-content/plugins/` (Or whereever you store
    plugins).
 3. Activate the plugin through the ‘Plugins’ menu in WordPress.
 4. In the widgets dashboard, add `Last.wp` to your sidebar.
 5. Add your username, unless you want to what’s going playing in _someone elses_ ear.
 6. Add your API Key.
 7. Listen to some music, and it’s now shared with the world.

## 常見問題集

  Do I absolutly need to get an API key?

As of right now, yes. The reason being that Last.fm requries you to select the type
of site the plugin will be used on. (Personal, Commercial, etc.) and if I were to
just place mine in
 everybodies site, One site could be violating the API ToS of
Last.fm, and they could disable that key thus disabling everybodies fun. =( So the
best way to go about doing this is to make each person (Read: You can use this API
on muliple widgets, and maybe even multiple applications.) use their own key, that
way one person violating the ToS won’t harm many people. Luckily, getting an api
key is easy, easy.

  What happens if the Guest doesn’t have Javascript enabled?

If your guests are so afraid of Javascript that they turn it off, they’d be horrified
at your musical taste! Just kidding. There is a message informing them that widget
doesn’t show without
 Javascript being enabled.

  The album names don’t come up! Help!?!

Yeah, this one is tough. I don’t know what the deal is with these album names randomly
showing and not. It may have to deal with how the songs were scrobbled or that the
API is returning them
 right.

  How come the most songs I can show is 5?

After people have just about passed out in terror of your musical taste, They won’t
be conscious enough to see the rest! 😉 If they want to see more, they can click
the “See more on Last.fm” link 😉

  My music is fine, but I don’t see album artwork 🙁

Sorry bud – this is all Last.fm, they do have some bad tags on there ya know. If
your tags are off in your music application this could happen too! (I do recommend
legal music, it typically
 has proper tags to start.)

  Can I customize how it looks?

Of course you _can_, and make it look super epic for your blog, but it took a while
of playing with CSS to make the album art come up nicely! Just edit the `lastwp.
css` file, or maybe even poke around at
 the images!

  I love the plugin, How can I ever thank you?

Just tweet @kylehotchkiss and say so! And thank the fellows at Engage Interactive
too! I would love to hear that people are using it.

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈Last.wp〉的開發相關工作。

參與者

 *   [ kylehotchkiss ](https://profiles.wordpress.org/kylehotchkiss/)

[將〈Last.wp〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/lastwp)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/lastwp/)、查看
[SVN 存放庫](https://plugins.svn.wordpress.org/lastwp/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/lastwp/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/lastwp/)。

## 變更記錄

#### 0.2

Bingo. Last.wp is sorta pretty now. Now featuring “Now Playing” indicator, nicer
album artwork, and some mild bugfixes. It is now recommended to use Last.wp with
a wider sidebar
 if that’s at all possible!

#### 0.1

Now that Last.wp is released, the world just can’t ever be the same…

## 中繼資料

 *  版本 **0.2**
 *  最後更新 **16 年前**
 *  啟用安裝數 **10+**
 *  WordPress 版本需求 ** 2.8 或更新版本 **
 *  已測試相容的 WordPress 版本 **2.9.2**
 *  語言
 * [English (US)](https://wordpress.org/plugins/lastwp/)
 * 標籤:
 * [client side](https://tw.wordpress.org/plugins/tags/client-side/)[Last FM](https://tw.wordpress.org/plugins/tags/last-fm/)
   [music](https://tw.wordpress.org/plugins/tags/music/)[widget](https://tw.wordpress.org/plugins/tags/widget/)
 *  [進階檢視](https://tw.wordpress.org/plugins/lastwp/advanced/)

## 評分

這個項目尚無任何評論記錄。

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

[查看全部使用者評論](https://wordpress.org/support/plugin/lastwp/reviews/)

## 參與者

 *   [ kylehotchkiss ](https://profiles.wordpress.org/kylehotchkiss/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/lastwp/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](http://kylehotchkiss.com/)