I spend about 1.5 hours tonight studying the perl LWP modules, by playing with the HTTP::Request,
HTTP::Headers, HTTP::Response, HTTP::Message modules in my little utitlity 'now'.
'now' is my little perl utility to retrieve the "now playing" items from various online radio websites, including http://sky.fm and http://hitzradio.com/.
It basically gets the html page and print out the current playing title, filtering by regex.
I also pop-up a xmessage window to notify the latest title.
Oh, forget to mention my favoriate online radio site, http://wcpe.com. However, due to the "Server Full" problem, I have not listened to it recently.
I used to have another perl script to retreve the current title playing in wcpe.com. It's broken though.
Anyway, tonight's practice gives me more insight about http procotol, although I claimed to be proficient of it. :)
Leo Chen's first blog. It's a personal blog, no specific topic, just random walk of his inner space. His idea, his appreciation, his review, his critic, his love, his life ...
Monday, March 28, 2005
Wednesday, March 23, 2005
Friday, March 11, 2005
到了重庆才后悔结婚太早:重庆三宝美女+火锅+夜景(图) - 文学城 www.wenxuecity.com
到了重庆才后悔结婚太早:重庆三宝美女+火锅+夜景(图) - 文学城 www.wenxuecity.com
Check it out. The three beauties of Chongqing, my home city. I love it.
Welcome to Chongqing.
Check it out. The three beauties of Chongqing, my home city. I love it.
Welcome to Chongqing.
Subscribe to:
Posts (Atom)