Diff: [root] @ 5e4fc612770 | faq | css


File created: 33188 howto/read-song-lyrics [Diff]

diff --git a/howto/read-song-lyrics b/howto/read-song-lyrics
new file mode 100644
index 0000000..e1aa533
-- /dev/null
++ b/howto/read-song-lyrics
@@ -0,0 +1,27 @@
The best service I found so far is "lyricsplugin":http://lyricsplugin.com. Its interface is sacral knowledge though. Here it is.

h2. Example


h2. Explanation

Base URI: http://www.lyricsplugin.com/winamp03/plugin/
GET parameter "artist": Artist name, e.g. "Chitlins,%20Whiskey%20%26%20Skirt" (URI encoded!)
GET parameter "title": Song title, e.g. "Increased%20Chances"

Returned is HTML with maybe lyrics.

h2. Script

Simple Ruby script that outputs plaintext lyrics:

bc.. % lyrics.rb "The Prodigy" "Omen"

It’s an omen

It’s an omen

p. [http://gist.github.com/343356]
\ No newline at end of file

By Voker57 on 2010-03-25 12:21:27 +0300 Powered by bitcheese wiki engine