void wickedSunny(char* szBlog);

Wednesday, July 07, 2004

2 days and 2 nights !

2 Days and 2 nights. Thats all it took for the plugin. Now the current song being played in winamp player can be displayed on my blog or at any webserver which supports JavaScripting / PHP.
As i do not have a webspace at blogger.com my students.iiit.ac.in 's web space is acting like a middleware :)

the overall procedure is :

winamp plugin
# using winamp api calls instance is detected when a new song starts
# then details of the song is collected.
# a GET request is sent to a php script at my students account. (i guess i shud not tell u the path of the script, may be ranta will try to hack it).

php script
# it takes the details being passed thru plugin and saves it on a file on disk.

At Blogger
# a Javascript reades the file and displays it in a frame.

Thats it. and for ranta .. plz plz do not hack the php script . It wont look good for a sysAdmin doing ths kinda stuff.

future work: to make it customizable to work in different conditions and to make it more secure to make it safe from ppl like ranta.

U can also access the view the experimental page showing the song details at my students page at http://students.iiit.ac.in/~sanyam/song.html

special thanks to : raheja for appreciating the idea, ranta for sockets, manjeet for php, dynamicdrive.com for JavaScript and above all jayaram for telling me that this kinda plugin is already available on the net after i spent 2 d and 2 n's coding it.

© INN0v8 Creations Ltd.
--
:: sanyam ::

copy from one, it's plagiarism !
copy from two, it's research !!
- Wilson Mizner

2 Comments:

  • good work...just put it somewhere on the side of the page after a couple of days.
    Maybe you can contribute it to winamp?
    there is such a plugin on the net for wmp ..there is also one for winamp but it does not work as well as yours.
    one suggestion...try and get the detaiils of the mp3 from some database and display that ...just as a experiment

    By Blogger ironhide, at 2:28 PM  

  • thx a lot dear !
    i need suggestions .. and urs was a nice one. i'll try to do that .. can u suggest me any database as such.

    By Blogger s, at 2:56 AM  

Post a Comment

<< Home