XML-RPC and The Mirror Project
XML-RPC and The Mirror Project
- Subject: XML-RPC and The Mirror Project
- From: "Larry Staton Jr." <email@hidden>
- Date: Mon, 14 Jan 2002 21:54:04 -0500
Here's the script:
tell application "
http://www.mirrorproject.com:80/xmlrpc/"
return call xmlrpc {method name:"mirror.Random"}
end tell
Here's what's returned in Script Editor: "lt" (quotes included)
In AEXMLTutor, I also get "lt" returned, but I also get the following:
<?xml version="1.0"?>
<methodResponse>
<params>
<param>
<value><string><div style = "border:1px solid
#999999;padding:10px;width:192px;max-width:192px;font-family:Verdana,Geneva,
Arial;font-size:11px;background-color:#e5e5e5;"><strong><a
href = "
http://www.mirrorproject.com" style =
"text-decoration:none; color:#000000;">The Mirror
Project</a></strong><br /><br/><img
src="
http://www.mirrorproject.com/show-image.mirror?th=1&amp;key=30
50" style="border:1px solid #000000;" alt = "Justin
Brown" /><br /><br />I stumbled across your page while I
was avoiding editing my final video project for this quarte...<br
/><br /><a
href="
http://www.mirrorproject.com/mirror?id=3050">Justin
Brown</a></div></string></value>
</param>
</params>
</methodResponse>
I'm trying to hook this script into Radio Userland to display a random
picture from the Mirror Project. The return value is simply an HTML string.
Any thoughts on how I get the entire string returned?
--
Larry Staton Jr.
email@hidden
http://radio.weblogs.com/0001245/