|
From: Anne on 30 Oct 2006 03:54 Hello: I have to read an XML-RPC file from other application. Do you know how to read this kind of files? The enterprise of XML-RPC file told me that I have to use Sockets for read it. Can you tell me please, how to do it with Lingo? Thank you very much.
From: Lukewig on 30 Oct 2006 19:29 Hi, XML-RPC is simply a text file that contains information marked up in a confusing, tortuous way (XML). See http://www.xmlrpc.com/ for the gruesome details. To read the file in Lingo, you need (1) import the raw XML text, and then (2) parse the XML into some format that is useful to you. You can combine these two steps using the parseURL method of the XMLParser Xtra, or use the XML methods of the Flash Xtra. -- Luke
From: FasterPastor on 30 Oct 2006 20:20 Quick Qs What version of Director can one get and use the XML Parser for? Does come free with MX04, and does it work only with that version? What version of Flash Xtra has XML capabilities, and what is the earliest version of Director that can work that? I have 8.5 (8.5.1) and was curious to know if I can access XML content without having to upgrade....
From: FasterPastor on 30 Oct 2006 20:33 I have found a satisfactory answer to my own question. 1) An article at director-online.com (see link below) says XML parser Xtra was introduced with Dir 7. http://director-online.com/forums/read.php?2,17830,19346 2) Dir 8.5 does have XMLParser.x32 in its "...Xtras/Media Support" folder
From: Lukewig on 30 Oct 2006 21:08
Also note that if you poke around in the Shockwave folder, you can locate the new improved XML Xtra (fixed a nasty memory leak, includes a new and useful ..MakePropList() method). I'm pretty sure the new Xtra will work with older Director (8.5 or MX) -- Luke |