wiki:PdfRedirectorPlugin

Version 6 (modified by anonymous, 2 years ago) (diff)

Formatting fix.

Redirect to raw format for PDF attachments

Description

Makes links to PDF attachments go directly to the raw file rather than the preview page (which doesn't actually preview the file).

Bugs/Feature Requests

Existing bugs and feature requests for PdfRedirectorPlugin are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here.

Source

You can check out PdfRedirectorPlugin from here using Subversion, or browse the source with Trac.

Example

Upload a PDF and click on it. You'll be able to download it immediately instead of having to click through the preview page.

Recent Changes

[13321] by rjollos on 2013-07-03 00:41:39
PEP-0008 whitespace changes (Refs #11204).
[13320] by rjollos on 2013-07-03 00:41:31
Redirect on file extensions specified by user (Fixes #11204).

Added an option [pdfredirector] extensions for specifying a comma-separated list of file extensions that should be redirected on. The default is pdf, preserving the previous behavior.

[12182] by rjollos on 2012-10-16 23:16:59
Fixes #8066: Tagged version 0.3.

Author/Contributors

Developed at The Open Planning Project.

Author: nicholasbs
Maintainer: none
Contributors: k0s