
內容簡介
如果你寫部落格談論音樂,希望在觀看專輯時添加詳細資訊但不想費力獲取專輯封面、音軌列表或專輯介紹,那麼就可以使用 shortcode 簡碼來輕易地解決問題。
只需要安裝此外掛,按照管理員頁面上的說明輸入 Last.fm API Token,將簡碼 [album artist=”anArtist” album=”anAlbum”] 加入文章內,即可插入關於指定專輯的多元化資訊。
此外掛的功能包括:
透過 Transient 進行快取
可自訂外觀風格
若專輯封面圖片獲取成功,會一併呈現在文章中
將專輯封面圖片儲存於媒體庫中,確保每次查看時都能夠獲取圖片
提供音軌列表,包含每個音軌的播放時間
若該專輯在 Last.fm 帳戶中被標記為擁有,則可以列出風格標籤,如流派和擁有的專輯列表
會顯示發布日期,但有可能是修復版的發布日期
提供 Last.fm API 提供的專輯簡介
外掛標籤
開發者團隊
原文外掛簡介
If you blog about music and wish to add information about the album you are viewing without having to source details such as album art, track listings or an album summary, why not use shortcode to do the hard work for you.
Simply install the plugin, add a Last.fm API Token by following the instructions on the admin page and add the shortcode [album artist=”anArtist” album=”anAlbum”] to insert an array of information about the given album.
Features include:
Cached using Transient
Styles appearance
Includes an image of the album artwork if it is available
Album artwork is copied to the Media Library to ensure the image is always available when needed
Provides a list of tracks with the track duration
Shows a list of tags, such as Genres and ‘Albums I own’ if the album is marked as owned in the Last.fm account associated with the API key
Provides a publish date, althogh this may be the publish date of a re-mastered edition
Displays a summary of the album as provided by the Last.fm API
