Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: [request] Proper last.fm Plugin!
I didn’t see another thread for lastfm_tagcloud; was a beautiful plugin when it was working, which it is currently not doing for me and I’m hoping someone can help me figure out why..
Is this error familiar to anyone?/how may I troubleshoot?: Warning: usort() expects parameter 1 to be array, null given while parsing form #lastfmtagcloud on page playlists
textpattern.org :: find and share Textpattern resources
docs.textpattern.io :: Textpattern user documentation
Offline
Re: [request] Proper last.fm Plugin!
Issue may be on last.fm side ? :-/ I miss my tag clouds.
textpattern.org :: find and share Textpattern resources
docs.textpattern.io :: Textpattern user documentation
Offline
Re: [request] Proper last.fm Plugin!
alicson wrote #304483:
Issue may be on last.fm side ? :-/
I’d suspect that last.fm API has changed quite a bit. In particular, they want you to register, to get an API key.
Edit: once you’ve got a key, you can extract all kind of data, either server-side:
<txp:etc_query url="http://ws.audioscrobbler.com/2.0/?method=user.getTopTracks&user=test&api_key=4a9f5581a9cdf20a699f540ac52a95c9&limit=10&format=json"
markup="json" query="toptracks/track/*" wraptag="ol" break="li" label="Top Tracks" labeltag="h4"
>
<a href="{url?}">{name?}</a> by <a href="{artist/url?}">{artist/name?}</a> ({playcount?} times)
</txp:etc_query>
or with numerous javascript plugins.
Offline
Re: [request] Proper last.fm Plugin!
etc wrote #304484:
once you’ve got a key, you can extract all kind of data, either server-side:
<txp:etc_query url="http://ws.audioscrobbler.com/2.0/?method=user.getTopTracks&user=test&api_key=4a9f5581a9cdf20a699f540ac52a95c9&limit=10&format=json"...
Thank you! Really appreciate this. I don’t know how to use it, however I’ll play around and figure it out in the not-too-distant-future.. Still trying to iron out a few other things meanwhile..
textpattern.org :: find and share Textpattern resources
docs.textpattern.io :: Textpattern user documentation
Offline