Get XML Snippet from the Net?

Hello Gurus!

I’m guessing this one is pretty simple, but is there a way that I can get XML info from the net into a variable in my script?

I’m trying to write a script to get the currently playing song from
http://www.kexp.org/getsong.asp

I’ve started messing with the XML-RPC stuff, but I can’t figure out how not to call a method. Or should I be doing this through a shell script?

Thanks for any pointers in the right direction!

-Jeff

type “man curl” in terminal

you can call it from applescript with ‘do shell script’.

do a search on curl in this bbs for an example.

BTW, that response string is not XML. You can just parse it with set applescript’s text item delimitters.