About Me ·
At GROSSWEBER we practice what we preach. We offer trainings for modern software technologies like Behavior Driven Development, Clean Code and Git. Our staff is fluent in a variety of languages, including English.
Discovered today and immediately integrated into dasBlog: Audioscrobbler.
The service gives you the ability to upload information about the tracks you're listening to. It's hosted on Last.fm, a social web radio service. They're tracking incoming song information and build charts and personal recommendations on top of them. I didn't test these features until now, but I believe that over time they'll give additional input to my music discovery process.
To use the service there are a few simple steps to take:
Your music player will then upload song information if you're online.
Now on to the best part: Audioscrobbler supports a Web Service interface to your profile and data. In my opinion, and ideal way to extend your blog. So did I, writing a macro assembly for use with dasBlog. Currently there are only two macros, one for showing a little Audioscrobbler icon. The other one displays the last songs played. The Web Service limits these to ten, the macro can be instructed to reduce the number of results even more.
<% Button()|Audioscrobbler %>
<% RecentTracks(n)|Audioscrobbler %>
Have a look at the right-hand side of this page. There you can see the outputs of these two macros under "Now Playing". (RecentTracks has been limited to 5.)
There are some configuration settings to make before you can use these custom macros.
<?xml version="1.0" encoding="utf-8" ?><theme name="YourTheme" title="YourTheme" templateDirectory="themes/YourTheme" imageDirectory="themes/YourTheme">
<image name="AudioscrobblerButton" fileName="AudioscrobblerButton.png" /></theme>
<section name="newtelligence.DasBlog.Macros" type="newtelligence.DasBlog.Web.Core.MacroSectionHandler, newtelligence.DasBlog.Web.Core" /><section name="Softwareschmiede.DasBlog.Macros.Audioscrobbler" type="Softwareschmiede.DasBlog.Macros.AudioscrobblerConfigSectionHandler, Softwareschmiede.DasBlog.Macros" />
<add macro="Audioscrobbler" type="Softwareschmiede.DasBlog.Macros.Audioscrobbler.Macros, Softwareschmiede.DasBlog.Macros"/>
<add setting="UserName" value="<Enter your Last.fm user name here>"/>
Now you're ready to use the two macros as described above in your .blogtemplate files.
<div> <% RecentTracks(5)|Audioscrobbler %> <% Button()|Audioscrobbler %></div>
If anyone is interested in extending the macros, download the Visual Studio Project.
a@href@title, blockquote@cite, em, strike, strong, sub, sup, u
Page rendered at Monday, December 22, 2014 9:32:49 PM (W. Europe Standard Time, UTC+01:00)
newtelligence dasBlog 2.3.257.0
© Copyright 2014, admin
The opinions expressed herein are my own personal opinions and do not represent
my employer's view in any way.