lyrics spider

Help each other out

lyrics spider

Postby jpoveda on Wed Oct 24, 2007 10:17 am

Hello,

I'm trying to create a lyrics spider and I have a question. URL must be like http://www.lyrics.com/lyric.php?artist= ... e=Fernando. and I don't know how to do it. Searching in spiders code xlobby sends %searchstring% and I can't imagin how to match both.

Anyone has an idea?
jpoveda
 
Posts: 111
Joined: Mon May 17, 2004 6:45 am
Location: Spain

Re: lyrics spider

Postby jpoveda on Sat Oct 27, 2007 3:53 pm

Hello,

I'm not able to get it working so I made a vbs to get the lyric. Now the problem is how to tell to xlobby. I've made database and modified the xml file but I don't know how to refresh info into xlobby (A refresh category doesn't work). Lyric should be over 200 characters lenght so I can made a file with the lyric as name and import it latter.

Anyone knows how to read a text file from a file, for example?
jpoveda
 
Posts: 111
Joined: Mon May 17, 2004 6:45 am
Location: Spain

Re: lyrics spider

Postby jpoveda on Sun Oct 28, 2007 9:20 am

Hi,

Talking to myself, now I get http info and write it into a xlobby database. I can refresh it so I see the lyrics into xlobby. But I have two troubles.

First one, the process works if I get english lyrics, with spanish ones I'm not able to save a proper xml file (If I try to open with IE I get an error), the problem is special spanish characters (ñ,Ç,á .....). I'm only able to do it if I save xml file as utf-16, but next time, when I reload a new lyric info, the vbs save the file as utf-8, so the question is if somebody knows how to save a file from a vbs in utf-16 format. :shock:

Second one, well, I see the lyric into xlobby but as the lyric is usually very long, I decided to scroll it but xlobby is to much faster for me.....
Any idea about how to control it?. I'd like to synchronize the lyric too. I know track lenght so dividing by the characters I have a good aproax. So the question is how to move the text..... :shock: :shock:

Any idea would be appreciated.
jpoveda
 
Posts: 111
Joined: Mon May 17, 2004 6:45 am
Location: Spain

Re: lyrics spider

Postby jpoveda on Mon Oct 29, 2007 9:54 am

Hello,

Finally I got it. Thanks to xreceive plugin. I did a do/wend into vbs program that sends a category next each x (lenght/characters) seconds (It is not really synchronizated but it looks like it was). About the character trouble I should created the xml file as utf-16 with notepad and edit the file instead of creating from vbs.
jpoveda
 
Posts: 111
Joined: Mon May 17, 2004 6:45 am
Location: Spain

Re: lyrics spider

Postby fizzasist on Thu Dec 27, 2007 5:05 pm

Good work!

I would be interested in finding out more about it......my son CONSTANTLY wants me to download music for him and I always have to look up the lyrics to make sure it is appropriate so this looks like it would be a big help!
fizzasist
 
Posts: 76
Joined: Sat Sep 16, 2006 11:38 pm

Re: lyrics spider

Postby jpoveda on Sat Dec 29, 2007 4:04 pm

Hello,

Sorry for the delay. I finally forgot this way, I was not able to synchronize the lyric. Then, I downloaded minilyrics (winamp plugin). You should configure with trasparent background and integrate it as an external application with xmovewindow. Let me know if you need more help.
jpoveda
 
Posts: 111
Joined: Mon May 17, 2004 6:45 am
Location: Spain