Skip to content

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

Notifications You must be signed in to change notification settings

PloneGov-IT/rer.downloadurl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages