Skip to content

Create a customizable RSS feed of Last.fm tracks.

Notifications You must be signed in to change notification settings

luxuryluke/lastfm-rss

 
 

Repository files navigation

Last.fm RSS Generator

Generate an RSS feed of the recently played or loved tracks from your Last.fm account.

Requires PHP Simple HTML DOM Parser to reside in the same directory as lastfmrss.php file.

Based on a fork of Appie Verschoor’s lastfmrss.

Demonstration Feed

https://splo.me/lastfmrss-working.php?user=ghutchin

Future Work

  • Look into changing URI structure to use plain directory as end point: /lastfm/username
  • Change file name to index.php to accommodate above
  • Determine how the above change works with Kirby install
  • Remove duplicate text for artist, since it’s included with the track information
  • Added filtering modes or features via URI attributes, eg:
    • &mode=text - text of artist and track only
    • &mode=link - link to track page only
  • Better handling of passing a null username
  • Add atom:link with rel="self" per W3C Feed Validator recommendations

About

Create a customizable RSS feed of Last.fm tracks.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%