| User | Post |
|
1:58 am August 20, 2008
| legend
| | |
| Member | posts 3 | |
|
|
Hello,
sorry to register 2 name to ask the question:
I want to make multiple directory visit counts, just like the following chart:
| |
|
| description |
directories |
Hits |
| car |
/dir1/aa |
12 |
| truck |
/dir2/test |
7 |
| suv |
/dir3/nihao |
6 |
| … |
… |
… |
|
how to make it in the extra section?
thanks.
|
|
|
2:38 am August 20, 2008
| Jean-Luc
| | |
| Admin
| posts 1043 | |
|
|
Hi,
It is easy to get the number of pages and/or hits per directory, but you cannot get an additional column with the descriptions.
This extra section shows the pages, hits and bandwidth by directory:
ExtraSectionName1="Hits / Directory" ExtraSectionCodeFilter1="200 304" ExtraSectionCondition1="URL,.*" ExtraSectionFirstColumnTitle1="Directory" ExtraSectionFirstColumnValues1= "URL,^\\/([^\\/]*)\\/" ExtraSectionFirstColumnFormat1="%s" ExtraSectionStatTypes1=PHB ExtraSectionAddSumRow1=1 MaxNbOfExtra1=20 MinHitExtra1=1
|
|
|
2:59 am August 20, 2008
| legend
| | |
| Member | posts 3 | |
|
|
Hi, Luc,
Thank you for your reply.
It is a pity that we cannot get a description clolumn.
I think I have not expressed my question very clearly: I want some specifiled directory accessing be counted, not the files in the direcory.
And I want to embed the sepecified directories (not all direcotries in /) visiting data into one chart, just like
| directories |
Hits |
| /dir1/aa |
12 |
| /dir2/test/test3/test4 |
7 |
| /dir3/nihao/xiexie |
6 |
| … |
… |
|
can I make it in extra section?
Thanks
|
|
|
3:19 am August 20, 2008
| Jean-Luc
| | |
| Admin
| posts 1043 | |
|
|
The URL of a directory always ends with a "/". So this should do the job:
ExtraSectionFirstColumnValues1= "URL,^(.*\\/)$"
Is it what you need ?
|
|
|
3:24 am August 20, 2008
| Jean-Luc
| | |
| Admin
| posts 1043 | |
|
|
If you only want a few directories, use this:
ExtraSectionFirstColumnValues1= "URL,^(\\/dir1\\/|\\/dir2\\/|\\/dir3 \\/dir31\\/)$"
This will generate a list with /dir1/, /dir2/ and /dir3/dir31/.
|
|
|
3:40 am August 20, 2008
| legend
| | |
| Member | posts 3 | |
|
|
I will try it by following your suggestion, thank you very much.
|
|