User loginNavigationSearch |
Revision of MozdevDownloadCounters from Tue, 03/25/2008 - 17:59All 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): 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 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: Example #2 - file in a subfolder of your download folder: Downloads for the last 30 days for the top 50 projects are shown on the [http://www.mozdev.org/projects/top50.html Top 50 page]
|
Post new comment