Count mp3


 

Current User: Guest Login Register
Please consider registering

Search 
Search Forums:


 




UserPost

8:50 am
October 31, 2007


Nico

Guest

HI, I am trying to count my mp3 downloads from my page.

Jean-Luc told me to add this line to the conf file:

URLWithQuery=1
because my log in my apache looks like this:

"GET /download.php?archivo=file.mp3

Now, I am trying to add an extra section with this filter:

^\/download\.php\?archivo\=\w+\.mp3$

but I cant.

 

How can I add this extra section that count my mp3 downloads and with a column with the origin IP?

 

Well really thanks.

nicoTongue out

9:10 am
October 31, 2007


Jean-Luc

Admin

posts 220

Hi Nico,

I guess you have seen my answer to your comment under Hits on Images (extra section).

You cannot have both a URL column and a host/IP column in an extra section. Let say that you do not need the URL column and that you want the host/IP column in your mp3 download site. I would use this:

ExtraSectionName1="Top Downloads"
ExtraSectionCodeFilter1="200"
ExtraSectionCondition1="URLWITHQUERY,^\
/download\.php\?archivo\=\w+\.mp3$"
ExtraSectionFirstColumnTitle1="Host/IP"
ExtraSectionFirstColumnValues1="HOST,^(
.+)$"
ExtraSectionFirstColumnFormat1="%s"
ExtraSectionStatTypes1=PBL
MaxNbOfExtra1=100
MinHitExtra1=1

This extra section should do the job.

Jean-Luc

11:52 am
October 31, 2007


Nico

Guest

Jean-Luc, u r a Genius!!! that works great. Now, where can I read more about this REGEX, because i dont understand some parameters like

\w+ in the line

 "URLWITHQUERY,^\
/download\.php\?archivo\=\w+\.mp3$"

Really THANKSSSSSSCool

 

12:04 pm
October 31, 2007


Jean-Luc

Admin

posts 220

Thanks, but you make me Embarassed .

More information about regular expressions: Regular Expression Basic Syntax Reference

And don't forget our tool to check a regex.

Jean-Luc

5:59 am
November 5, 2007


Nico

Guest

Jean,  The extrasection works great!! but now I have a question.

I have created one conf file just only to count my mp3 downloads, but now i have the total mp3 downloads but the number of this doesnt  match the numbers of visits, look:

/download.php?archivo=7ps.mp3 199 53.43 MB 16 17


/download.php?archivo=str.mp3 16 55.29 MB 9 11


/download.php?archivo=extra.mp3 16 55.97 MB 11 11


/download.php?archivo=7pes.mp3 10 55.31 MB 6 5


/download.php?archivo=7pmes.mp3 8 52.43 MB 6 5


/download.php?archivo=7pmnes.mp3 8 53.43 MB 6 5


/download.php?archivo=7pmtes.mp3 5 53.51 MB 3 3


 The sum of this is: 262 and if you look at the number of visits doesnt match:

01 Nov 2007 13 769.40 MB
02 Nov 2007 21 11.04 GB
03 Nov 2007 13 863.37 MB
04 Nov 2007 10 1.11 GB

SUM: 57

In my conf file i have configure this:

OnlyFiles="REGEX[^\/download\.php\?archivo\=\w+\.mp3$]"

Is that Ok?

 

Thanks 

7:50 am
November 5, 2007


Jean-Luc

Admin

posts 220

Two things:

1. Some people may download more than one mp3  file. In this case, the visitor will be counted as one visit and several donwloads.

2. Files downloaded by web robots are counted as well in the extra section, but robots are not counted as visitors.

To get an idea of the number of downloads by robots, you can check the user agent of the visitors downloading the mp3  files. You can do that with another extra section.

Jean-Luc

8:53 am
November 5, 2007


Nico

Guest

Great, so, how can I graph my daily downloads? is there any way?

Thanks 

1:18 pm
November 5, 2007


Jean-Luc

Admin

posts 220

Nico,

I read your previous message too quickly. I thought you were giving the results of an extra section. Now I understand the graph is the regular graph for "Pages-URL (Top 10)". This graph DOES NOT include web robots.

At this point, my conclusion is that some people repeatedly download some files. Weird.

Jean-Luc

1:40 pm
January 22, 2008


Joinup

Guest

How can i got the robots visits?in extrasection i got #   code letters (P for pages,H for hits,B for bandwidth,L for last access). so can i get V=visits? not last visits.

i need to count robots visits, iam freaking out, i have tried a lot of things :/

Can i Get your help ?

Best regards

admin : this message is off-topic. Please continue discussion about it at AWStats Forum - How can I count robots visits ?

Add a New Topic Reply to Post


Reply to Topic: Count mp3

NOTE: New Posts are subject to administrator approval before being displayed

Guest Name (Required):

Guest EMail (Required):

Guest URL (required)

Math Required!
What is the sum of: 10 + 7        (Required)

Topic Reply:


 

WebStats1


About the InternetOfficer.com forum

Currently Online:

2 Guests

Maximum Online: 20

Forums:

Groups: 2

Forums: 7

Topics: 103

Posts: 492

Members:

There are 25 members

There are 94 guests


Jean-Luc has made 220 posts

Top Posters:

Steve - 14

angelko - 4

cwei - 4

Kinglui - 3

vtroymck - 3

Administrator: Jean-Luc | Moderators: Jean-Luc


© Simple:Press Forum - Version 3.1.2 (Build 340)