Skip to content

sankroh/Octopress-LastFM-Aside

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Octopress Last.fm Aside

This is a simple aside for Octopress that uses Last.fm API to pull your most recently listened tracks from your account.

It was greatly inspired by Octopress Flickr Aside that inserts Flickr photos in the sidebar.

How to use it

First of all you need to copy lastfm.html into your octopress installation in the directory source/_includes/custom/asides. Then you need to update the _config.yml file:

  • add 'custom/asides/lastfm.html' to default_asides
  • add lastfm settings at the end of the file:
#Last.fm
lastfm_apikey: <your lastfm api_key>
lastfm_user: <your lastfm username>
lastfm_count: <# of tracks to be displayed/retrieved>

Read about the Last.fm API here and get an API key here.

Please feel free to fork and contribute.

Enjoy!

About

Octopress Aside for Last.FM

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published