[Zope] Importing external document

ASHISHRANJAN_V ASHISHRANJAN_V@infy.com
Mon, 5 Mar 2001 12:00:06 +0530


For that I used external method :
import urllib

def fetch_url(self, url):
	return urllib.urlopen(url).read() 


And called it in index_html file as :
<dtml-var standard_html_header>
<!--#let
url="'http://192.168.10.04/comunication/Dec2000/Business_index.html'" -->
<!--#var "GetBok(url)"-->
<!--#/let -->
<dtml-var standard_html_footer>

Problem is when it fetches the html page , it also changes the relative
links in html page . Is there a way I can make the links point to respective
resource at orignal site.
Ie use the parameter url to be embedded in html link
Like  href="/help"
Converted to href="url/help"

Ashish R Vidyarthi
mailto:ashishranjan_v@infy.com