Archive of UserLand's first discussion group, started October 5, 1998.
Cocoon and XML-RPC
Author: Josh Lucas Posted: 4/29/1999; 9:09:30 AM Topic: scriptingNews outline for 4/28/99 Msg #: 5420 (In response to 5406) Prev/Next: 5419 / 5421
I've made some adjustments to the Cocoon servlet as a way of testing to see if dynamic content could be used. The fruits of my labor can be found here... http://188.8.131.52:10000/test.xml?userName=josh
What happens is that the servlet checks to see if the physical file exists, if it doesn't, the servlet makes an xml-rpc request to an xml-rpc server(thanks Hannes!!). This request currently retrieves this file, http://www.stonecottage.com/josh/blurbs.xml and then the servlet uses this xsl file, http://184.108.40.206:10000/xsl/headlines.xsl for the formatting.
Though the info isn't coming from a database, it could very easily be modified to do so.
This is pretty cool and serving xml from Frontier and formatting it with xsl would be really nice and powerful.
This page was archived on 6/13/2001; 4:49:37 PM.
© Copyright 1998-2001 UserLand Software, Inc.