Re: [xmljs-users] Setting up Perl Proxy
Brought to you by:
djoham,
witchhunter
From: David J. <dj...@ya...> - 2004-01-09 11:25:45
|
Hi Dave, The contact manager app should just run with the local XML embedded inside the web page. You shouldn't need the perl proxy at all for that. The only time the proxies come into play is if you are needing to source your data from a domain outside of the one your web pages originate from. If that's the case, you might want to take a look at the proxy test suite. It gives a good example of how you use the proxies from javascript to get your XML. After that, everything is the same. If you do end up needing the perl proxy to source your data, the resource URLs are just an ordered list of the URLs that are the source for your data. For example $resourceURLs[0] = "http://other.domain.xml/getxml.pl" or something like that. In your javascript, you would reference this URL by it's position in the array (in this case 0). All that being said however, most people don't need to use the proxies. In the vast majority of cases, the XML they need can be embedded in the page in something like an embedded text area. This technique is described in http://xmljs.sourceforge.net/website/documentation-faq.html#faqhowdoigetxmltobrowser Hopefully, that will get you going. If not, please post again and I'll try to help. I'm actually going to be only sporatically available during the next week or so (I'm in Brazil on business) but I'll do the best I can to help out. Best regards, David --- Dave Cook <smo...@ro...> wrote: > Hi: > > Newbie question. How do I set up my Perl Proxy? I read the docs, but still a little confused > about the list of Resource URL's. I've installed all the software and I'm just trying to run > the contact manager app locally on my server. I need a bit more detail on how the app interacts > with the proxy. Where should the perlproxy program reside? How is it called from the contact > manager program? Are there any Apache settings I need to setup? Things like that. BTW: this > is an awesome app. It's just what I was looking for. > > regards, > Dave F. Cook > CTO > Planitech Systems Inc. __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus |