Content last modified Monday 6 March 2017
hop to #bottom
Categories:
Author:
Current version:
0.7
About It:
Get it:
Rate it:
  • Helpful?
  • 0 Yes
  • 0 No
Flag it:
Contact Reason [ ? ]

bsl_audioscrobbler, continued2

This is an expansion on an existing plugin by Bradley Law.

All attributes now work (1.0rc1 doesn’t like underscores in attribute names, apparently).

Special characters don’t get garbled anymore.

If you’re going to use the cache, the directory AND the XML file need to exist beforehand or it will spit up an ugly PHP error. I’ll look into this further in the future, but for now you’ve got to hold its hand a little bit.

I manually hacked my version to display in a list format. The standard plugin will only accept a break tag to slap at the end of each link. Unordered list capability forthcoming.

As of version 0.7, the plugin now does the following:

  • Supports forms

  • Will create the cache XML file if it does not exist (directory must be CHMODed to at least 666 for this to work)

An example form might look like this:

<li><txp:permlink><txp:author /> - <span class="songtitle"><txp:title /></span></txp:permlink></li>

A number of attributes have been removed in lieu of forms, which is The Textpattern Way. The Help has been updated and I hope it is clear enough.

this plugin was further expanded by Ruairi Mc Comb

Article Request Count:
Initially released:
2004-09-23
Posted here:
02 Feb 2005
Article modified:
12 Apr 2005

You may want to leave your comments/questions at the Forum thread for quicker feedback. Otherwise, comment away:

Your comment will NOT be submitted until you click the 'Submit' button on the next pageload.

Subscribe to this article's comments RSS feed. [ ? ]   View Recent Comments across the site.

You know you want to visit the Archives.

Browse

Categories


Articles

There are also tag clouds, 'cause those are fun.
Published with Textpattern