About Me

microformats hcard approaching

is a Professional Geek for Microsoft Australia. More info lives underneath the About Box...

-33.831416, 151.222526
MrCell+61.417.212181
Work:
1 Epping Road
North Ryde, NSW 2113
Australia
photo of nick hodge

Stuff

View Nick Hodge's profile on LinkedIn

msdn channel 9

Random Neil Finn Lyric Server

By Nick Hodge | May 13, 2007

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

MySpace users: copy and paste this Image URL http://www.nickhodge.com/finnwords.jpg — images will appear.


Recently 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. The iframe oper­ator only works in Nets­cape 6 or higher, and Inter­net Explorer.As an image:http://www.nickhodge.com/nhodge/finnwords/finnwordsimageengine.php<img src="http://www.nickhodge.com/nhodge/finnwords/finnwordsimageengine.php" mce_src="http://www.nickhodge.com/nhodge/finnwords/finnwordsimageengine.php" 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


For those more adven­tur­ous, you can also call a SOAP server to get it to return a Ran­dom Quote.Win­dows 98, ME, 2000, XP: Using the Microsoft SOAP Toolkit, you can use the fol­low­ing script to gen­er­ate a Ran­dom Neil Finn Lyric: getRandomNeilFinnQuote.zipThe WSDL is at http://www.nickhodge.com/nhodge/finnwords/finnwords.wsdlFor non-WSDL, this will get you to the server.

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, 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/nhodge/finnwords/finnwordssoapengine.wsdl');echo ($soapclient->getRandomNeilFinnLyric($parameter);

Topics: neilfinn | 2 Comments »

2 Responses to “Random Neil Finn Lyric Server”

  1. Neil Finn Lyric Server goes Mashup | nickhodge.com | mungenet Says:
    June 23rd, 2007 at 9:22 pm

    […] Neil­FinnLyr­ics (now shared) this is bare, bare bones. It simply uses the new REST inter­face to the Ran­dom Neil Finn Lyric Server.  The Lyric Server sup­ports SOAP/WSDL, and nor­mal image […]

  2. 2008 in Review | www.nickhodge.com Says:
    January 6th, 2009 at 3:08 pm

    […] 2008? I’d like to say the theme of 2008 was black and white. No grey. Pure Black and White (yes, Neil Finn always says it […]

Comments