[Zope] two questions

Oliver Vecernik vecernik@aon.at
Fri, 23 Mar 2001 11:19:58 +0100


Hi,

I'm experimenting with Zope to deal with my new homepage. I've got two
questions, maybe someone can help me.


1. Relative URL's

I've got the following piece of code:

<ul>
  <dtml-in expr="objectValues('Folder')" sort=sort_order>
    <li><a class="sidemenu" href="&dtml-absolute_url;"><dtml-var
title_or_id></a><br></li>
  </dtml-in>
</ul>

I don't want an absolute_url but a relative url, but couldn't find any
list in doc which variables are available. Can anyone give me a clue or
point me the doc where to find it?


2. Static copy

When I'm done with the development of my homepage I'd like to copy my
pages to my ISP, but unfortenately he doesn't provide Zope.

I don't need forms and my data rarely changes so I had the idea to make
a static copy. 

I tried wget but had the following problem: if there are more links to
another page on the same page (eg. navbar on top, and a sidebar pointing
to the same item) I get two copies of the whole tree and even worse,
with my navbar on top of the pages wget recursively tries to copy my
pages forever. Has anybody a better idea?

Oliver