On 17.05.2004 15:53, leon tian wrote:

hi,

is there any way to apply the css of the original web pages from the
internet? after i transform web pages from the internet, most of the
styles are lost because they are linked to a css file on the web
site's server. should i try to download and apply them on my
resulting pages and how?

It should be easy to forward the request to the CSS to the original server in the same way as you get the HTML source.


Example:

<map:match pattern="remote.html">
  <map:read src="http://www.remote.com/index.html"/>
</map:match>

<map:match pattern="css/main.css">
  <map:read src="http://www.remote.com/css/main.css"/>
</map:match>

where original index.html from www.remote.com has a reference to css/main.css.

Joerg

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to