ScrewTurn Wiki is looking for volunteers.
Head to
our blog
for details.
Search:
»
Welcome,
Guest
•
Login
Jump to
<root>
Customize
Dev
Help
Download
Help + Forum
Customize
Develop
Blog
ScrewTurn Wiki Hosting
Plugins and Providers
Themes
Back
Download Counter Plugin
Modified on Mon, 04 Oct 2010 17:12
by
Dario Solera
Categorized as
Uncategorized
{s:PluginPage | icon = [image||{UP(Customize.Download-Counter-Plugin)}Plugin.png] | download_link = http://www.screwturn.eu/Version/PluginPack/DownloadCounterPlugin.dll | version = 3.0.1.472 | developer_link = [^http://www.threeplicate.com|Threeplicate Srl] | update_date = March 9, 2010 | homepage = N/A | licence = GPLv2 | description = The ''Download Counter Plugin'' allows you to count the number of times a file or attachment was downloaded. === Configuration === Once installed (no configuration needed), you can use the following markup anywhere in your wiki: @@<countDownloads pattern="..."[ startDate="yyyy/mm/dd"]> <file name="..."[ provider="..."] /> <attachment name="..." page="..."[ provider="..."] /> </countDownloads>@@ The {{pattern}} attribute determines the output text of the formatter. It can contain any string and any of the following placeholders (case insensitive): * ''#COUNT#'': total download count * ''#DAILY#'': downloads per day * ''#WEEKLY#'': downloads per week * ''#MONTHLY#'': downloads per month. {{startDate}} is the date used for calculating the daily, weekly and monthly downloads values. If omitted, ''January 1st, 2009'' is assumed. The {{countDownloads}} root tag can contain one or more {{file}} and {{attachment}} elements. The {{name}} attribute is respectively the full name of the file or the name of the attachment. The optional {{provider}} attribute is the full type name of the files storage provider that manages the file or attachment. If omitted, the default provider is assumed. For attachment elements, the {{page}} attribute specifies the name of the page the attachment belongs to. The output of the plugin is determined by the {{pattern}} attribute. The pattern string is rendered, replacing the placeholders with their respective calculated values. For example, a pattern string formed as follows: @@Downloads: #count# (#weekly# downloads per week)@@ Would generate an output like this: @@Downloads: 1234 (45 downloads per week)@@ ====Caching==== The plugin caches its output for 5 minutes, so that the load against the data storage is reduced. }
Meta Keywords:
Meta Description:
Change Comment:
Side Projects
¶
RESX Synchronizer
allows to synchronize multi-language
.resx
files (used for the development of ScrewTurn Wiki).
Pixel Picker
enables to pick the color of pixels on your screen — very handy for day-to-day graphics-related activities.
About
¶
Copyright ©2006-2012 Dario Solera, Matteo Tomasini and
contributors
. All rights reserved. Some of the icons created by
FamFamFam
.
Contact us
See our
Privacy Policy
.
Powered by ScrewTurn Wiki 3.0.5.613.
This namespace contains 45 pages.