www.nickhodge.com

microsoft, munging and on being a mercurial iconoclastic professional geek.

Random Neil Finn Lyric Server

with 2 comments

All Lyr­ics are Copy­right their respect­ive Copy­right holders.

Fast Start:

To get an lyr­ics super­im­posed on image, use the fol­low­ing URL:

http://nickhodge.com/finnwords.jpg

For JSON, use the fol­low­ing URL:

http://nickhodge.com/finnwords.json

For SOAP, use the fol­low­ing URL to get the WSDL

http://nickhodge.com/finnwords.wsdl

Simple XML, use the fol­low­ing URL:

http://nickhodge.com/finnwords.xml

Back­ground

In 2002 I had a brain­wave whilst driv­ing to work. I don’t know where it came from, but here’s the res­ult of some late night coding.I think that Neil Finn is the world’s best singer/songwriter — and this ser­vice is a trib­ute to his work. There are over 280 phrases from over 70 songs Neil and his brother Tim has writ­ten in the data­base. This col­lec­tion spans from 1979 with the Split Enz album Frenzy to their most recent work in 2004 on his second Finn Broth­ers album, Every­one Is Here
To incor­por­ate the Ran­dom Neil Finn Lyric Server into your web page is easy. Just copy and paste the fol­low­ing HTML into your web page editor of choice. As an image:http://www.nickhodge.com/nhodge/finnwords/finnwordsimageengine.php

<img src="http://www.nickhodge.com/finnwords.jpg" width="300" height="174"/>

or using iframe

<iframe id="finnwords" src="http://www.nickhodge.com/nhodge/finnwords/finnwordsengine.php" mce_src="http://www.nickhodge.com/nhodge/finnwords/finnwordsengine.php" width="175" height="175" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="1" scrolling="no"></iframe>


If you would like to book­mark some­thing to see a quote on a daily basis, just use this URL: http://www.nickhodge.com/nhodge/finnwords/finnwordsengine.php


For those with an RSS Reader, add the fol­low­ing URL to your feed, and get a Ran­dom Neil Finn Lyric:http://www.nickhodge.com/nhodge/mungenet/mungenetrssengine.php?ver=2.0&content=finn


SOAP Server URL: http://www.nickhodge.com/nhodge/finnwords/finnwordssoapengine.php

end­point: getRandomNeilFinnLyric

para­met­ers: returnType a string con­tain­ing the text xml, json, html or text to indic­ate the return format

Here is some sample PHP5 using the SOAP (Web Ser­vices) func­tions to call in a Neil Finn quote

$parameter = array("returnType","html");
$soapclient = new SoapClient('http://www.nickhodge.com/finnwords.wsdl');
echo ($soapclient->getRandomNeilFinnLyric($parameter));

Written by Nick Hodge

May 13th, 2007 at 12:00 am

Posted in neilfinn