Skip to main content

Fix the download url of Plone files, adding also the file name to it

Project description

Introduction

Change the Plone way to generate “download” URL inside File and Image contents, putting as last item the real filename.

How it works

Some statistical reporting tool like Webtrends (but also other) can inspect access log of a web server for giving you informations like “how many PDF file has been downloaded”.

Plone standard way of downloading File (and recently also Image) from the content view generate URLs like:

http://yoursite.com/path/to/pdf_file/at_download/file

In this case log analysis tools are not able to know that the file is a PDF.

This package simply change downalod link to something like:

http://yoursite.com/path/to/pdf_file/at_download/file/realname.pdf

Credits

Developed with the support of Regione Emilia Romagna; Regione Emilia Romagna supports the PloneGov initiative.

Authors

This product was developed by RedTurtle Technology team.

RedTurtle Technology Site

Changelog

2.0.0 (2013-02-27)

Plone 4 required

  • Now managing also the image download URL [keul]
  • Updated templates to Plone 4 styles [keul]
  • Can be uninstalled [keul]

1.0.1 (2012-08-02)

  • supporting z3c.autoinclude [keul]

1.0.0 (2011-04-08)

  • Initial release

Project details


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for rer.downloadurl, version 2.0.0
Filename, size File type Python version Upload date Hashes
Filename, size rer.downloadurl-2.0.0.zip (13.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page