Blank

Archive for the 'Uncategorized' Category

WordPress Hack

Thursday, June 26th, 2008

It turned out that the upgrade did not solve the problem as it was header.php in my theme that was modified to include a <u> element with display:none that included a long list of bad links. (see excerpt at http://www.pastie.org/223173 ).

I assume it happened via sql injection that I hope had been resolved in WordPress 2.5.1

I assume it got in via sql injection that the new version has solved.

Integrated “Share This”

Sunday, August 19th, 2007

A few weeks ago I installed the “Share This” Plugin by Alex King on this web site. I thought it maybe nice to have this work on the main site for the various song lists. What I really liked was that it was a javascript pop-up that also worked when javascript was off via a dedicated page.

I’ve done a fairly dirty conversion to rails. The original used the Wordpress internal code to call the mailer so I’ve added a controller to call ActionMailer, the same controller is responsible for the non-javascript page. As usual most of the time went into layout and CSS issues ;-)

Maybe sometime I’ll clean it up and re-release it as a rails generator, but we’ll see if I get to it - I am drowning with lots of things to do.

I’ve been slashdotted !!!!!!!

Sunday, March 11th, 2007

It’s official - Song List is part of web 2.0. I’ve been slashdotted here. The torrent was hard to withstand… a total of 10 hits! ;-) Nonetheless - a milestone.

External Links

Wednesday, March 7th, 2007

I have interest in seeing how the site is being used. The logs and google analytics give a very nice snapshot of that. What I don’t get is visibility to the clicks to external sites. With Google Analytics you can instrument click-outs but you need to add Onclick javascript code to each link.
So.. I added a level of indirection. Now when the users click on an online music store icon - it comes back to the Song List controller. For example:

http://www.song-list.net/mp3/itunes/949650/949525

The MP3 action then redirects to the appropriate music library (in this case itunes). I keep all the neccesary information in the url so the controller doesn’t need to do a database call. I’ve seen some shopping sites do the same only the real link is transmitted via a key - requiring a DB call, and taking much more time.
Now I can see in the logs which music libraries get clicked more often (answer: so far it is Rhapsody).