[moin-user] Opening attached PDF documents from the browser

Molecki, Christian (STL) Christian.Molecki at stala.bwl.de
Fri Aug 4 03:25:54 EDT 2017


Hello Volker,

if you call your file in a certain page with [[attachment:nameof.pdf]] the pdf should open in MoinMoin.
But this doesn't work with all file-types.

Mit freundlichen Grüßen
Christian Molecki
--------------------------------------------
Referat 14: Systemtechnik und Datenmanagement
OE 143: Systemtechnik, Großrechner, Internettechnik, Datenmanagement

-----Ursprüngliche Nachricht-----
Von: moin-user [mailto:moin-user-bounces+christian.molecki=stala.bwl.de at python.org] Im Auftrag von Volker Wysk
Gesendet: Donnerstag, 3. August 2017 20:19
An: moin-user at python.org
Betreff: [moin-user] Opening attached PDF documents from the browser

Hi!

I have some PDF documents stored as attachments of MoinMoin pages. I can 
download them and open them.

However, it would be more convenient if the MM server could just hand the file 
over to the browser. The browser would typically know what to do with it, and 
hand it over to a PDF viewer. 

For this to work, the server would have to serve the attachment with an URL 
that made the it visible to the browser. Something like "http://example.com/
wiki/Some/Page/attachments/doc.pdf". 

This applies to other types of documents as well. You could even store some 
manual, which consists of many pages, as a MM attachment. If you have relative 
links within, the URL of a linked page would be a correct URL again.

Bye
Volker

_______________________________________________
moin-user mailing list
moin-user at python.org
https://mail.python.org/mailman/listinfo/moin-user


More information about the moin-user mailing list