> <a href="http://xml.amazon.com/onca/xml2.......">Click on Link</a>
>
> I'd like to have xml data display on my pages without requiring users to
> click on a URL.
>
When using Embperl 2, mod_perl 2 and Apache 2 you can use the output of a
subrequest as input for Embperl. This is done by utilizing the APache 2
filters. To use the output of a cgi script for example you can say
[- Execute ({subreq => '/cgi-bin/my.cgi'}) -]
Theoreticaly you can now contruct a subrequest that uses the Apache proxy to
get a remote page. The last time I had tried this it didn't worked, because
Apache proxy didn't use Apache filters for output. As far as I have seen
this has been changed, so it may work now by saying
[- Execute ({subreq => 'http://xml.amazon.com/onca/xml2.......'}) -]
but I didn't have tried it. I will look at this stuff when I have the most
important things (like Perl 5.8.0) done. So it will work sooner or later.
BTW. If the requested page contains xml data, you will be able to do a xstl
transformation on the fly, by saying
[- Execute ({subreq => 'http://xml.amazon.com/onca/xml2.......',
recipe => 'XSLT',
xsltstylesheet => 'amazon.xsl'}) -]
Gerald
-------------------------------------------------------------
Gerald Richter ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting
Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz
E-Mail: [EMAIL PROTECTED] Voice: +49 6133 925131
WWW: http://www.ecos.de Fax: +49 6133 925152
-------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]