Also, some CSS code to go with it would be nice.
On Nov 9, 4:33 am, Jeroen Smeets <jer...@dirkie.nu> wrote:
First, as this is my first message to the list -- hello! I got a
question if I could help with a Last.Fm plugin for Sweetcron, and I
didn't know Sweetcron yet. I have set it up on my domain and am very
impressed!
So I dug through my Wordpress plugins for Last.Fm and extracted some
code and wrote some new lines, so I can announce here a plugin for Last.Fm.
Most time was spent on fetching the image for the cd that the track is on.
You can download a first beta version from
jeroensmeets.net/downloads/sweetcron_last_fm.zip
And I added this code to themes/boxy/_activity_feed.php
<?php elseif ($item->get_feed_domain() == 'last.fm'): ?>
<p class="twitter_user"><a href="<?php echo $item->get_permalink();
?>"><img src="<?php echo $item->get_image(); ?>" alt="" /></a></p>
<p class="twitter_tweet"><?php echo $item->get_title()?></p>
Please let me know what you think and any improvements you can see!
Greetings,
-- Jeroen