User loginNavigationSearch |
MozdevDownloadCountersAll files served through our mirror system are counted and these statistics can be displayed on your projects page. In order to display a summary about your project downloads, add the following code to a page in your site:
This will display as ("Project" = your project name; X = # of downloads): Project File Description X If you would like to display your statistics without any surrounding project name/header formatting, you can use the following syntax:
Using either format, a number of css classes are available for you to use for styling the output:
If you are using formatting, the following classes are also available:
If you would like to display your statistics without any HTML, you can use the following syntax:
If you would like to display your total project downloads for the last 30 days (rolling total), you can do this (note this returns the value rather than echos it directly):
Example #1 - file in your root download folder: File: http://downloads.mozdev.org/multizilla/multiviews-v1500.xpi Example #2 - file in a subfolder of your download folder: File: http://downloads.mozdev.org/multizilla/multizilla/multiviews-v1500.xpi Downloads for the last 30 days for the top 50 projects are shown on the Top 50 page Reply |