Yahoo! Pipes

My first project in Yahoo! Pipes: track my Last.fm friends' recently played tracks, giving a summary of the artists and how many tracks by that artist were played recently.

The procedure goes something like this:

  1. Fetch each of my friend's "recently listened" XML feeds.
  2. Extract the username from the URL, and delete everything from the title but the artist's name.
  3. Combine the friend's name and the artist, making the result the new item title.
  4. Filter the duplicates by title (so there is one item per artist and friend pair). (Note: This step was previously located before the previous, but that meant that every listen for an artist by any friend would be attributed to only one friend. This is fixed in the source (linked below) but not in the screenshot.)
  5. Parenthesize the number of duplicates of each artist that were found. This is the number of tracks by that artist that were listened to.
  6. Add this listen count to the title of each item.

This gives me feed entries with titles like this:

See the source.


Comments

Click here to view the comments on this post.