mrry (Happy New Year)
 
Blog Web Services 8/Jun/2003

I'm sure you've all heard of Web Services: it was that very subject on which I wrote a couple of platitudes in order to win tickets to the V Festival in Staffordshire this August; it's also what makes sure that this site is listed on Weblogs.com and blo.gs. All of which is very interesting, I'm sure.

I downloaded the Windows Media Player 9 Blogging Plug-in today, because I always fancied the idea of a Now Playing box over in the sideboard - so fantastic is my taste in music, that it'd be a crime not to share it with you. Unfortunately, it seems that its purpose is purely to let blogging applications append current track data to the head of a blog post. This doesn't particularly appeal, and implementing it would either require implementing an API, or writing a client-side blogging tool; neither of which I particularly feel the need to do. So I discarded the idea.

Then! I thought of a natty plan that would tie in with our initial subject - Web Services. The sample code for the plug-in had a JScript file that could pull off the information and present it in a MsgBox. I then worked out that the Windows Scripting Host can make SOAP calls. Putting two and two together, I realised that I could augment the sample script to make a SOAP call instead of displaying a MsgBox, and run a SOAP server on my website that could receive news of the currently playing file. Dropping the JScript (or, more realistically, VBScript) into the Task Scheduler on my computer would complete the process, and I'd have a natty Now Playing box over on the right-hand side.

Once this is done, there's no reason why the server couldn't also receive calls from WinAmp, xmms, etc., though I could imagine needing more-talented programmers to write the plug-ins.

Of course, I've still got two exams left, so I won't be doing this this week, but keep an eye out - I've had the urge to start programming again*.

Cheers,

Derek.

* A career that halted after I discovered that there isn't much of a market for HyperCard stacks of Monty Python sounds....

 
CommentsComments 

Derek said:
I think exams bring it on: as soon as there was a whiff of Calculus in the air, I got the urge to write a Bravenet-guestbook-to-RSS convertor....

I was thinking about palindromes today as well, but for the rather more mundane reason that they feature in a question for a bygone DSA example class. I'll be looking out for your new code, maybe even write a client for it, as practise.

Cheers,

Derek.

Gary said:
Sounds like an interesting little idea.

Yesterday, I got the urge to update my palindrome code (a simple script - expect the update tonight). It then occured to me that I could add an XML-RPC API as well. So I fully intend to once my exams are over.

It's truly bizarre how different people think about similar things at the same time. Maybe it's something in the water.

Name

E-Mail

Url

Comment

Please enter the number 8978 in the box below:

 
CommentsTell a friend about this page

Your Name

Your E-Mail

Your friend's E-Mail

 
SideboardSideboard


< # Scottish Blogs ? >
Technorati Profile
Listed on BlogShares

Subscribe to the mrry RSS feed
More about RSS.
Trackback URL for this article:
http://www.mrry.co.uk/trackback/1706