Also, there is some great code in Konfabulator widgets (javascript based) that do this.
On 8/8/05, Larry Lyons <[EMAIL PROTECTED]> wrote: > > Hello, > > > > Been a while since I've asked for help so hopefully this plea works! > > > > Basically, I want to provide data from my database to other websites > > in the form of simple cut and paste JavaScript code which other > > webmasters can include in their plain HTML websites. It's a simple > > data structure - your basic address book stuff: company name, address, > > phone, etc. > > > > Can anyone provide a simple example of how another website, using > > JavaScript alone, can query my system to return an XML package back to > > them which is then interpreted on their end with the simple JavaScript > > I give them? I'm sure this is pretty common since I see it done with > > newsfeeds and such all the time. > > > > ---mark > > > Mark, > > Apple's Developers site has a pretty good demo of this - > http://developer.apple.com/internet/webcontent/xmlhttpreq.html > > It uses the XMLHttpRequest object to return an xml package. > > hth, > > larry > > -- > Larry C. Lyons > Web Analyst > BEI Resources > American Type Culture Collection > email: llyons(at)atcc(dot)org > tel: 703.365.2700.2678 > -- > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:214068 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

