cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kock, David de" <ddk...@CHELLO.com>
Subject RE: save external images to local filesystem
Date Thu, 06 Jan 2005 17:25:43 GMT
well I've figured it out already, really easy...
 
I've created a simple pipline that dynamically builds a page with the image
(image is on an external server)
http://localhost:8888/image/index.html
<http://localhost:8888/image/index.html> 
 
>From command line I call: wget -H -r -l1 -nd -nH -R html
http://localhost:8888/image/index.html
<http://localhost:8888/image/index.html> 
 
Hopefully somebody else can use it.....
 
cheers, David

-----Original Message-----
From: Kock, David de [mailto:ddkock@CHELLO.com]
Sent: Thursday, January 06, 2005 2:50 PM
To: 'users@cocoon.apache.org'
Subject: save external images to local filesystem


Hi,
I'm trying to store the image in this simple XML to my local filesystem :
 
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE image SYSTEM "..\dtd\image.dtd">
<image>
 <name>test</name>
 <url>http://cocoon.apache.org/images/cocoon-logo.gif</url>
</image>
 
Is this possible in sitemap? or do I need to write a XSLT that writes to
disk.
 
thanks,
David


Mime
View raw message