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


Download files

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

Source Distribution

rer.downloadurl-2.0.0.zip (13.4 kB view details)

Uploaded Source

File details

Details for the file rer.downloadurl-2.0.0.zip.

File metadata

File hashes

Hashes for rer.downloadurl-2.0.0.zip
Algorithm Hash digest
SHA256 485f9e4c8ae335c26324d98c1e584c497728af93f5cbcfe3f693d1d4ae064353
MD5 f804692ac7c81cdee307e90d5d1d5400
BLAKE2b-256 cab3aaea0769f2569e39b79ca3a64c883088eacdfed2f3d8e97889cc9e7195c1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page