mainSavannah Administration - Support: sr #107620, Are download statistics for...

 
 

sr #107620: Are download statistics for JavaScript files possible?

Submitter:  Ivaylo Valkov <valkov>
Submitted:  Wed 09 Mar 2011 01:40:55 PM UTC
   
 
Category:  Download area - developer access Priority:  5 - Normal
Severity:  3 - Normal Status:  Need Info
Privacy:  Public Assigned to:  mjflick
Operating System:  None Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 16 Jun 2011 09:17:51 PM UTC, comment #4: 

Thanks for getting back to us, and glad you found an acceptable answer.

Karl Berry <karl>
Site Administrator
Thu 16 Jun 2011 06:17:00 AM UTC, comment #3: 

This ticket could be closed. I found a work-around and moved my project's web page at Savannah servers.

The work-around is to point the user to a HTML page instead of the actual JavaScript file (userscript) at the download area. The HTML file links to the JavaScript file. This way I have statistics for the HTML page file, and so for the JavaScript. Downloads that get the JavaScript file directly are not counted, but it is better then nothing.

Thank you for your time.

Ivaylo Valkov <valkov>
Tue 22 Mar 2011 08:02:15 AM UTC, comment #2: 

Hi Michael,

Sorry about being unclear. I am asking is there a way for Savannah to provide statistics for files with ".user.js" (or ".js") suffix?

Ivaylo Valkov <valkov>
Tue 22 Mar 2011 01:51:23 AM UTC, comment #1: 

Hi,

I'm not sure what you exactly want?

How does this relate to your scripts on Savannah?

Michael J. Flickinger <mjflick>
Wed 09 Mar 2011 01:40:55 PM UTC, original submission:  

Hello,

My project Linterna Mágica [1] provides a compiled JavaScript files in the form of userscripts. These are executed by the Greasemonkey extension in GNU IceCat. Browsers like Midori and Epiphany have their own implementation. Userscript files use ".user.js" as a suffix.

Is there a way to have statistics for these files in the download statistics page? [2] My previous experience with awstats and the tests I've made here at Savannah, suggest that URLs to JavaScript files are not counted. Statistics from my personal web site, where the project's web and download pages are still hosted, show that the uncompressed userscript file is downloaded the most.

One option to have statistics, is to stop releasing uncompressed userscript files, and provide only gzip and bzip2 compressed versions (file.user.js.gz and file.user.js.bz2). This way users will not be able to install the userscript directly from the website. The Greasemonkey extension in GNU IceCat and implementations in other browsers can only detect and install uncompressed userscripts.

Another option is to keep hosting  the web and download pages of the project at my own site, where I could have statistics for uncompressed userscripts. This way Savannah will be used for bugs, mailing list and svn.

[1] https://savannah.nongnu.org/projects/linterna-magica/

[2] http://download.savannah.gnu.org/awstats.pl?urlfilter=linterna&framename=mainright&output=urldetail

Ivaylo Valkov <valkov>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by karl (Posted a comment)
  • -email is unavailable- added by mjflick (Posted a comment)
  • -email is unavailable- added by valkov (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-06-16 karl Open/ClosedOpen Closed
    2011-03-22 mjflick Assigned toNone mjflick
    2011-03-22 mjflick StatusNone Need Info

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code