[WordPress] 外掛分享: Last.fm RPS

首頁外掛目錄 › Last.fm RPS
10+
安裝啟用
尚無評分
3046 天前
最後更新
問題解決
WordPress 2.0.0+ v2.0.0 上架:2008-05-04

內容簡介

這個外掛會取得你的 Last.fm 動態,並解析出你最近聽過的歌曲資訊,然後與取自 Last.fm 動態的專輯標籤結合,如果沒有相關的專輯圖片,就會顯示藝術家的圖片。
版本 0.2 的更新內容:

新增定義在頁面上顯示多少首歌曲的選項
從原始碼中分離出 CSS 檔案,新增「 lastfm.css 」檔案
新增不同的樣式表到最近播放的歌曲中
改變日期時間的顯示設置,例如 「 x天y秒和z分鐘之前 」
將 div 更改為在不同佈景主題中更可靠的表格
如果用戶在他/她的佈景主題的 header.php 中沒有包含 wp_head() ,則此腳本會檢查並自行添加 CSS。

版本 0.3 的修復內容:

修正了服務器時間和本地時間之間的時間差問題
若播放器中播放的曲目持續時間少於 4 分鐘,則腳本會顯示兩首最近聽過的歌曲,現在已修復,只會顯示一首。

版本 0.4 的新增內容:

新增不受小工具啟用的佈景主題支援
新增截圖
更新 Readme.txt

版本 0.5 的修復內容:

當長時間沒有播放或僅播放一首歌曲時,此腳本會引發錯誤,現在已修復
為了加快速度撰寫了 SimpleXML 擴展的最佳化

版本 0.6 的新增內容:

改進了對專輯圖片的檢查
如果餐單項目不包含專輯名稱,則會直接顯示預設圖片。

版本 0.7 的新增內容:

新增圖片定位功能
新增可選用的底部文字
刪除 ‘ 和 “之前的反斜線
將表格轉換為 CSS,現在在 lastfm.css 中可以對它進行控制
新增藝術家圖片支援,如果找不到專輯圖片,現在會顯示藝術家圖片

版本 0.8 的更改內容:

新增 Various Artists 專輯圖片的支援
新增 Last.fm 標誌選項
新增選項頁面的改進
新增 Last.fm 圖示(您應該使用其中一個)

版本 1.0.0 的更改內容:

新增 cURL 和 fopen 支援

版本 1.0.2 的輕微更改內容:

提高文件讀取內部函數的安全性。

版本 1.0.3 的更改內容:

現在空圖像顯示為 Last.fm 圖像替代品。
修復了與 WordPress 2.7 兼容性問題 (compat.php 損壞了我的一個功能,我將其重新命名了)
感謝 Tom 告訴我 Last.fm 開始使用 64×64 像素的圖像而不是 50×50。現在已更改。

版本 1.1 的更改內容:

新增快取支援
將 Last.fm API v1.0 代碼更改為 v2.0 代碼
修復了「正在播放」代碼

版本 1.1.1 的更改內容:

修復了令人煩惱的 file_get_contents 錯誤。

版本 2.0.0 的更改內容:

完全重寫
更新 Last.fm 標誌以匹配網站中使用的標誌
修復了複雜的 CSS 規則 (注:您需要再次編輯 CSS 文件 🙁 )
自動添加 CSS 規則以提高瀏覽器的兼容性
刪除了 Shortcode 支援
刪除了 FileSystem Cache,改為使用 WP_Options 方法
新增德語,法語,西班牙語,意大利語。

外掛標籤

開發者團隊

⬇ 下載最新版 (v2.0.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Last.fm RPS」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

This plugin gets your last.fm feed and parses your recently played song information and then combines it with the album tag
also taken from the last.fm feeds. If it doesn’t find an album image, It shows the artist image instead of it.
Whats New in Version 0.2?

Added option to define how many songs are displayed on the page
Seperated css file from code and added new “lastfm.css” file
Added different stylesheets to recently played songs
Changed the datetime display configuration like “x days y seconds and z minutes ago”
Changed the div’s into tables which are more reliable for different themes.
If the user hasn’t any wp_head() included in his/her theme’s header.php, this script checks and adds its css itself.

Whats the fixes in Version 0.3?

Added a neccessary fix for the time difference between server time and local time.
If there is a track played in the player which length is less than 4 minutes ,the script showed two recently listened songs, so this is fixed now.It only displays one.

Whats New in Version 0.4?

Added support for not widget-enabled themes.
Added Screenshot
Updated Readme.txt

Whats the fixes in Version 0.5?

When no songs played for a long time or only played only one song, this script raised errors. This is fixed now.
Optimized the SimpleXML Extension for speed issues.

What’s added in v0.6

Improved checking of album images.
If the feed item contains no album name, then directly shows default image.

What’s New in Version 0.7?

Added image positioning
Added optional Bottom Text
Removed the slashes before ‘ and “
Converted tables to css so you have all the control in lastfm.css
Added artist images support. Now it shows artist images when it can’t find the album image.

The changes in 0.8

Added Various Artists album image support
Added last.fm badge option
Improved options page
Added last.fm logos (you should use one)

The changes in 1.0.0

Added cURL and fopen support

The minor changes in 1.0.2

Added security to file reading function inside class.

The changes in 1.0.3

Empty images show up as last.fm image placeholders now.
Fixed the compatibility issue with wordpress 2.7 (Their compat.php broke one of my function and i renamed it.)
Thanks to Tom for informing me that last.fm started to use 64×64 images instead of 50×50. Thats also changed.

The changes in 1.1

Added caching support
Changed Last.fm API v1.0 code to v2.0 code
Fixed “Now Playing” code

The changes in 1.1.1

Fixed annoying file_get_contents error.

The changes in 2.0.0

Complete rewrite
Updated Last.fm logos to match the ones used in the site
Fixed complicated CSS rules (Note: You need to edit the CSS files again 🙁 )
Autoprefixed CSS rules for browser compatibility
Removed Shortcode support
Removed FileSystem Cache, using WP_Options method instead
Added German, French, Spanish, Italian and Turkish translation (You can translate more with Loco Translate plugin, used google translate on most parts, sorry for that.)

TODO:

Track and artist corrections

延伸相關外掛

文章
Filter
Apply Filters
Mastodon