A very smart thing to do. Unfortunately this was not successful... when
I sent an argument like this:
<a href="<dtml-var "absolute_url()">/pdf/&dtml-entry;?x=<dtml-var
"_.str(_.int(ZopeTime()))">">
My pdf-file couldnt be displayed. It didnt recognize the argument and
told me to download some stuff from Microsoft or something... is there
any other way to do it? Or is there any arguments pdf-files can handle
and is not important (e.g. can be set to a dummy value)?


Jens Vagelpohl skrev:
> 
> a simple workaround, but one that pretty much prevents any caching
> anywhere, is to append the URL for this file with a changing query
> string, e.g. a timestamp. this is what it would look like:
> 
> <untested>
> <a href="<dtml-var name="my_file">?x=<dtml-var expr="ZopeTime()"
> fmt="%H%M%S">">My File</a>
> </untested>
> 
> jens
>

_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to