RE: [Zope] Including remote html-pages on a Zope server (with extracting of the title and body of the remote page)
Max Møller Rasmussen wrote:
a) has anybody done something like this before? Yes ... it's evil evil evil.
Getting an external page ans howing the content is simple. I have an product that does this. But all the url's need to be converted to absolute url's. And then you only got one page working. Why should I convert URL's to absolute ones? Because of the fact that it's an intranet most links are relative. Relative links should just work fine in my setup. I will urge our contributors not to use absolute URL's like "http://oldserver/somepage.html" but will ask them to use "/somepage.html" instead. That should work on both "http://oldserver/somepage.html" as well as "http://zope/somepage.html.
Can you send your product (or the name of the product you used).
If you want to be able to browse an external site through you zope pages, It's a whole different ballgame again. I'm not interested in converting (absolute) URL's/HREF's in the document.
Regards, Pieter
participants (1)
-
Pieter Biemond