[Moin-user] Linking to an attachment with the 'get' method in stead of 'view'

Christopher MacMinn cmac at mit.edu
Fri Feb 13 11:21:53 EST 2009


>
> > I have a page with an avi attachment. if I use [[attachment:movie.avi]],
> it gets translated into action=AttachFile&do=view&target=movie.avi and the
> attachment page gets called. Users then need to click "download" to get the
> file since few browsers are configured to run embedded avis. Is there a way
> to put a direct download link on the page ( do=get ) ?
>

> I'm using the "AttachTable"-Macro to help in such a case.


I was actually messing around with this yesterday for a PDF attachment --
this seems to work:

[[attachment:filename.pdf|Link Text|&do=get]]

Best, Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/moin-user/attachments/20090213/3d730167/attachment.html>


More information about the Moin-user mailing list